summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-12-19 15:41:51 +0000
committerKim F. Storm <storm@cua.dk>2006-12-19 15:41:51 +0000
commit36ff6d6ffba8b1d290046912f17a068d92803acd (patch)
tree2df38f0a0bb35dc26ac24b54adfcdf58aae2b548
parent653a91004559715cb3fe395a667ba769c77b78fd (diff)
downloademacs-36ff6d6ffba8b1d290046912f17a068d92803acd.tar.gz
*** empty log message ***
-rw-r--r--admin/FOR-RELEASE1
-rw-r--r--etc/NEWS4
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lispref/ChangeLog6
-rw-r--r--src/ChangeLog20
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 <storm@cua.dk>
+ * 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 <storm@cua.dk>
+
+ * 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 <rms@gnu.org>
* 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 <storm@cua.dk>
+
+ 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 <lekktu@gmail.com>
* buffer.c (syms_of_buffer) <buffer-display-table>: