]> code.delx.au - gnu-emacs/commitdiff
Merge from origin/emacs-25
authorJohn Wiegley <johnw@newartisans.com>
Fri, 4 Mar 2016 07:53:26 +0000 (23:53 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Fri, 4 Mar 2016 07:53:26 +0000 (23:53 -0800)
5a44bfe Set auto-revert-use-notify to nil in global-auto-revert-mode.  (Bug#22814)
0d60bfc Fix ModelSim error parsing

etc/NEWS
etc/PROBLEMS
lisp/autorevert.el
lisp/progmodes/vhdl-mode.el

index 8725049779de475602db03b2c8ef00ea211ce158..172577601af2f4bbe9e88302ee2e24f3efdd2694 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1437,9 +1437,15 @@ make the new option `eshell-destroy-buffer-when-process-dies' non-nil.
 ** tar-mode: new `tar-new-entry' command, allowing for new members to
 be added to the archive.
 
+** Autorevert
+
+---
+*** Dired buffers are also auto-reverted via file notifications, if
+Emacs is compiled with file notification support.
+
 ---
-** Autorevert: dired buffers are also auto-reverted via file
-notifications, if Emacs is compiled with file notification support.
+*** `auto-revert-use-notify' is set to nil in `global-auto-revert-mode'.
+See <http://debbugs.gnu.org/22814>.
 
 ** File Notifications
 
index 0491935b10c15eb68e8fa7c49035b040869f7fe8..d5313677113fa5845ee3b518c056c29b9a577a20 100644 (file)
@@ -601,6 +601,7 @@ can cause this error.  Remove that file, execute 'ispell-kill-ispell'
 in Emacs, and then try spell-checking again.
 
 *** Emacs eats all file descriptors when using kqueue file notifications.
+See <http://debbugs.gnu.org/22814>.
 
 When you have a large number of buffers running auto-revert-mode, and
 Emacs 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
 small limit of file descriptors allowed per process, like OS X, you
 could run out of file descriptors.  You won't be able to open new files.
 
-Set auto-revert-use-notify to nil in order to avoid this problem.
+auto-revert-use-notify is set to nil in global-auto-revert-mode, therefore.
 
 * Runtime problems related to font handling
 
index 14e39bddd2e7e736e572e1d3c5d0bfe314065cf9..bde8eb84a64cc07adf2c0c34afbae3ed91034c46 100644 (file)
@@ -458,7 +458,11 @@ specifies in the mode line."
   :global t :group 'auto-revert :lighter global-auto-revert-mode-text
   (auto-revert-set-timer)
   (if global-auto-revert-mode
-      (auto-revert-buffers)
+      (progn
+        ;; We disable file notification because it could use too many
+        ;; ressources.  See <http://debbugs.gnu.org/22814>.
+        (setq auto-revert-use-notify nil)
+        (auto-revert-buffers))
     (dolist (buf (buffer-list))
       (with-current-buffer buf
        (when auto-revert-use-notify
index b176e64652ecefa475c85983a0b287c3445f158f..664642554fa8950e3724567f1c91b58e2890a8f4 100644 (file)
@@ -266,9 +266,14 @@ Overrides local variable `indent-tabs-mode'."
     ;; WARNING[2]: test.vhd(85): Possible infinite loop
     ;; ** Warning: [4] ../src/emacsvsim.vhd(43): An abstract ...
     ;; ** Error: adder.vhd(190): Unknown identifier: ctl_numb
+    ;; ** Error: counter_rtl.vhd(18): Nonresolved signal 'hallo' has multiple sources.
+    ;;  Drivers:
+    ;;    counter_rtl.vhd(27):Conditional signal assignment line__27
+    ;;    counter_rtl.vhd(29):Conditional signal assignment line__29
     ("ModelSim" "vcom" "-93 -work \\1" "make" "-f \\1"
      nil "vlib \\1; vmap \\2 \\1" "./" "work/" "Makefile" "modelsim"
-     ("^\\(ERROR\\|WARNING\\|\\*\\* Error\\|\\*\\* Warning\\)[^:]*:\\( *\\[[0-9]+]\\)? \\([^ \t\n]+\\)(\\([0-9]+\\)):" 3 4 nil) ("" 0)
+     ("\\(ERROR:\\|WARNING\\[[0-9]+\\]:\\|\\*\\* Error:\\|\\*\\* Warning: \\[[0-9]+\\]\\| +\\) \\([^ ]+\\)(\\([0-9]+\\)):" 2 3 nil)
+     ("" 0)
      ("\\1/_primary.dat" "\\2/\\1.dat" "\\1/_primary.dat"
       "\\1/_primary.dat" "\\1/body.dat" downcase))
     ;; ProVHDL, Synopsys LEDA: provhdl -w work -f test.vhd