aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2002-02-02 23:48:37 +0000
committerStefan Monnier2002-02-02 23:48:37 +0000
commit95c11956e9b24d3644d9ecd2c7652b90f434dd15 (patch)
tree50f94065a111da066b2a90c8d986eb5ec05b982a /src
parentee466d0b94320d5041dd34a2659d93c5c900ee3a (diff)
downloademacs-95c11956e9b24d3644d9ecd2c7652b90f434dd15.tar.gz
emacs-95c11956e9b24d3644d9ecd2c7652b90f434dd15.zip
(term_get_fkeys_1): If `k0' and `k;' are both specified and
with the same sequence, map that sequence to f10 rather than f0.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog35
-rw-r--r--src/term.c9
2 files changed, 25 insertions, 19 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ca75452db36..1cb73d388cf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12002-02-02 Stefan Monnier <monnier@cs.yale.edu>
2
3 * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and
4 with the same sequence, map that sequence to f10 rather than f0.
5
12002-02-03 Andreas Schwab <schwab@suse.de> 62002-02-03 Andreas Schwab <schwab@suse.de>
2 7
3 * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the 8 * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the
@@ -11,8 +16,8 @@
11 16
122002-02-02 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 172002-02-02 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
13 18
14 * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: Call 19 * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]:
15 cancel_hourglass unconditionally. 20 Call cancel_hourglass unconditionally.
16 21
17 * eval.c (Fsignal): Remove duplicated declaration of 22 * eval.c (Fsignal): Remove duplicated declaration of
18 the variable `display_hourglass_p'. 23 the variable `display_hourglass_p'.
@@ -34,8 +39,8 @@
342002-01-27 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 392002-01-27 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
35 40
36 * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) 41 * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function)
37 (Fread_variable, Fread_buffer, minibuffer-completion-confirm): Fix 42 (Fread_variable, Fread_buffer, minibuffer-completion-confirm):
38 doc-strings. 43 Fix doc-strings.
39 44
402002-01-26 Richard M. Stallman <rms@gnu.org> 452002-01-26 Richard M. Stallman <rms@gnu.org>
41 46
@@ -132,8 +137,8 @@
132 the user requests it. Use system default width when creating. 137 the user requests it. Use system default width when creating.
133 <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. 138 <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages.
134 139
135 * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): New 140 * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET):
136 window messages. 141 New window messages.
137 142
1382002-01-20 Richard M. Stallman <rms@gnu.org> 1432002-01-20 Richard M. Stallman <rms@gnu.org>
139 144
@@ -177,7 +182,7 @@
177 182
1782002-01-18 Richard M. Stallman <rms@gnu.org> 1832002-01-18 Richard M. Stallman <rms@gnu.org>
179 184
180 * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. 185 * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1.
181 (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. 186 (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room.
182 187
1832002-01-17 Richard M. Stallman <rms@gnu.org> 1882002-01-17 Richard M. Stallman <rms@gnu.org>
@@ -199,7 +204,7 @@
199 is invisible. This can happen if cursor is on top line of a 204 is invisible. This can happen if cursor is on top line of a
200 window, and we switch to a buffer with a header line. 205 window, and we switch to a buffer with a header line.
201 206
202 * w32term.c (x_erase_phys_cursor): ditto. 207 * w32term.c (x_erase_phys_cursor): Ditto.
203 208
2042002-01-16 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 2092002-01-16 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
205 210
@@ -223,8 +228,7 @@
223 * lisp.h (adjust_after_replace_noundo) 228 * lisp.h (adjust_after_replace_noundo)
224 (Fupdate_coding_systems_internal): Add prototypes. 229 (Fupdate_coding_systems_internal): Add prototypes.
225 230
226 * sound.c (Fplay_sound): Initialize header_size also for :data 231 * sound.c (Fplay_sound): Initialize header_size also for :data case.
227 case.
228 232
2292002-01-14 Eli Zaretskii <eliz@is.elta.co.il> 2332002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
230 234
@@ -260,8 +264,8 @@
260 * emacs.c (USAGE2): Add the new full-screen arguments. 264 * emacs.c (USAGE2): Add the new full-screen arguments.
261 (standard_args): Ditto. 265 (standard_args): Ditto.
262 266
263 * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): New 267 * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth):
264 variables. 268 New variables.
265 (syms_of_xfns): Intern and staticpro them. 269 (syms_of_xfns): Intern and staticpro them.
266 (x_frame_parms) <"fullscreen">: New parameter. 270 (x_frame_parms) <"fullscreen">: New parameter.
267 (x_fullscreen_move, x_set_fullscreen): New functions. 271 (x_fullscreen_move, x_set_fullscreen): New functions.
@@ -272,8 +276,8 @@
272 276
273 * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. 277 * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions.
274 (XTread_socket) <Expose>: Call x_check_fullscreen. 278 (XTread_socket) <Expose>: Call x_check_fullscreen.
275 <ConfigureNotify>: Don't resize to fullscreen. Call 279 <ConfigureNotify>: Don't resize to fullscreen.
276 x_check_fullscreen_move, and set the want_fullscreen member of 280 Call x_check_fullscreen_move, and set the want_fullscreen member of
277 output_data.x. 281 output_data.x.
278 282
2792002-01-13 Jason Rumney <jasonr@gnu.org> 2832002-01-13 Jason Rumney <jasonr@gnu.org>
@@ -290,8 +294,7 @@
290 294
2912002-01-13 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 2952002-01-13 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
292 296
293 * keyboard.c (read_key_sequence): Remove unused variable 297 * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'.
294 `extra_maps'.
295 298
2962002-01-13 Andreas Schwab <schwab@suse.de> 2992002-01-13 Andreas Schwab <schwab@suse.de>
297 300
diff --git a/src/term.c b/src/term.c
index 48c107a8c89..19a1afa8c12 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1513,12 +1513,15 @@ term_get_fkeys_1 ()
1513 1513
1514 if (k_semi) 1514 if (k_semi)
1515 { 1515 {
1516 if (k0)
1517 /* Define f0 first, so that f10 takes precedence in case the
1518 key sequences happens to be the same. */
1519 Fdefine_key (Vfunction_key_map, build_string (k0),
1520 Fmake_vector (make_number (1), intern ("f0")));
1516 Fdefine_key (Vfunction_key_map, build_string (k_semi), 1521 Fdefine_key (Vfunction_key_map, build_string (k_semi),
1517 Fmake_vector (make_number (1), intern ("f10"))); 1522 Fmake_vector (make_number (1), intern ("f10")));
1518 k0_name = "f0";
1519 } 1523 }
1520 1524 else if (k0)
1521 if (k0)
1522 Fdefine_key (Vfunction_key_map, build_string (k0), 1525 Fdefine_key (Vfunction_key_map, build_string (k0),
1523 Fmake_vector (make_number (1), intern (k0_name))); 1526 Fmake_vector (make_number (1), intern (k0_name)));
1524 } 1527 }