aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichael Albinus2016-03-04 14:01:36 +0000
committerMichael Albinus2016-03-04 14:01:36 +0000
commit484967796755051c4045cdcc26b0d3d129cc72ad (patch)
treec2fc0747c640beb5f6056494728e775bf9c20883 /etc
parentca4e30058eba0531f38fff75f14734acffab84ea (diff)
downloademacs-484967796755051c4045cdcc26b0d3d129cc72ad.tar.gz
emacs-484967796755051c4045cdcc26b0d3d129cc72ad.zip
Fix Bug#22814
* lisp/autorevert.el (global-auto-revert-mode): Do not set `auto-revert-use-notify' to nil. * etc/NEWS: Mention this. * etc/PROBLEMS: Remove problem Bug#22814. * src/kqueue.c: Include <sys/resource.h>. (Fkqueue_add_watch): Limit the number of used file descriptors. (Bug#22814) * test/lisp/filenotify-tests.el (file-notify--test-remote-enabled) (file-notify-test00-availability, file-notify-test01-add-watch) (file-notify-test02-events, file-notify-test06-many-events): Use #' read syntax for functions. (file-notify-test05-dir-validity) (file-notify-test06-many-events): Simplify directory creation. (file-notify-test09-sufficient-ressources): New test.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
-rw-r--r--etc/PROBLEMS11
2 files changed, 3 insertions, 11 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 172577601af..d7e1b839895 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -114,6 +114,9 @@ different group ID.
114+++ 114+++
115*** New connection method "doas" for OpenBSD hosts. 115*** New connection method "doas" for OpenBSD hosts.
116 116
117---
118** `auto-revert-use-notify' is set back to t in `global-auto-revert-mode'.
119
117 120
118* New Modes and Packages in Emacs 25.2 121* New Modes and Packages in Emacs 25.2
119 122
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index d5313677113..7d780371d46 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -600,17 +600,6 @@ you have a personal configuration file (normally ~/.aspell.conf), it
600can cause this error. Remove that file, execute 'ispell-kill-ispell' 600can cause this error. Remove that file, execute 'ispell-kill-ispell'
601in Emacs, and then try spell-checking again. 601in Emacs, and then try spell-checking again.
602 602
603*** Emacs eats all file descriptors when using kqueue file notifications.
604See <http://debbugs.gnu.org/22814>.
605
606When you have a large number of buffers running auto-revert-mode, and
607Emacs is configured to use the kqueue file notification library, it
608uses an own file descriptor for every watched file. On systems with a
609small limit of file descriptors allowed per process, like OS X, you
610could run out of file descriptors. You won't be able to open new files.
611
612auto-revert-use-notify is set to nil in global-auto-revert-mode, therefore.
613
614* Runtime problems related to font handling 603* Runtime problems related to font handling
615 604
616** Characters are displayed as empty boxes or with wrong font under X. 605** Characters are displayed as empty boxes or with wrong font under X.