unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Reconsider make-backup-files default value
@ 2024-09-16  0:15 Martin Edström
  0 siblings, 0 replies; 22+ messages in thread
From: Martin Edström @ 2024-09-16  0:15 UTC (permalink / raw)
  To: pinmacs; +Cc: emacs-devel

> No other editors [2] are doing something like that by default;

Several do, e.g. LibreOffice, TextEdit... they just hide it.  The equivalent of having a backup-directory-alist configured to put it all inside ~/.emacs.d.

Interestingly, Emacs Prelude places it in /tmp, and Doom Emacs disables backups [1], but in case the user re-enables them, it actually hashes the backup filenames to make them shorter [2] but I don't like it since I rename files a lot and the hashed names destroy my ability to find backups under an old name.

[1] https://github.com/doomemacs/doomemacs/blob/master/lisp/doom-editor.el#L94

[2] https://github.com/doomemacs/doomemacs/blob/master/lisp/doom-editor.el#L151


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Reconsider make-backup-files default value
@ 2024-09-15 22:19 James Ipswich
  2024-09-15 23:29 ` Jeremy Baxter
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: James Ipswich @ 2024-09-15 22:19 UTC (permalink / raw)
  To: emacs-devel@gnu.org

Emacs has traditionally kept all defaults very minimal, and most
functionality needs to be explicitly enabled by the user. For example,
out of the box minibuffer and CAPF completion is quite plain.

However, make-backup-files default value is t, which I think goes
against this philosophy. If I open stock Emacs, with no configuration,
it pollutes all directories with backup files whenever I edit something.
This is a bit intrusive as I have never enabled such a functionality.

I understand this default is old, and comes from a time when machines
were less reliable and version control systems were not widely used. I
also understand some current users enjoy this functionality as an extra
safety net.

Personally, I think make-backup-files should default to nil or some
other less intrusive configuration, which would be better aligned with
the rest of Emacs defaults and how other software behaves.

Any thoughts?




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

end of thread, other threads:[~2024-09-20  8:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-16  0:15 Reconsider make-backup-files default value Martin Edström
  -- strict thread matches above, loose matches on Subject: below --
2024-09-15 22:19 James Ipswich
2024-09-15 23:29 ` Jeremy Baxter
2024-09-16 12:04   ` Eli Zaretskii
2024-09-18 20:14     ` Petteri Hintsanen
2024-09-18 21:46       ` Christopher Howard
2024-09-19  5:23         ` Eli Zaretskii
2024-09-19  6:10           ` Juri Linkov
2024-09-19  6:36             ` Eli Zaretskii
2024-09-15 23:40 ` pinmacs
2024-09-16 12:10   ` Eli Zaretskii
2024-09-16  0:03 ` James Ipswich
2024-09-16  0:14   ` Jeremy Baxter
2024-09-16 12:02 ` Eli Zaretskii
2024-09-18 13:24   ` Po Lu
2024-09-18 13:37     ` Emanuel Berg
2024-09-18 23:31     ` Stefan Kangas
2024-09-19  2:41       ` Po Lu
2024-09-19  5:23       ` Alfred M. Szmidt
2024-09-20  8:23         ` Andrea Corallo
2024-09-19  5:49       ` Eli Zaretskii
2024-09-18  3:51 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).