aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-13 20:06:19 +0200
committerLars Ingebrigtsen2019-10-13 20:06:19 +0200
commit556ae6674c600e19453a43de51817aa8b4df52fa (patch)
treee524e8af50ca05d8f14eeeed84ff9c5582ca9fab /doc
parent07cbc3bb1cef9e935d64e358fbaa162e0870ea80 (diff)
downloademacs-556ae6674c600e19453a43de51817aa8b4df52fa.tar.gz
emacs-556ae6674c600e19453a43de51817aa8b4df52fa.zip
Mention shifted alphabetical control GUI sequences
* doc/emacs/custom.texi (Modifier Keys): Mention that you can bind shifted alphabetical control sequences in GUI frames (bug#23247).
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/custom.texi19
1 files changed, 13 insertions, 6 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index 7bb6142395f..492e15c2495 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -1903,14 +1903,21 @@ same thing as @kbd{M-a}. This concerns only alphabetical characters,
1903and does not apply to shifted versions of other keys; for 1903and does not apply to shifted versions of other keys; for
1904instance, @kbd{C-@@} is not the same as @kbd{C-2}. 1904instance, @kbd{C-@@} is not the same as @kbd{C-2}.
1905 1905
1906 A @key{Control}-modified alphabetical character is always considered 1906 A @key{Control}-modified alphabetical character is generally
1907case-insensitive: Emacs always treats @kbd{C-A} as @kbd{C-a}, 1907considered case-insensitive: Emacs always treats @kbd{C-A} as
1908@kbd{C-B} as @kbd{C-b}, and so forth. The reason for this is 1908@kbd{C-a}, @kbd{C-B} as @kbd{C-b}, and so forth. The reason for this
1909historical. 1909is historical: In non-graphical environments there is no distinction
1910between those keystrokes. However, you can bind shifted @key{Control}
1911alphabetical keystrokes in GUI frames:
1912
1913@lisp
1914(global-set-key (kbd "C-S-n") #'previous-line)
1915@end lisp
1910 1916
1911 For all other modifiers, you can make the modified alphabetical 1917 For all other modifiers, you can make the modified alphabetical
1912characters case-sensitive when you customize Emacs. For instance, you 1918characters case-sensitive (even on non-graphical frames) when you
1913could make @kbd{M-a} and @kbd{M-A} run different commands. 1919customize Emacs. For instance, you could make @kbd{M-a} and @kbd{M-A}
1920run different commands.
1914 1921
1915 Although only the @key{Control} and @key{Meta} modifier keys are 1922 Although only the @key{Control} and @key{Meta} modifier keys are
1916commonly used, Emacs supports three other modifier keys. These are 1923commonly used, Emacs supports three other modifier keys. These are