aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2008-05-31 10:53:54 +0000
committerEli Zaretskii2008-05-31 10:53:54 +0000
commit2be6bfe25e7320013105d442ed80ee2a18fc571f (patch)
treede6863f07cea7f40d44c43158aba6e978335bbfb /doc
parente4c93315ecdc925217d4f526d39563c27a61f374 (diff)
downloademacs-2be6bfe25e7320013105d442ed80ee2a18fc571f.tar.gz
emacs-2be6bfe25e7320013105d442ed80ee2a18fc571f.zip
(Windows Keyboard): Fix text added on 2008-05-29.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/msdog.texi48
2 files changed, 31 insertions, 21 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 3fa435b8db8..1520c26f1e8 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12008-05-31 Eli Zaretskii <eliz@gnu.org>
2
3 * msdog.texi (Windows Keyboard): Fix text added on 2008-05-29.
4
12008-05-31 Glenn Morris <rgm@gnu.org> 52008-05-31 Glenn Morris <rgm@gnu.org>
2 6
3 * cal-xtra.texi (Fancy Diary Display): Simplify. 7 * cal-xtra.texi (Fancy Diary Display): Simplify.
diff --git a/doc/emacs/msdog.texi b/doc/emacs/msdog.texi
index 0f0a13e188e..add9f34352a 100644
--- a/doc/emacs/msdog.texi
+++ b/doc/emacs/msdog.texi
@@ -405,30 +405,36 @@ the variable @code{w32-alt-is-meta} to a @code{nil} value.
405 405
406@findex w32-register-hot-key 406@findex w32-register-hot-key
407@findex w32-unregister-hot-key 407@findex w32-unregister-hot-key
408 Although the @key{ALT} key is mapped by default to the Emacs 408 MS-Windows reserves certain key combinations, such as
409@key{META} key, MS Windows preempts its use by Emacs for certain key 409@kbd{Alt-@key{TAB}}, for its own use. These key combinations are
410combinations, such as @kbd{Alt-@key{TAB}}. You can use function 410intercepted by the system before Emacs can see them. You can use the
411@code{w32-register-hot-key} to allow a key sequence to be seen by Emacs 411@code{w32-register-hot-key} function to allow a key sequence to be
412instead of being grabbed by Windows. This registers the key sequence as 412seen by Emacs instead of being grabbed by Windows. This functions
413a Windows hot key. 413registers a key sequence as a @dfn{hot key}, overriding the special
414 414meaning of that key sequence for Windows. (MS-Windows is told that
415 The argument to @code{w32-register-hot-key} must be a one element key 415the key sequence is a hot key only when one of the Emacs windows has
416definition in vector form that would be acceptable to `define-key'. The 416focus, so that the special keys still have their usual meaning for
417@code{meta} modifier is interpreted as @key{ALT} if `w32-alt-is-meta' is 417other Windows applications.)
418@code{t}, and @code{hyper} is always interpreted as the Windows modifier 418
419keys. The return value is the hotkey-id if registered, otherwise 419 The argument to @code{w32-register-hot-key} must be a single key,
420@code{nil}. 420with or without modifiers, in vector form that would be acceptable to
421 421@code{define-key}. The meta modifier is interpreted as the @key{ALT}
422@kindex M-TAB @r{(MS-Windows)} 422key if @code{w32-alt-is-meta} is @code{t} (the default), and the hyper
423modifier is always interpreted as the Windows key (usually labeled
424with @key{start} and the Windows logo). If the function succeeds in
425registering the key sequence, it returns the hotkey ID, a number;
426otherwise it returns @code{nil}.
427
428@kindex M-TAB@r{, (MS-Windows)}
423@cindex @kbd{M-@key{TAB}} vs @kbd{Alt-@key{TAB}} (MS-Windows) 429@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) 430@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 431 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 432@kbd{M-TAB} normally in Emacs, for instance, to complete the word or
427instance, you can use @kbd{M-TAB} at top level to complete the word or 433symbol at point at top level, or to complete the current search string
428symbol at point, and you can use it during incremental search to 434against previously sought strings during incremental search.
429complete the current search string against previously sought strings. 435
430The function @code{w32-unregister-hot-key} reverses the effect of 436 The function @code{w32-unregister-hot-key} reverses the effect of
431@code{w32-register-hot-key}. 437@code{w32-register-hot-key} for its argument key sequence.
432 438
433@vindex w32-capslock-is-shiftlock 439@vindex w32-capslock-is-shiftlock
434 By default, the @key{CapsLock} key only affects normal character 440 By default, the @key{CapsLock} key only affects normal character