Mercurial > hg > xemacs-beta
comparison src/device-x.c @ 2828:a25c824ed558
[xemacs-hg @ 2005-06-26 18:04:49 by aidan]
Rename the ascii-character property, support more keysyms.
author | aidan |
---|---|
date | Sun, 26 Jun 2005 18:05:05 +0000 |
parents | 800fef0b5c75 |
children | facf3239ba30 |
comparison
equal
deleted
inserted
replaced
2827:936a6576c655 | 2828:a25c824ed558 |
---|---|
1810 /usr/lib/X11/XKeysymDB, or whatever the equivalents are on your system. | 1810 /usr/lib/X11/XKeysymDB, or whatever the equivalents are on your system. |
1811 The keysym name can be provided in two forms: | 1811 The keysym name can be provided in two forms: |
1812 - if keysym is a string, it must be the name as known to X windows. | 1812 - if keysym is a string, it must be the name as known to X windows. |
1813 - if keysym is a symbol, it must be the name as known to XEmacs. | 1813 - if keysym is a symbol, it must be the name as known to XEmacs. |
1814 The two names differ in capitalization and underscoring. | 1814 The two names differ in capitalization and underscoring. |
1815 | |
1816 This function is not entirely trustworthy, in that Xlib compose processing | |
1817 can produce keysyms that XEmacs will not have seen when it examined the | |
1818 keysyms available on startup. So pressing `dead-diaeresis' and then 'a' may | |
1819 pass `adiaeresis' to XEmacs, or (in some implementations) even `U00E4', | |
1820 where `(x-keysym-on-keyboard-p 'adiaeresis)' and `(x-keysym-on-keyboard-p | |
1821 'U00E4)' would both have returned nil. Subsequent to XEmacs seeing a keysym | |
1822 it was previously unaware of, the predicate will take note of it, though. | |
1815 */ | 1823 */ |
1816 (keysym, device)) | 1824 (keysym, device)) |
1817 { | 1825 { |
1818 struct device *d = decode_device (device); | 1826 struct device *d = decode_device (device); |
1819 if (!DEVICE_X_P (d)) | 1827 if (!DEVICE_X_P (d)) |
2106 in the file lisp/term/x-win.el. | 2114 in the file lisp/term/x-win.el. |
2107 | 2115 |
2108 If this variable is nil on startup, the application uses `XEmacs'. Versions | 2116 If this variable is nil on startup, the application uses `XEmacs'. Versions |
2109 previous to 21.5.21 examined the resource database and used `XEmacs' if any | 2117 previous to 21.5.21 examined the resource database and used `XEmacs' if any |
2110 resources beginning with that string existed, and `Emacs' otherwise, for | 2118 resources beginning with that string existed, and `Emacs' otherwise, for |
2111 greated backward compatibility. However, this has always tended to conflict | 2119 greater backward compatibility. However, this has always tended to conflict |
2112 with GNU Emacs, so this behavior is deprecated--in the short term, you can | 2120 with GNU Emacs, so this behavior is deprecated--in the short term, you can |
2113 restore it in a post-21.5.21 XEmacs by setting the | 2121 restore it in a post-21.5.21 XEmacs by setting the |
2114 USE_EMACS_AS_DEFAULT_APPLICATION_CLASS environment variable to some value, | 2122 USE_EMACS_AS_DEFAULT_APPLICATION_CLASS environment variable to some value, |
2115 but in the medium and long term, you should migrate your X resources. | 2123 but in the medium and long term, you should migrate your X resources. |
2116 */ ); | 2124 */ ); |