aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2008-01-03 21:56:05 +0000
committerStefan Monnier2008-01-03 21:56:05 +0000
commit87df3c322b97d4da6c289a4c0e1c9d04643d2e9e (patch)
tree5c249d1d3c7d2a8e42743c77bf438f3968676ce2 /src
parent4db2806c441a6c7bd94fe9ecbf6bdf9ee7275cca (diff)
downloademacs-87df3c322b97d4da6c289a4c0e1c9d04643d2e9e.tar.gz
emacs-87df3c322b97d4da6c289a4c0e1c9d04643d2e9e.zip
(read_key_sequence): Fix typo.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog41
-rw-r--r--src/keyboard.c6
2 files changed, 24 insertions, 23 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ee301672dda..0a5e6355b49 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12008-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keyboard.c (read_key_sequence): Fix typo.
4
12008-01-03 Michael Albinus <michael.albinus@gmx.de> 52008-01-03 Michael Albinus <michael.albinus@gmx.de>
2 6
3 * dbusbind.c (all): Replace XCAR by CAR_SAFE and XCDR by CDR_SAFE. 7 * dbusbind.c (all): Replace XCAR by CAR_SAFE and XCDR by CDR_SAFE.
@@ -23,8 +27,8 @@
23 27
242007-12-30 Michael Albinus <michael.albinus@gmx.de> 282007-12-30 Michael Albinus <michael.albinus@gmx.de>
25 29
26 * dbusbind.c: Fix several errors and compiler warnings. Reported 30 * dbusbind.c: Fix several errors and compiler warnings.
27 by Tom Tromey <tromey@redhat.com> 31 Reported by Tom Tromey <tromey@redhat.com>
28 (XD_ERROR, XD_DEBUG_MESSAGE) 32 (XD_ERROR, XD_DEBUG_MESSAGE)
29 (XD_DEBUG_VALID_LISP_OBJECT_P): Wrap code with "do ... while (0)". 33 (XD_DEBUG_VALID_LISP_OBJECT_P): Wrap code with "do ... while (0)".
30 (xd_append_arg): Part for basic D-Bus types rewitten. 34 (xd_append_arg): Part for basic D-Bus types rewitten.
@@ -78,15 +82,14 @@
78 82
79 * dbusbind.c (XD_BASIC_DBUS_TYPE, XD_DBUS_TYPE_P, XD_NEXT_VALUE): 83 * dbusbind.c (XD_BASIC_DBUS_TYPE, XD_DBUS_TYPE_P, XD_NEXT_VALUE):
80 New macros. 84 New macros.
81 (XD_SYMBOL_TO_DBUS_TYPE): Renamed from 85 (XD_SYMBOL_TO_DBUS_TYPE): Rename from XD_LISP_SYMBOL_TO_DBUS_TYPE.
82 XD_LISP_SYMBOL_TO_DBUS_TYPE. 86 (XD_OBJECT_TO_DBUS_TYPE): Rename from
83 (XD_OBJECT_TO_DBUS_TYPE): Renamed from
84 XD_LISP_OBJECT_TO_DBUS_TYPE. Simplify. 87 XD_LISP_OBJECT_TO_DBUS_TYPE. Simplify.
85 (xd_signature): New function. 88 (xd_signature): New function.
86 (xd_append_arg): Compute also signatures. Major rewrite. 89 (xd_append_arg): Compute also signatures. Major rewrite.
87 (xd_retrieve_arg): Make debug messages friendly. 90 (xd_retrieve_arg): Make debug messages friendly.
88 (Fdbus_call_method, Fdbus_send_signal): Extend docstring. Check 91 (Fdbus_call_method, Fdbus_send_signal): Extend docstring.
89 for signatures of arguments. 92 Check for signatures of arguments.
90 93
912007-12-19 Michael Albinus <michael.albinus@gmx.de> 942007-12-19 Michael Albinus <michael.albinus@gmx.de>
92 95
@@ -95,11 +98,10 @@
95 (QCdbus_type_uint32, QCdbus_type_int64, QCdbus_type_uint64) 98 (QCdbus_type_uint32, QCdbus_type_int64, QCdbus_type_uint64)
96 (QCdbus_type_double, QCdbus_type_string, QCdbus_type_object_path) 99 (QCdbus_type_double, QCdbus_type_string, QCdbus_type_object_path)
97 (QCdbus_type_signature, QCdbus_type_array, QCdbus_type_variant) 100 (QCdbus_type_signature, QCdbus_type_array, QCdbus_type_variant)
98 (QCdbus_type_struct, QCdbus_type_dict_entry): New D-Bus type 101 (QCdbus_type_struct, QCdbus_type_dict_entry): New D-Bus type symbols.
99 symbols.
100 (XD_LISP_SYMBOL_TO_DBUS_TYPE): New macro. 102 (XD_LISP_SYMBOL_TO_DBUS_TYPE): New macro.
101 (XD_LISP_OBJECT_TO_DBUS_TYPE): Add compound types. 103 (XD_LISP_OBJECT_TO_DBUS_TYPE): Add compound types.
102 (xd_retrieve_value): Removed. Functionality included in ... 104 (xd_retrieve_value): Remove. Functionality included in ...
103 (xd_append_arg): New function. 105 (xd_append_arg): New function.
104 (Fdbus_call_method, Fdbus_send_signal): Apply it. 106 (Fdbus_call_method, Fdbus_send_signal): Apply it.
105 107
@@ -108,8 +110,8 @@
108 * dbusbind.c (top): Include <stdio.h>. 110 * dbusbind.c (top): Include <stdio.h>.
109 (Fdbus_call_method, Fdbus_send_signal): Apply type cast in 111 (Fdbus_call_method, Fdbus_send_signal): Apply type cast in
110 dbus_message_new_method_call and dbus_message_new_signal. 112 dbus_message_new_method_call and dbus_message_new_signal.
111 (Fdbus_register_signal): Rename unique_name to uname. Check 113 (Fdbus_register_signal): Rename unique_name to uname.
112 handler for FUNCTIONP instead of CHECK_SYMBOL. Handle case of 114 Check handler for FUNCTIONP instead of CHECK_SYMBOL. Handle case of
113 non-existing unique name. Fix typos in matching rule. Return an 115 non-existing unique name. Fix typos in matching rule. Return an
114 object which is useful in Fdbus_unregister_signal. 116 object which is useful in Fdbus_unregister_signal.
115 (Fdbus_unregister_signal): Reimplementation, in order to remove 117 (Fdbus_unregister_signal): Reimplementation, in order to remove
@@ -136,8 +138,8 @@
1362007-12-14 Michael Albinus <michael.albinus@gmx.de> 1382007-12-14 Michael Albinus <michael.albinus@gmx.de>
137 139
138 * dbusbind.c (xd_retrieve_value, xd_retrieve_arg) 140 * dbusbind.c (xd_retrieve_value, xd_retrieve_arg)
139 (Fdbus_call_method, Fdbus_send_signal, xd_read_message): Use 141 (Fdbus_call_method, Fdbus_send_signal, xd_read_message):
140 `unsigned int' instead of `uint'. 142 Use `unsigned int' instead of `uint'.
141 (xd_read_message, Fdbus_register_signal): Split expressions into 143 (xd_read_message, Fdbus_register_signal): Split expressions into
142 multiple lines before operators "&&" and "||", according to the 144 multiple lines before operators "&&" and "||", according to the
143 GNU Coding Standards. 145 GNU Coding Standards.
@@ -244,13 +246,13 @@
244 246
2452007-12-04 Michael Albinus <michael.albinus@gmx.de> 2472007-12-04 Michael Albinus <michael.albinus@gmx.de>
246 248
247 * dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Renamed from 249 * dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Rename from
248 Qdbus_system_bus and Qdbus_session_bus, respectively. 250 Qdbus_system_bus and Qdbus_session_bus, respectively.
249 (Vdbus_intern_symbols): Removed. 251 (Vdbus_intern_symbols): Remove.
250 (Vdbus_registered_functions_table): New hash table. 252 (Vdbus_registered_functions_table): New hash table.
251 (XD_SYMBOL_INTERN_SYMBOL): Removed. 253 (XD_SYMBOL_INTERN_SYMBOL): Remove.
252 (xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal): 254 (xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal):
253 Rewritten in order to manage registered functions by hash table 255 Rewrite in order to manage registered functions by hash table
254 Vdbus_registered_functions_table. 256 Vdbus_registered_functions_table.
255 257
2562007-12-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 2582007-12-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
@@ -274,8 +276,7 @@
274 * keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS". 276 * keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS".
275 (Qdbus_event) New Lisp symbol. 277 (Qdbus_event) New Lisp symbol.
276 (kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT. 278 (kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT.
277 (gobble_input): Call xd_read_queued_messages, reading D-Bus 279 (gobble_input): Call xd_read_queued_messages, reading D-Bus messages.
278 messages.
279 (keys_of_keyboard ): Define dbus-event. 280 (keys_of_keyboard ): Define dbus-event.
280 281
281 * termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined. 282 * termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined.
diff --git a/src/keyboard.c b/src/keyboard.c
index bcd3b536c57..4ede295fcdb 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1,7 +1,7 @@
1/* Keyboard and mouse input; editor command loop. 1/* Keyboard and mouse input; editor command loop.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995,
3 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 3 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
4 2005, 2006, 2007 Free Software Foundation, Inc. 4 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
@@ -10099,8 +10099,8 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
10099 if (modifiers & shift_modifier 10099 if (modifiers & shift_modifier
10100 /* Treat uppercase keys as shifted. */ 10100 /* Treat uppercase keys as shifted. */
10101 || (INTEGERP (key) 10101 || (INTEGERP (key)
10102 & (KEY_TO_CHAR (key) 10102 && (KEY_TO_CHAR (key)
10103 < XCHAR_TABLE (current_buffer->downcase_table)->size) 10103 < XCHAR_TABLE (current_buffer->downcase_table)->size)
10104 && UPPERCASEP (KEY_TO_CHAR (key)))) 10104 && UPPERCASEP (KEY_TO_CHAR (key))))
10105 { 10105 {
10106 Lisp_Object new_key 10106 Lisp_Object new_key