From: Peter Ludemann <peter.ludemann@gmail.com>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: 38644@debbugs.gnu.org, Michael Albinus <michael.albinus@gmx.de>
Subject: bug#38644: 26.3; emacs uses 100% CPU with auto-revert-mode
Date: Sun, 5 Jan 2020 11:31:51 -0800 [thread overview]
Message-ID: <CAHjfyZ0na1fVrgtMbxhAiyYPCcRU3TivGwjZu1gWYkh4UQWawQ@mail.gmail.com> (raw)
In-Reply-To: <7C3E0AFE-BCA6-4FAF-9EA0-FB0E79BAD443@acm.org>
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]
Mattias:
Are you asking if I've tried this:
(dir-locals-set-class-variables 'auto-revert-with-polling
'((nil . ((auto-revert-use-notify . nil)))))
(dir-locals-set-directory-class
"/tmp/" 'auto-revert-with-polling)
No, I haven't.
Which version of Emacs would you like me to try this with? And what result
are you expecting/hoping to see? (e.g., might it reduce the current 30-80%
CPU load for polling with emacs 28.0.50?) There are only a few open files
directly under /tmp, so would this have any effect or does it propagate
down to subdirectories?
[Also, I'd need a few more details (not being an emacs-internals person)
... should I add this to my .emacs and restart, or execute in a scratch
buffer, or ...?]
On Sun, 5 Jan 2020 at 05:05, Mattias Engdegård <mattiase@acm.org> wrote:
> Just out of curiosity --- did you try setting auto-revert-avoid-polling?
> If so, did it have any effect?
>
>
[-- Attachment #2: Type: text/html, Size: 2850 bytes --]
next prev parent reply other threads:[~2020-01-05 19:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-17 1:23 bug#38644: 26.3; emacs uses 100% CPU with auto-revert-mode Peter Ludemann
2019-12-17 13:59 ` Michael Albinus
2019-12-17 16:17 ` Eli Zaretskii
2019-12-17 18:27 ` Peter Ludemann
2019-12-17 19:30 ` Michael Albinus
2019-12-28 21:12 ` Peter Ludemann
2019-12-29 15:23 ` Michael Albinus
2020-01-04 18:50 ` Peter Ludemann
2020-01-05 9:28 ` Michael Albinus
2020-01-05 13:04 ` Mattias Engdegård
2020-01-05 19:31 ` Peter Ludemann [this message]
2020-01-05 19:57 ` Mattias Engdegård
2020-01-07 0:01 ` Peter Ludemann
2020-01-07 0:34 ` Peter Ludemann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHjfyZ0na1fVrgtMbxhAiyYPCcRU3TivGwjZu1gWYkh4UQWawQ@mail.gmail.com \
--to=peter.ludemann@gmail.com \
--cc=38644@debbugs.gnu.org \
--cc=mattiase@acm.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.