emacs-devel
[Top][All Lists]
Advanced

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

Re: Reconsider make-backup-files default value


From: Martin Edström
Subject: Re: Reconsider make-backup-files default value
Date: Mon, 16 Sep 2024 02:15:19 +0200 (CEST)

> 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


reply via email to

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