diff options
| author | Juanma Barranquero | 2008-05-29 08:17:20 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-05-29 08:17:20 +0000 |
| commit | 71ce5fd0c9f52882241bef4424042310440b2e93 (patch) | |
| tree | 4896f1bdba5a06d02ce30cbf85bfb1a75bc6f2b5 | |
| parent | 58d6a142ecdca31989692d5495ff50144abc5ace (diff) | |
| download | emacs-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/ChangeLog | 12 | ||||
| -rw-r--r-- | doc/emacs/msdog.texi | 27 |
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 @@ | |||
| 1 | 2008-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 | |||
| 1 | 2008-05-21 Tom Tromey <tromey@redhat.com> | 6 | 2008-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 | ||
| 11 | 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com> | 16 | 2008-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 | ||
| 16 | 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com> | 20 | 2008-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. | |||
| 403 | key. If you wish it to produce the @code{Alt} modifier instead, set | 403 | key. If you wish it to produce the @code{Alt} modifier instead, set |
| 404 | the variable @code{w32-alt-is-meta} to a @code{nil} value. | 404 | the 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 | ||
| 410 | combinations, 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 | ||
| 412 | instead of being grabbed by Windows. This registers the key sequence as | ||
| 413 | a Windows hot key. | ||
| 414 | |||
| 415 | The argument to @code{w32-register-hot-key} must be a one element key | ||
| 416 | definition 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 | ||
| 419 | keys. 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 | ||
| 427 | instance, you can use @kbd{M-TAB} at top level to complete the word or | ||
| 428 | symbol at point, and you can use it during incremental search to | ||
| 429 | complete the current search string against previously sought strings. | ||
| 430 | The 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 |
| 408 | keys (it converts lower-case characters to their upper-case | 435 | keys (it converts lower-case characters to their upper-case |