aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-05-29 08:17:20 +0000
committerJuanma Barranquero2008-05-29 08:17:20 +0000
commit71ce5fd0c9f52882241bef4424042310440b2e93 (patch)
tree4896f1bdba5a06d02ce30cbf85bfb1a75bc6f2b5
parent58d6a142ecdca31989692d5495ff50144abc5ace (diff)
downloademacs-71ce5fd0c9f52882241bef4424042310440b2e93.tar.gz
emacs-71ce5fd0c9f52882241bef4424042310440b2e93.zip
(Windows Keyboard): Add descriptions of w32-register-hot-key
and w32-unregister-hot-key.
-rw-r--r--doc/emacs/ChangeLog12
-rw-r--r--doc/emacs/msdog.texi27
2 files changed, 35 insertions, 4 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 0089ebc1169..15831dc28bf 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12008-05-29 Drew Adams <drew.adams@oracle.com>
2
3 * msdog.texi (Windows Keyboard): Add descriptions of
4 w32-register-hot-key and w32-unregister-hot-key.
5
12008-05-21 Tom Tromey <tromey@redhat.com> 62008-05-21 Tom Tromey <tromey@redhat.com>
2 7
3 * custom.texi (Directory Variables): Grammar fix. Link to Safe File 8 * custom.texi (Directory Variables): Grammar fix. Link to Safe File
@@ -10,8 +15,7 @@
10 15
112008-05-16 Eric S. Raymond <esr@snark.thyrsus.com> 162008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
12 17
13 * vc2-xtra.texi: Mofify an example so it reflects what vc.el 18 * vc2-xtra.texi: Modify an example so it reflects what vc.el now does.
14 now does.
15 19
162008-05-15 Eric S. Raymond <esr@snark.thyrsus.com> 202008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
17 21
@@ -111,8 +115,8 @@
111 the default behavior with Transient Mark mode off. 115 the default behavior with Transient Mark mode off.
112 (Position Info): Fix typo. 116 (Position Info): Fix typo.
113 117
114 * display.texi (Standard Faces): Reference the Mark node. Remove 118 * display.texi (Standard Faces): Reference the Mark node.
115 discussion of the region face, which is discussed there. 119 Remove discussion of the region face, which is discussed there.
116 120
117 * emacs.texi (Top): Update node listings. 121 * emacs.texi (Top): Update node listings.
118 122
diff --git a/doc/emacs/msdog.texi b/doc/emacs/msdog.texi
index 80f31689c63..0f0a13e188e 100644
--- a/doc/emacs/msdog.texi
+++ b/doc/emacs/msdog.texi
@@ -403,6 +403,33 @@ Windows-specific variables in this category.
403key. If you wish it to produce the @code{Alt} modifier instead, set 403key. If you wish it to produce the @code{Alt} modifier instead, set
404the variable @code{w32-alt-is-meta} to a @code{nil} value. 404the variable @code{w32-alt-is-meta} to a @code{nil} value.
405 405
406@findex w32-register-hot-key
407@findex w32-unregister-hot-key
408 Although the @key{ALT} key is mapped by default to the Emacs
409@key{META} key, MS Windows preempts its use by Emacs for certain key
410combinations, such as @kbd{Alt-@key{TAB}}. You can use function
411@code{w32-register-hot-key} to allow a key sequence to be seen by Emacs
412instead of being grabbed by Windows. This registers the key sequence as
413a Windows hot key.
414
415 The argument to @code{w32-register-hot-key} must be a one element key
416definition in vector form that would be acceptable to `define-key'. The
417@code{meta} modifier is interpreted as @key{ALT} if `w32-alt-is-meta' is
418@code{t}, and @code{hyper} is always interpreted as the Windows modifier
419keys. The return value is the hotkey-id if registered, otherwise
420@code{nil}.
421
422@kindex M-TAB @r{(MS-Windows)}
423@cindex @kbd{M-@key{TAB}} vs @kbd{Alt-@key{TAB}} (MS-Windows)
424@cindex @kbd{Alt-@key{TAB}} vs @kbd{M-@key{TAB}} (MS-Windows)
425 For example, @code{(w32-register-hot-key [M-tab])} lets you use
426@kbd{M-TAB} normally in Emacs. This is effective at all levels, so, for
427instance, you can use @kbd{M-TAB} at top level to complete the word or
428symbol at point, and you can use it during incremental search to
429complete the current search string against previously sought strings.
430The function @code{w32-unregister-hot-key} reverses the effect of
431@code{w32-register-hot-key}.
432
406@vindex w32-capslock-is-shiftlock 433@vindex w32-capslock-is-shiftlock
407 By default, the @key{CapsLock} key only affects normal character 434 By default, the @key{CapsLock} key only affects normal character
408keys (it converts lower-case characters to their upper-case 435keys (it converts lower-case characters to their upper-case