From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "=?UTF-8?Q?Martin=20Edstr=C3=B6m?=" Newsgroups: gmane.emacs.devel Subject: Re: Reconsider make-backup-files default value Date: Mon, 16 Sep 2024 02:15:19 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24434"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel" To: "pinmacs" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 16 04:19:36 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sq1Ky-0006DR-Dp for ged-emacs-devel@m.gmane-mx.org; Mon, 16 Sep 2024 04:19:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sq1KL-0002Pf-OO; Sun, 15 Sep 2024 22:18:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spzOu-0000fT-Vh for emacs-devel@gnu.org; Sun, 15 Sep 2024 20:15:33 -0400 Original-Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spzOq-0004ti-K6 for emacs-devel@gnu.org; Sun, 15 Sep 2024 20:15:31 -0400 Original-Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1spzOi-00CHiA-1q; Mon, 16 Sep 2024 02:15:20 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Message-Id:Date:Subject:CC:To:From:MIME-Version: Content-Transfer-Encoding:Content-Type; bh=rr4sDGWboUMEgFNLISEvRdKVYN/xrY0IKlda9GKLoLQ=; b=3hx6eIXsHUZd7maej4e0YI3A7+ bOE85ZdmW7yBxdgzZoajmmDQCMsP6b9TxgcrV2xhVdpW+7w9+gQP3f51eZ7opgUkQtd5UQQXx9y+3 sRW4YVq6+ZriyOVE1NUEER1JoN2XPhtpkvkESmrMlV9O8tvA5KN7nEdcFP71JPDQ2ZSlN6bN4AQwK lionurwwvAtdIKk1LJAlHKqpTDeczs/mdpjVQmGh+aNilBXCGOuFFAZFvZEGxvoFFAL7DrZB6qRbe EdDJBu9ksNPYQtkmvorCS2gte4BJc0LEMuIWJJCwrIxIRAH/fV2KXJBlgDY6pa3vul7CQH5rL+YT8 Ovcegh4w==; Original-Received: from [10.9.9.128] (helo=rmmprod06.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1spzOh-0004wp-Ky; Mon, 16 Sep 2024 02:15:19 +0200 Original-Received: from mail by rmmprod06.runbox with local (Exim 4.86_2) (envelope-from ) id 1spzOh-0001OU-Js; Mon, 16 Sep 2024 02:15:19 +0200 Content-Disposition: inline Original-Received: from [Authenticated alias (1196375)] by runbox.com with http (RMM6); Mon, 16 Sep 2024 00:15:19 GMT X-RMM-Aliasid: 1196375 X-Mailer: RMM6 Received-SPF: pass client-ip=2a0c:5a00:149::26; envelope-from=meedstrom@runbox.com; helo=mailtransmit05.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 15 Sep 2024 22:18:54 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323653 Archived-At: > No other editors [2] are doing something like that by default; Several do, e.g. LibreOffice, TextEdit... they just hide it. The equivalen= t of having a backup-directory-alist configured to put it all inside ~/.ema= cs.d. Interestingly, Emacs Prelude places it in /tmp, and Doom Emacs disables bac= kups [1], but in case the user re-enables them, it actually hashes the back= up filenames to make them shorter [2] but I don't like it since I rename fi= les 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=