[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25478: 26.0.50; No hooks are called when auto-saving

From: Eli Zaretskii
Subject: bug#25478: 26.0.50; No hooks are called when auto-saving
Date: Sun, 26 Mar 2017 21:45:59 +0300

> From: Philipp Stephani <address@hidden>
> Date: Sun, 26 Mar 2017 18:21:01 +0000
> Cc: address@hidden
>  All in all, I think this option is subtly dangerous and should be
>  either deprecated or completely reimplemented to invoke
>  basic-save-buffer instead. I'm quite sure this option made sense in
>  the past, when complications with encoding and save-related hooks
>  didn't exist, but that is no longer the case in Emacs these days.
>  If someone thinks using this option will allow them not to bother with
>  saving their edits, they are in for an unpleasant surprise.
> That's quite unfortunate, as not having to bother with saving edits manually 
> is a very desirable feature that I
> think Emacs should offer out of the box.
> If you really want to deprecate auto-save-visited-file-name, how about adding 
> a simple global minor mode that
> invokes save-some-buffers from an idle timer to files.el? 

As I wrote, I'm also okay with Someoneā„¢ volunteering to reimplement
this option such that it invokes basic-save-buffer instead.

A minor mode that you describe would also be fine, but then it should
probably disable auto-saving if auto-save-visited-file-name is set,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]