From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: How to disable auto save on Emacs 26.1 Date: Thu, 4 Oct 2018 07:55:45 -0500 Message-ID: References: <87zhvvqipx.fsf@wallenfang.de> <87murv5d4q.fsf@wallenfang.de> <20181004110446.GA31656@tuxteam.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1538657296 31569 195.159.176.226 (4 Oct 2018 12:48:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2018 12:48:16 +0000 (UTC) Cc: Help GNU Emacs , tom@wallenfang.de To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 04 14:48:12 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8332-000823-Q2 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Oct 2018 14:48:08 +0200 Original-Received: from localhost ([::1]:55621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8359-0005Iw-38 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Oct 2018 08:50:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g834a-0005In-Mo for help-gnu-emacs@gnu.org; Thu, 04 Oct 2018 08:49:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g834X-0001fF-Ec for help-gnu-emacs@gnu.org; Thu, 04 Oct 2018 08:49:44 -0400 Original-Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:38451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g834V-0001di-Lq for help-gnu-emacs@gnu.org; Thu, 04 Oct 2018 08:49:40 -0400 Original-Received: by mail-pf1-x42a.google.com with SMTP id f29-v6so478319pff.5 for ; Thu, 04 Oct 2018 05:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=K6WHl7piDwV0/KLteaKDQOuLEdOn6mk3F6vi6rQVR2I=; b=AXlJtecquDTPLCzXCiGg4aEleqtgtWdUwW+BZFPb4N4s7wlz9qhR3JlIKJB0fJWUcd YOebGObUgpayKXlmvZyRUF50L60/+UU4aTqcqqkcvpAGbCsvJDk6RXhvJVvoMa1XgXQF ruk6j+LJVAgmwJZISZ1fRKLk3YYRCLPtxwNDsrxICGRnp35wvdwrrb62+8wulFQPFJBM 5jFPBVZhHefGd62RByG9umzB739K1S4+rNSqhYx2BA2u7KRfn5joS9O5A0cjSPnIwZWO zLyP8vegCcfVXa35JUVof4NxwYRDZac0pmOklygK/ZdcSDTIU26ekbBgzVCzTmPTTyXR rWlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=K6WHl7piDwV0/KLteaKDQOuLEdOn6mk3F6vi6rQVR2I=; b=JqgEIjVLQjmxAqE1YjCcGUjZR0pdyPI9hx+4QIdGX1BMygjHtpNCE8Y07HAtWIgkhj 59hivPwnBK4osw8kag89lonC1NIMvaYB07J6Px9RKf1yO/qF6STi7WmjUEOKQ1wNUC18 qo8VIj+kGDYXvar2EXj+VK9nr/yXRcOH2GPXcnDa8yik3cZ32lIu4//8wpFpt9U306FB dBH/iZty2DicnodMXSh6qordgFBaH6QThC0zMyC3+fpJ4AIqj6lLNzFUqBk10eItVswx Ht6uITT4BBtJ86TavhO6ZFI2IiDtst5noUnVlpUqNunjYbCvDSQUNT08qrSJpFiLQQV3 B45g== X-Gm-Message-State: ABuFfog+IdmFmTh6t4lFJWVR9w0Kx5AVlx7vzWnHt2GriKg8lRMNXAqd YOH6fcwhfxWUC66OtN9FD5uRqmbczVIDyAS6AuwpeJ7tHeWx X-Google-Smtp-Source: ACcGV60/akihLdKAHv4FLterMI3WW+k8mrLU+LRsdJqXO9VWVnhfZatLId+Hzxay+Sb+jegWmzPRqck4gQA2EbNueP4= X-Received: by 2002:a62:c80d:: with SMTP id z13-v6mr6573466pff.176.1538657376421; Thu, 04 Oct 2018 05:49:36 -0700 (PDT) In-Reply-To: <20181004110446.GA31656@tuxteam.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118112 Archived-At: > If your concern is file system clutter, better leave auto-save alone. > It's not going to clutter your file system (unless something else is > going horribly wrong). As for backup, you can disable it or even teach > it to use one directory for all backups (I have typically something > beneath my ~/.emacs.d). Coming a bit late to the game... Adding to Tom=C3=A1s's point, if you want to eliminate backup files, don't just disable it. Replace it with a proper version control system of some sort. Think of backup files (I generally use numeric backups to actually retain more than one old copy - more clutter!) as a defense against shooting yourself in the foot. A version control system does that, only better. Tools like Git or Mercurial make it trivial to create and manage little repositories ("git init" creates a new repo in the current directory, for example). You need not push changes to a central server if you don't care to. The elements in the filesystem which support the repository will generally be invisible to the casual glance (hiding as directories with leading dots on Unix-type systems). Most are well-integrated with Emacs, so you can manage commits and other activities directly from within Emacs (I use the vc package). Furthermore, once Emacs knows a version control system has your back, it stops saving those (pesky-to-you) backup files. I apologize if this is all old hat. I wanted to make sure you understood that backup files serve a valuable purpose (as do their big brethren, version control systems). I suspect most folks reading this mailing list have been thankful for this feature on more than one occasion. Skip