GNU bug report logs -
#76505
31.0.50; igc: M-x project-compile is slow
Previous Next
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> See the attached.
>
> Looks like you have auto-revert enabled when compiling?
Hmm. Yes, I do. Because `magit-auto-revert-mode' (enabled by default).
I explicitly disable global-auto-revert-mode in my config.
> ... Does
> disabling that change anything?
It completely removes the hangs.
> ... In general, having auto-revert in too
> many buffers while compiling or using Git is likely to flood Emacs
> with file-notification events, and is not recommended.
Well. Magit enables auto-revert by default:
(define-globalized-minor-mode magit-auto-revert-mode auto-revert-mode
magit-turn-on-auto-revert-mode-if-desired
:package-version '(magit . "2.4.0")
:link '(info-link "(magit)Automatic Reverting of File-Visiting Buffers")
:group 'magit-auto-revert
:group 'magit-essentials
;; - When `global-auto-revert-mode' is enabled, then this mode is
;; redundant.
;; - In all other cases enable the mode because if buffers are not
;; automatically reverted that would make many very common tasks
;; much more cumbersome.
:init-value (not (or global-auto-revert-mode
noninteractive)))
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
This bug report was last modified 110 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.