diff options
| author | Michael Albinus | 2016-03-04 14:01:36 +0000 |
|---|---|---|
| committer | Michael Albinus | 2016-03-04 14:01:36 +0000 |
| commit | 484967796755051c4045cdcc26b0d3d129cc72ad (patch) | |
| tree | c2fc0747c640beb5f6056494728e775bf9c20883 /etc | |
| parent | ca4e30058eba0531f38fff75f14734acffab84ea (diff) | |
| download | emacs-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/NEWS | 3 | ||||
| -rw-r--r-- | etc/PROBLEMS | 11 |
2 files changed, 3 insertions, 11 deletions
| @@ -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 | |||
| 600 | can cause this error. Remove that file, execute 'ispell-kill-ispell' | 600 | can cause this error. Remove that file, execute 'ispell-kill-ispell' |
| 601 | in Emacs, and then try spell-checking again. | 601 | in Emacs, and then try spell-checking again. |
| 602 | 602 | ||
| 603 | *** Emacs eats all file descriptors when using kqueue file notifications. | ||
| 604 | See <http://debbugs.gnu.org/22814>. | ||
| 605 | |||
| 606 | When you have a large number of buffers running auto-revert-mode, and | ||
| 607 | Emacs is configured to use the kqueue file notification library, it | ||
| 608 | uses an own file descriptor for every watched file. On systems with a | ||
| 609 | small limit of file descriptors allowed per process, like OS X, you | ||
| 610 | could run out of file descriptors. You won't be able to open new files. | ||
| 611 | |||
| 612 | auto-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. |