# HG changeset patch # User Kim F. Storm # Date 1166542911 0 # Node ID 9887ae4f4c405428fbc31e336b1adbe20890cfe0 # Parent 259471a9b617266cc43b245e5ddb04dbac9f05cb *** empty log message *** diff -r 259471a9b617 -r 9887ae4f4c40 admin/FOR-RELEASE --- a/admin/FOR-RELEASE Tue Dec 19 15:38:42 2006 +0000 +++ b/admin/FOR-RELEASE Tue Dec 19 15:41:51 2006 +0000 @@ -54,7 +54,6 @@ ** Need papers from Rubini for his code in t-mouse.el Sent instructions. -** Cleanup sigusrX handling. * DOCUMENTATION diff -r 259471a9b617 -r 9887ae4f4c40 etc/NEWS --- a/etc/NEWS Tue Dec 19 15:38:42 2006 +0000 +++ b/etc/NEWS Tue Dec 19 15:41:51 2006 +0000 @@ -3815,7 +3815,9 @@ +++ ** 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 -r 259471a9b617 -r 9887ae4f4c40 lisp/ChangeLog --- a/lisp/ChangeLog Tue Dec 19 15:38:42 2006 +0000 +++ b/lisp/ChangeLog Tue Dec 19 15:41:51 2006 +0000 @@ -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 -r 259471a9b617 -r 9887ae4f4c40 lispref/ChangeLog --- a/lispref/ChangeLog Tue Dec 19 15:38:42 2006 +0000 +++ b/lispref/ChangeLog Tue Dec 19 15:41:51 2006 +0000 @@ -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 -r 259471a9b617 -r 9887ae4f4c40 src/ChangeLog --- a/src/ChangeLog Tue Dec 19 15:38:42 2006 +0000 +++ b/src/ChangeLog Tue Dec 19 15:41:51 2006 +0000 @@ -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) :