unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to switch off autobackup for files loaded from tramp?
@ 2024-01-29 11:13 Steinar Bang
  2024-01-29 18:52 ` Manuel Giraud via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 9+ messages in thread
From: Steinar Bang @ 2024-01-29 11:13 UTC (permalink / raw)
  To: help-gnu-emacs

Back in September 11 2021 I added the following line to my ~/.emacs:
 (add-to-list 'backup-directory-alist (cons tramp-file-name-regexp nil))

The purpose of that setting was to turn off autobackup for files loaded
from tramp, because emacs on windows went ga-ga when I tried to modify a
file that was loaded from a server that couldn't be contacted at the
time of edit (because of firewalls).

I think the setting worked back in 2021 at whatever emacs was the
current one back then.

But the setting does not work now and looking at the
backup-directory-alist documentation, I think it is because the nil
result just tells autobackup to work as default...?

Anyway: does someone have a current, working, config that will disable
autobackup on files loaded from tramp?

Thanks!


- Steinar



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-30 12:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-29 11:13 How to switch off autobackup for files loaded from tramp? Steinar Bang
2024-01-29 18:52 ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-30  8:13   ` Steinar Bang
2024-01-30  9:21     ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-30  9:48       ` Steinar Bang
2024-01-30 10:16         ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-30 11:40           ` Steinar Bang
2024-01-30 11:53             ` Steinar Bang
2024-01-30 12:13               ` Steinar Bang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).