aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorRüdiger Sonderfeld2012-12-10 06:17:21 -0500
committerEli Zaretskii2012-12-10 06:17:21 -0500
commit81606b10501169a5671061b8461bbc32dcec8705 (patch)
tree6dadb650dc1950fbb1e5d4cf6f0c8d18588e6787 /src/ChangeLog
parent265c2fbf11cb8bf9b805df63ecb9508631f08e35 (diff)
downloademacs-81606b10501169a5671061b8461bbc32dcec8705.tar.gz
emacs-81606b10501169a5671061b8461bbc32dcec8705.zip
Support filesystem notification through inotify on GNU/Linux.
configure.ac (inotify): New option. (HAVE_INOTIFY): Test for inotify. src/termhooks.h (enum event_kind) [HAVE_INOTIFY]: Add FILE_NOTIFY_EVENT. src/lisp.h (syms_of_inotify) [HAVE_INOTIFY]: Add prototype. src/keyboard.c (Qfile_inotify) [HAVE_INOTIFY]: New variable. (syms_of_keyboard): DEFSYM it. (kbd_buffer_get_event) [HAVE_INOTIFY]: Generate FILE_NOTIFY_EVENT. (make_lispy_event): Support FILE_NOTIFY_EVENT by generating Qfile_inotify events. (keys_of_keyboard) [HAVE_INOTIFY]: Bind file-inotify events in special-event-map to inotify-handle-event. src/emacs.c (main) [HAVE_INOTIFY]: Call syms_of_inotify. src/Makefile.in (base_obj): Add inotify.o. src/inotify.c: New file. lisp/subr.el (inotify-event-p, inotify-handle-event): New functions. test/automated/inotify-test.el: New test.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e7fc8179e07..e234b342ac7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,24 @@
12012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2
3 * termhooks.h (enum event_kind) [HAVE_INOTIFY]: Add
4 FILE_NOTIFY_EVENT.
5
6 * lisp.h (syms_of_inotify) [HAVE_INOTIFY]: Add prototype.
7
8 * keyboard.c (Qfile_inotify) [HAVE_INOTIFY]: New variable.
9 (syms_of_keyboard): DEFSYM it.
10 (kbd_buffer_get_event) [HAVE_INOTIFY]: Generate FILE_NOTIFY_EVENT.
11 (make_lispy_event): Support FILE_NOTIFY_EVENT by generating
12 Qfile_inotify events.
13 (keys_of_keyboard) [HAVE_INOTIFY]: Bind file-inotify events in
14 special-event-map to inotify-handle-event.
15
16 * emacs.c (main) [HAVE_INOTIFY]: Call syms_of_inotify.
17
18 * Makefile.in (base_obj): Add inotify.o.
19
20 * inotify.c: New file.
21
12012-12-10 Jan Djärv <jan.h.d@swipnet.se> 222012-12-10 Jan Djärv <jan.h.d@swipnet.se>
2 23
3 * nsterm.m (fd_handler:): FD_ZERO fds (Bug#13103). 24 * nsterm.m (fd_handler:): FD_ZERO fds (Bug#13103).