help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how to force auto-save of buffers not visiting files, right now?


From: Michael Albinus
Subject: Re: how to force auto-save of buffers not visiting files, right now?
Date: Sat, 19 Mar 2022 10:58:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

hw <hw@adminart.net> writes:

Hi,

> For example, I may edit a file '/usr/local/bin/example.pl' which is
> owned by foo:foo because I made that so.  The directory
> '/usr/local/bin/' is owned by root.  How do you expect emacs to create
> a backup file there?  For remote files, I have set
> tramp-auto-save-directory to a local directory, and I'm missing an
> equivalent option for local files.

There is the user option auto-save-file-name-transforms, which gives you
this feature also for local files.

Best regards, Michael.



reply via email to

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