GNU bug report logs -
#43412
[FEATURE] autorevert-only-if-visible [PATCH]
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
The attached proposed patch adds a defcustom and makes a change to two
existing functions in order to allow a user the option to only have
autorevert mode operate on visible buffers. The change to function
'after-find-files' may also fix a bug (or change behavior) in that
sometimes when being prompted to manually revert a buffer that had been
in auto-revert-mode, the auto-revert-mode status would be lost, ie. set
to nil.
Use of this feature:
1) Reduces CPU workload when using autorevert
2) Reduces messages when using `auto-revert-verbose'
Possible disadvantage:
1) When making a buffer visible, it might take as long as
'auto-revert-interval' seconds for any accumulated changes to
auto-revert. The default for that value is five seconds.
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
[autorevert.patch (text/x-diff, attachment)]
[files.patch (text/x-diff, attachment)]
[NEWS.patch (text/x-diff, attachment)]
This bug report was last modified 151 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.