aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Wiegley2016-03-03 23:53:26 -0800
committerJohn Wiegley2016-03-03 23:53:26 -0800
commitf991a50a90ca5317073f01ccff37ff5048b1881e (patch)
tree24cce1dcac68815db7f1da1efd1f957e5356e049
parentb50a20709f8ec549c18b8dd8665f6f61ee151c82 (diff)
parent5a44bfea9d4a6e6fbc8c74aa7e8691b47397927a (diff)
downloademacs-f991a50a90ca5317073f01ccff37ff5048b1881e.tar.gz
emacs-f991a50a90ca5317073f01ccff37ff5048b1881e.zip
Merge from origin/emacs-25
5a44bfe Set auto-revert-use-notify to nil in global-auto-revert-mode. (Bug#22814) 0d60bfc Fix ModelSim error parsing
-rw-r--r--etc/NEWS10
-rw-r--r--etc/PROBLEMS3
-rw-r--r--lisp/autorevert.el6
-rw-r--r--lisp/progmodes/vhdl-mode.el7
4 files changed, 21 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 8725049779d..172577601af 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1437,9 +1437,15 @@ make the new option `eshell-destroy-buffer-when-process-dies' non-nil.
1437** tar-mode: new `tar-new-entry' command, allowing for new members to 1437** tar-mode: new `tar-new-entry' command, allowing for new members to
1438be added to the archive. 1438be added to the archive.
1439 1439
1440** Autorevert
1441
1442---
1443*** Dired buffers are also auto-reverted via file notifications, if
1444Emacs is compiled with file notification support.
1445
1440--- 1446---
1441** Autorevert: dired buffers are also auto-reverted via file 1447*** `auto-revert-use-notify' is set to nil in `global-auto-revert-mode'.
1442notifications, if Emacs is compiled with file notification support. 1448See <http://debbugs.gnu.org/22814>.
1443 1449
1444** File Notifications 1450** File Notifications
1445 1451
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 0491935b10c..d5313677113 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -601,6 +601,7 @@ can 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. 603*** Emacs eats all file descriptors when using kqueue file notifications.
604See <http://debbugs.gnu.org/22814>.
604 605
605When you have a large number of buffers running auto-revert-mode, and 606When you have a large number of buffers running auto-revert-mode, and
606Emacs is configured to use the kqueue file notification library, it 607Emacs is configured to use the kqueue file notification library, it
@@ -608,7 +609,7 @@ uses an own file descriptor for every watched file. On systems with a
608small limit of file descriptors allowed per process, like OS X, you 609small limit of file descriptors allowed per process, like OS X, you
609could run out of file descriptors. You won't be able to open new files. 610could run out of file descriptors. You won't be able to open new files.
610 611
611Set auto-revert-use-notify to nil in order to avoid this problem. 612auto-revert-use-notify is set to nil in global-auto-revert-mode, therefore.
612 613
613* Runtime problems related to font handling 614* Runtime problems related to font handling
614 615
diff --git a/lisp/autorevert.el b/lisp/autorevert.el
index 14e39bddd2e..bde8eb84a64 100644
--- a/lisp/autorevert.el
+++ b/lisp/autorevert.el
@@ -458,7 +458,11 @@ specifies in the mode line."
458 :global t :group 'auto-revert :lighter global-auto-revert-mode-text 458 :global t :group 'auto-revert :lighter global-auto-revert-mode-text
459 (auto-revert-set-timer) 459 (auto-revert-set-timer)
460 (if global-auto-revert-mode 460 (if global-auto-revert-mode
461 (auto-revert-buffers) 461 (progn
462 ;; We disable file notification because it could use too many
463 ;; ressources. See <http://debbugs.gnu.org/22814>.
464 (setq auto-revert-use-notify nil)
465 (auto-revert-buffers))
462 (dolist (buf (buffer-list)) 466 (dolist (buf (buffer-list))
463 (with-current-buffer buf 467 (with-current-buffer buf
464 (when auto-revert-use-notify 468 (when auto-revert-use-notify
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index b176e64652e..664642554fa 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -266,9 +266,14 @@ Overrides local variable `indent-tabs-mode'."
266 ;; WARNING[2]: test.vhd(85): Possible infinite loop 266 ;; WARNING[2]: test.vhd(85): Possible infinite loop
267 ;; ** Warning: [4] ../src/emacsvsim.vhd(43): An abstract ... 267 ;; ** Warning: [4] ../src/emacsvsim.vhd(43): An abstract ...
268 ;; ** Error: adder.vhd(190): Unknown identifier: ctl_numb 268 ;; ** Error: adder.vhd(190): Unknown identifier: ctl_numb
269 ;; ** Error: counter_rtl.vhd(18): Nonresolved signal 'hallo' has multiple sources.
270 ;; Drivers:
271 ;; counter_rtl.vhd(27):Conditional signal assignment line__27
272 ;; counter_rtl.vhd(29):Conditional signal assignment line__29
269 ("ModelSim" "vcom" "-93 -work \\1" "make" "-f \\1" 273 ("ModelSim" "vcom" "-93 -work \\1" "make" "-f \\1"
270 nil "vlib \\1; vmap \\2 \\1" "./" "work/" "Makefile" "modelsim" 274 nil "vlib \\1; vmap \\2 \\1" "./" "work/" "Makefile" "modelsim"
271 ("^\\(ERROR\\|WARNING\\|\\*\\* Error\\|\\*\\* Warning\\)[^:]*:\\( *\\[[0-9]+]\\)? \\([^ \t\n]+\\)(\\([0-9]+\\)):" 3 4 nil) ("" 0) 275 ("\\(ERROR:\\|WARNING\\[[0-9]+\\]:\\|\\*\\* Error:\\|\\*\\* Warning: \\[[0-9]+\\]\\| +\\) \\([^ ]+\\)(\\([0-9]+\\)):" 2 3 nil)
276 ("" 0)
272 ("\\1/_primary.dat" "\\2/\\1.dat" "\\1/_primary.dat" 277 ("\\1/_primary.dat" "\\2/\\1.dat" "\\1/_primary.dat"
273 "\\1/_primary.dat" "\\1/body.dat" downcase)) 278 "\\1/_primary.dat" "\\1/body.dat" downcase))
274 ;; ProVHDL, Synopsys LEDA: provhdl -w work -f test.vhd 279 ;; ProVHDL, Synopsys LEDA: provhdl -w work -f test.vhd