From 36ff6d6ffba8b1d290046912f17a068d92803acd Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 19 Dec 2006 15:41:51 +0000 Subject: [PATCH] *** empty log message *** --- admin/FOR-RELEASE | 1 - etc/NEWS | 4 +++- lisp/ChangeLog | 3 +++ lispref/ChangeLog | 6 ++++++ src/ChangeLog | 20 ++++++++++++++++++++ 5 files changed, 32 insertions(+), 2 deletions(-) diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index bc4bddb15da..49f84b03166 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE @@ -54,7 +54,6 @@ to the hack introduced on 2005-07-01 to fix some other Cleartype problem. ** Need papers from Rubini for his code in t-mouse.el Sent instructions. -** Cleanup sigusrX handling. * DOCUMENTATION diff --git a/etc/NEWS b/etc/NEWS index ea246706481..75d4f212a67 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -3815,7 +3815,9 @@ there is no longer a shortage of memory. +++ ** When Emacs receives a USR1 or USR2 signal, this generates -input event sequences: [signal usr1] or [signal usr2]. +input events: sigusr1 or sigusr2. Use special-event-map to +handle these events. + * Lisp Changes in Emacs 22.1 diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 91509af0190..b2748eab612 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2006-12-19 Kim F. Storm + * bindings.el: Bind sigusr1 and sigusr2 in special-event-map + instead of global-map. + * files.el (magic-mode-alist): Allow matching file type by calling a function at bob. Check for image types by calling image-type-from-buffer. Suggested by Juanma Barranquero. diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 3888f166f31..39975f4e9e9 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,9 @@ +2006-12-19 Kim F. Storm + + * commands.texi (Misc Events): User signals now result in sigusr1 + and sigusr2 events which are handled through special-event-map. + (Special Events): User signals and drag-n-drop are special. + 2006-12-17 Richard Stallman * loading.texi (Named Features): Explain subfeatures better. diff --git a/src/ChangeLog b/src/ChangeLog index 724630e097f..6f78d7f686c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,23 @@ +2006-12-19 Kim F. Storm + + Rework 2006-12-04 change. A SIGUSR1 (SIGUSR2) signal now generates + a sigusr1 event instead of [signal usr1] sequence, and signal events + are now supposed to be handled via special-event-map. + + * keyboard.c (kbd_buffer_store_event_hold): Undo 2006-12-04 change. + (make_lispy_event): Don't generate Qsignal prefix for code 0. + Abort if signal code is unknown. + (store_user_signal_events): Don't make Qsignal prefix (code 0). + (Qsignal): Move declaration back to process.c. + (syms_of_keyboard): Don't intern or staticpro it here. + + * process.c (Qsignal): Declare here. + (syms_of_process): Intern or staticpro it. + + * emacs.c (main): Rename user signals to sigusr1 and sigusr2. + + * .gdbinit: Pass on SIGUSR1 and SIGUSR2 to Emacs. + 2006-12-19 Juanma Barranquero * buffer.c (syms_of_buffer) : -- 2.39.2