1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 00:31:01 -08:00
emacs/etc
Jussi Lahdenniemi 97d7a0b8db Improve the register-hotkey functionality on MS-Windows
* src/w32fns.c (_WIN32_WINNT): Define to 0x0600, needed for
keyboard hook functionality.
Include w32inevt.h, basetyps.h and unknwn.h.
(VK_ANY, WM_WTSSESSION_CHANGE, WTS_SESSION_LOCK): New macros.
(kbdhook): A new struct definition.
(funhook, setup_w32_kbdhook, remove_w32_kbdhook, hook_w32_key)
(check_w32_winkey_state, reset_w32_kbdhook_state): New functions.
(modifier_set): Call check_w32_winkey_state if a Win key was
pressed and the keyboard hook is active.
(w32_wnd_proc): Don't handle Win key combinations if the keyboard
hook is active.  Only register/unregister the hotkeys if the
keyboard hook is not active.  When WM_CREATE is received, call
setup_w32_kbdhook.  When WM_DESTROY is received, call
reset_w32_kbdhook_state.
(lookup_vk_code): When the keyboard hook is active, map
alphanumeric characters to themselves.
(w32_parse_and_hook_hot_key): Renamed from w32_parse_hot_key.  Map
modified keys to VK_ANY if the keyboard hook is active.  Register
Alt-x and Win-x combinations.
(Fw32_shell_execute): Update doc string to reflect new
functionality.  Bypass the code that posts the
WM_EMACS_REGISTER_HOT_KEY message if the keyboard hook is active.
(Fw32_unregister_hot_key): Bypass the code that posts the
WM_EMACS_UNREGISTER_HOT_KEY message if the keyboard hook is active.
(syms_of_w32fns) <w32-pass-lwindow-to-system>
<w32-pass-rwindow-to-system, w32-phantom-key-code>
<w32-lwindow-modifier, w32-rwindow-modifier>: Update doc strings
to reflect the new functionality.
* src/w32console.c (initialize_w32_display): Install the low-level
keyboard hook.
* src/w32inevt.c (key_event): Handle Win-x combinations only if
the keyboard hook is not active.  If the hook is active, use
check_w32_winkey_state instead.
* src/w32term.h (setup_w32_kbdhook, remove_w32_kbdhook)
(check_w32_winkey_state): Add prototypes.
(w32_kbdhook_active): New macro.

* doc/emacs/msdos.texi (Windows Keyboard): Update to reflect the
new functionality.
2016-02-26 12:51:24 +02:00
..
charsets Update copyright year to 2016 2016-01-01 01:34:24 -08:00
e Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00
forms Update copyright year to 2016 2016-01-01 01:34:24 -08:00
gnus
images Fix copyright years by hand 2016-01-01 01:38:07 -08:00
nxml Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
org Update copyright year to 2016 2016-01-01 01:34:24 -08:00
refcards ; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright. 2016-01-03 11:32:57 -08:00
schema Update copyright year to 2016 2016-01-01 01:34:24 -08:00
srecode Update copyright year to 2016 2016-01-01 01:34:24 -08:00
themes Update copyright year to 2016 2016-01-01 01:34:24 -08:00
tutorials Fix copyright years by hand 2016-01-01 01:38:07 -08:00
AUTHORS * etc/AUTHORS: Update the AUTHORS file 2016-02-13 20:30:18 +01:00
CALC-NEWS Update copyright year to 2016 2016-01-01 01:34:24 -08:00
CENSORSHIP Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
ChangeLog.1 Spelling and grammar fixes 2016-01-01 01:59:19 -08:00
compilation.txt Update copyright year to 2016 2016-01-01 01:34:24 -08:00
COPYING
DEBUG Update copyright year to 2016 2016-01-01 01:34:24 -08:00
DEVEL.HUMOR Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00
DISTRIB Update copyright year to 2016 2016-01-01 01:34:24 -08:00
edt-user.el Kevin Gallagher has new email address 2016-02-10 20:40:28 +02:00
emacs-buffer.gdb Update copyright year to 2016 2016-01-01 01:34:24 -08:00
emacs.appdata.xml Update copyright year to 2016 2016-01-01 01:34:24 -08:00
emacs.desktop * etc/emacs.desktop: Add "Keywords". 2014-10-30 21:10:19 -07:00
emacs.icon
enriched.txt Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ERC-NEWS Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ETAGS.EBNF Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ETAGS.README Update copyright year to 2016 2016-01-01 01:34:24 -08:00
FTP Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
future-bug Rename configure.in to configure.ac. 2012-07-08 21:52:49 -07:00
GNU Update copyright year to 2015 2015-01-01 09:18:06 -08:00
GNUS-NEWS Allow various Gnus and Message address variables to be functions 2016-02-08 13:28:37 +11:00
gnus-tut.txt Update copyright year to 2016 2016-01-01 01:34:24 -08:00
grep.txt Update copyright year to 2016 2016-01-01 01:34:24 -08:00
HELLO * etc/HELLO: Add Armenian and Mongolian greetings. 2016-01-11 20:12:12 +02:00
HISTORY * etc/HISTORY: Add some more history, plus git tags. 2016-01-31 16:54:20 -08:00
JOKES
LINUX-GNU Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
MACHINES Update copyright year to 2016 2016-01-01 01:34:24 -08:00
MH-E-NEWS Update copyright year to 2016 2016-01-01 01:34:24 -08:00
MORE.STUFF * etc/MORE.STUFF: Replace contents with pointer to efaq.info. 2014-01-09 14:14:28 -05:00
NEWS Improve the register-hotkey functionality on MS-Windows 2016-02-26 12:51:24 +02:00
NEWS.1-17 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
NEWS.18 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
NEWS.19 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
NEWS.20 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
NEWS.21 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
NEWS.22 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
NEWS.23 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
NEWS.24 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
NEXTSTEP Update copyright year to 2016 2016-01-01 01:34:24 -08:00
NXML-NEWS Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ORDERS Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
ORG-NEWS Update copyright year to 2016 2016-01-01 01:34:24 -08:00
package-keyring.gpg * etc/package-keyring.gpg: New file. 2014-09-24 10:28:27 -04:00
PROBLEMS Mention in PROBLEMS an issue with MS-Windows NT4 2016-01-16 11:23:42 +02:00
ps-prin0.ps Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ps-prin1.ps Update copyright year to 2016 2016-01-01 01:34:24 -08:00
publicsuffix.txt Update publicsuffix.txt. 2016-02-06 16:11:18 +11:00
README Update copyright year to 2016 2016-01-01 01:34:24 -08:00
rgb.txt
ses-example.ses Update copyright year to 2016 2016-01-01 01:34:24 -08:00
spook.lines * etc/spook.lines: Minor commentary update 2013-08-28 21:05:19 -04:00
TERMS Update copyright year to 2016 2016-01-01 01:34:24 -08:00
THE-GNU-PROJECT Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
TODO Update copyright year to 2016 2016-01-01 01:34:24 -08:00
WHY-FREE Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
yow.lines Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2016 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)