On Mon, 07 Jul 2014 13:45:34 +0900, Katsumi Yamaoka wrote: > On Sun, 06 Jul 2014 01:09:42 +0200, Michael Heerdegen wrote: [...] >> The variable `auto-save-include-big-deletions` controls whether >> auto-save-mode is turned off when the buffer has shrunk a lot - the >> default is nil (meaning: turn off).
>> Gnus would have to set the buffer local value of this var to non-nil to >> fix this. > I'll do it. Thanks. Currently the change below has been installed in the Emacs trunk only. I'll install it in the Gnus Git master too when the server ups (it seems down now).
--- gnus-start.el~ 2014-03-23 23:08:55.000000000 +0000 +++ gnus-start.el 2014-07-07 05:38:49.670117000 +0000 @@ -889,6 +889,11 @@ (setq buffer-save-without-query t) (erase-buffer) (setq buffer-file-name dribble-file) + ;; The buffer may be shrunk a lot when deleting old entries. + ;; It caused the auto-saving to stop. + (if (featurep 'emacs) + (set (make-local-variable 'auto-save-include-big-deletions) t) + (set (make-local-variable 'disable-auto-save-when-buffer-shrinks) nil)) (auto-save-mode t) (buffer-disable-undo) (bury-buffer (current-buffer))
_______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english