From unknown Mon Jun 16 23:40:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11274 <11274@debbugs.gnu.org> To: bug#11274 <11274@debbugs.gnu.org> Subject: Status: 23.1; auto-save invoked in read-only directories Reply-To: bug#11274 <11274@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:40:39 +0000 retitle 11274 23.1; auto-save invoked in read-only directories reassign 11274 emacs submitter 11274 severity 11274 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 18 18:31:11 2012 Received: (at submit) by debbugs.gnu.org; 18 Apr 2012 22:31:11 +0000 Received: from localhost ([127.0.0.1]:40433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKdP1-0000vJ-K4 for submit@debbugs.gnu.org; Wed, 18 Apr 2012 18:31:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54417) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKce7-0007QN-Cc for submit@debbugs.gnu.org; Wed, 18 Apr 2012 17:42:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKcdj-0006Rw-3f for submit@debbugs.gnu.org; Wed, 18 Apr 2012 17:42:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:60133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKcdj-0006Rs-0H for submit@debbugs.gnu.org; Wed, 18 Apr 2012 17:42:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKcde-0001CW-R3 for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2012 17:42:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKcda-0006RQ-6B for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2012 17:42:10 -0400 Received: from mail.us.archive.org ([207.241.224.6]:58083 helo=mail.archive.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKcdZ-0006RD-Tf for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2012 17:42:06 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.archive.org (Postfix) with ESMTP id A3AA9684109C; Wed, 18 Apr 2012 14:03:39 -0700 (PDT) Received: from mail.archive.org ([127.0.0.1]) by localhost (mail.archive.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id J2mk6Hf8JX5v; Wed, 18 Apr 2012 14:03:38 -0700 (PDT) Received: from vm-home1.us.archive.org (vm-home1.us.archive.org [207.241.224.4]) by mail.archive.org (Postfix) with SMTP id A61AE684106F; Wed, 18 Apr 2012 14:03:37 -0700 (PDT) Received: (nullmailer pid 2632 invoked by uid 13003); Wed, 18 Apr 2012 21:03:37 -0000 To: bug-gnu-emacs@gnu.org Subject: 23.1; auto-save invoked in read-only directories Date: Wed, 18 Apr 2012 14:03:37 -0700 Message-Id: <1334783017.019980.2631.nullmailer@vm-home1.us.archive.org> From: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 18 Apr 2012 18:31:06 -0400 Cc: danh@archive.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) When i edit a file in a directory to which i do not have write-permission (such as /etc), after i type a line or two of text, or type a few characters and then move around in the buffer, emacs will suddenly freeze and just print a message in the mini-buffer that my text could not be auto-saved. The message stays up for several seconds before it yields control of the terminal back to me. This is extremely inconvenient, and the only way i can prevent this from happening is to frequently save the file. I do not want to turn auto-save off, or to mark any buffers as to not be auto-saved, or to change the location of the auto-saves (unless it can be done once and forever, only apply to files in write-protected directories and no others, and not require a listing of either the files or directories to which it is to be applied). The desired behavior is that emacs recognize that a directory is write-protected, and if an attempt to write to that directory fails, that it fail silently. (It would be quite OK to have this governed by the behavior of a variable set in my .emacs file.) I am not the only person who has reported this problem to newsgroups, but i wasn't aware of the possibility of filing a bug from within emacs until Michael Heerdegen told me about it. (Note that emacs does not crash, and never has for me. But the freezing happens to me, colleagues of mine, and people i've never heard of on the newsgroups.) dan (danh@archive.org) In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-11-23 on yellow, modified by Debian configured using `configure '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ > 1 ; 2 4 0 3 ; 0 c ESC x C-f r e p o r t - e m TAB RET Recent messages: Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50git-core.el (source)...done Loading /etc/emacs/site-start.d/50js2-mode.el (source)...done Loading /etc/emacs/site-start.d/50mmm-mode.el (source)...done Loading /etc/emacs/site-start.d/50php-elisp.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done Loading /home/danh/elisp/readonly.el (source)...done Loading /home/danh/.abbrev_defs...done For information about GNU Emacs and the GNU system, type C-h C-a. call-interactively: End of buffer From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 19 02:44:37 2012 Received: (at submit) by debbugs.gnu.org; 19 Apr 2012 06:44:37 +0000 Received: from localhost ([127.0.0.1]:40770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKl6X-0005TV-G3 for submit@debbugs.gnu.org; Thu, 19 Apr 2012 02:44:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36302) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKl6S-0005TG-5p for submit@debbugs.gnu.org; Thu, 19 Apr 2012 02:44:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKl61-00072y-60 for submit@debbugs.gnu.org; Thu, 19 Apr 2012 02:44:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,BODY_8BITS, FREEMAIL_FROM,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:56308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKl61-00072u-2m for submit@debbugs.gnu.org; Thu, 19 Apr 2012 02:44:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKl5w-00087L-BO for bug-gnu-emacs@gnu.org; Thu, 19 Apr 2012 02:44:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKl5p-000724-Qu for bug-gnu-emacs@gnu.org; Thu, 19 Apr 2012 02:43:55 -0400 Received: from plane.gmane.org ([80.91.229.3]:47403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKl5p-00071x-Jv for bug-gnu-emacs@gnu.org; Thu, 19 Apr 2012 02:43:49 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SKl5n-0008R4-7F for bug-gnu-emacs@gnu.org; Thu, 19 Apr 2012 08:43:47 +0200 Received: from c-71-237-25-24.hsd1.co.comcast.net ([71.237.25.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Apr 2012 08:43:47 +0200 Received: from kevin.d.rodgers by c-71-237-25-24.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Apr 2012 08:43:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Kevin Rodgers Subject: Re: bug#11274: 23.1; auto-save invoked in read-only directories Date: Thu, 19 Apr 2012 00:44:33 -0600 Lines: 58 Message-ID: References: <1334783017.019980.2631.nullmailer@vm-home1.us.archive.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-25-24.hsd1.co.comcast.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 In-Reply-To: <1334783017.019980.2631.nullmailer@vm-home1.us.archive.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) On 4/18/12 3:03 PM, danh@mail.archive.org wrote: > When i edit a file in a directory to which i do not have > write-permission (such as /etc), after i type a line or > two of text, or type a few characters and then move around > in the buffer, emacs will suddenly freeze and just print > a message in the mini-buffer that my text could not be auto-saved. > > The message stays up for several seconds before it > yields control of the terminal back to me. > > This is extremely inconvenient, and the only way i can > prevent this from happening is to frequently save the file. These statements seem contradictory to me: > I do not want to turn auto-save off, or to mark any buffers ^^^^^^^^^^^^^^^^^^^^^^ > as to not be auto-saved, or to change the location of the ^^^^^^^^^^^^^^^^^^^^^^^ > auto-saves (unless it can be done once and forever, only > apply to files in write-protected directories and no others, > and not require a listing of either the files or directories > to which it is to be applied). > > The desired behavior is that emacs recognize that a directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > is write-protected, and if an attempt to write to that directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > fails, that it fail silently. (It would be quite OK to have ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > this governed by the behavior of a variable set in my .emacs file.) (add-hook 'find-file-hook (lambda () (when (file-writable-p (file-name-directory buffer-file-name)) (auto-save-mode 0)))) (add-hook 'find-file-not-found-functions (lambda () (when (file-writable-p (file-name-directory buffer-file-name)) (auto-save-mode 0)) ;; don't short-circuit run-hook-with-args-until-success: nil)) > I am not the only person who has reported this problem to > newsgroups, but i wasn't aware of the possibility of filing > a bug from within emacs until Michael Heerdegen told me > about it. > > (Note that emacs does not crash, and never has for me. But > the freezing happens to me, colleagues of mine, and people > i've never heard of on the newsgroups.) > > dan (danh@archive.org) -- Kevin Rodgers Denver, Colorado, USA From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 19 21:04:42 2012 Received: (at 11274) by debbugs.gnu.org; 20 Apr 2012 01:04:42 +0000 Received: from localhost ([127.0.0.1]:42999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SL2HB-0008CT-TL for submit@debbugs.gnu.org; Thu, 19 Apr 2012 21:04:42 -0400 Received: from fmmailgate05.web.de ([217.72.192.243]:53747) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SL2H7-0008CE-0X for 11274@debbugs.gnu.org; Thu, 19 Apr 2012 21:04:38 -0400 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate05.web.de (Postfix) with ESMTP id 46B3E6DE6E74 for <11274@debbugs.gnu.org>; Fri, 20 Apr 2012 03:04:09 +0200 (CEST) Received: from snow.dragon ([89.204.137.12]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0MSJ0V-1SoV7k26I7-00TVGw; Fri, 20 Apr 2012 03:04:08 +0200 From: Michael Heerdegen To: Kevin Rodgers Subject: Re: bug#11274: 23.1; auto-save invoked in read-only directories References: <1334783017.019980.2631.nullmailer@vm-home1.us.archive.org> Date: Fri, 20 Apr 2012 03:06:04 +0200 In-Reply-To: (Kevin Rodgers's message of "Thu, 19 Apr 2012 00:44:33 -0600") Message-ID: <87lilrnrer.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V02:K0:9zDvzsNVWHF6yva1apSM7fZBBqTt2UAkfja5nwtOIlp sspYq5mXqXxbsjNBvm0MHI0Lm5U7c2O0fBSosN2ABExo3xmopF ShNDg5AQi4f2Qxfs8jtT+dp8+jjEVEFlHssFXqZOYxo7TyaQNT GNRboZhy+nGbXgU1dAvO+OLdKzsxwI0F6UAIZvKOKYQyhA98Lx +LyMqF8Cf1C8WNZluYgxP8M50axVoIe/tM83qy0Vw4= X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11274 Cc: 11274@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Hello Kevin, > On 4/18/12 3:03 PM, danh@mail.archive.org wrote: > > When i edit a file in a directory to which i do not have > > write-permission (such as /etc), after i type a line or > > two of text, or type a few characters and then move around > > in the buffer, emacs will suddenly freeze and just print > > a message in the mini-buffer that my text could not be auto-saved. > > > > The message stays up for several seconds before it > > yields control of the terminal back to me. > > > > This is extremely inconvenient, and the only way i can > > prevent this from happening is to frequently save the file. > > These statements seem contradictory to me: > > > I do not want to turn auto-save off, or to mark any buffers > ^^^^^^^^^^^^^^^^^^^^^^ > > as to not be auto-saved, or to change the location of the > ^^^^^^^^^^^^^^^^^^^^^^^ > > auto-saves (unless it can be done once and forever, only > > apply to files in write-protected directories and no others, > > and not require a listing of either the files or directories > > to which it is to be applied). > > > > The desired behavior is that emacs recognize that a directory > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > is write-protected, and if an attempt to write to that directory > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > fails, that it fail silently. (It would be quite OK to have > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > this governed by the behavior of a variable set in my .emacs file.) He means that he doesn't want to have to intervene in any form. He wants that Emacs turns off auto saving for the file when it's not possible to auto-save. > =EF=BB=BF=EF=BB=BF=EF=BB=BF(add-hook 'find-file-hook > (lambda () (when (file-writable-p > (file-name-directory buffer-file-name)) > (auto-save-mode 0)))) > > (add-hook 'find-file-not-found-functions > (lambda () (when (file-writable-p > (file-name-directory buffer-file-name)) > (auto-save-mode 0)) > ;; don't short-circuit run-hook-with-args-until-success: > nil)) Yes, something like that works no doubt (I think you mean (not (file-writable-p ...)) ). In addition, there should be a warning for the user. But something like that should not have to be done in the user's configuration. The current behavior of Emacs makes no sense at all. It continues to try to autosave, fails every time, beeps and beeps and shows messages. This is not only very annoying, it does not make any sense at all - it has no benefit for the user. So, can we add something like the above code to Emacs? Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 22:57:25 2016 Received: (at control) by debbugs.gnu.org; 28 Jun 2016 02:57:25 +0000 Received: from localhost ([127.0.0.1]:58606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHjDJ-0003vz-0b for submit@debbugs.gnu.org; Mon, 27 Jun 2016 22:57:25 -0400 Received: from mail-oi0-f44.google.com ([209.85.218.44]:36404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHjDH-0003vj-7E for control@debbugs.gnu.org; Mon, 27 Jun 2016 22:57:23 -0400 Received: by mail-oi0-f44.google.com with SMTP id f189so4891330oig.3 for ; Mon, 27 Jun 2016 19:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=G8sqJZ237umbkYT1GYLQobeEqSyhVvoNEzHFMJBUOSg=; b=G8IdGDUAAmDkXVrDpp2ySHTrPrvHgCViForsaJDBPKqcvago+KfQsBxmXuuGVGMChC GbiB+WN2J6bU94Pg3AdegFkeHzuC2VgXc1LIBrCIkiNjLywTfXYtOmfAwRcNrU8weF4O qwXY+vkYKOziZKDHEb5DFMMEyMMXuXkbGPLIQ8U8A5KbCjhlV8dcTv317kPhKShR8U3x W14+07IdcJXtmp/iU5fRJbZK8otHRKp2UzCawT9b0U2naqPToLn+xjkpgkTuPj/DmQ/Y /fN5tW9a4SupVKQ5eHblu1qtsuQJSumGmEininLqwyx65an42wIWN7fEE9EKrK1KHhAt P8qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=G8sqJZ237umbkYT1GYLQobeEqSyhVvoNEzHFMJBUOSg=; b=A3Bh72EiYNRYdb/7drCL7+ulCMiDkXadzDtRI4/lQGd6KCqBmTaJNYDAOgu2NBsfQM owO/w5IAzorawuINP/bTYioVv83SKSlVUeh3e73eWC141NT7/dN/G+2dh+xyFI+fXmia oqCFLG+9TqVxadVYFOzUR7/us/EvQakKfYNm+HHLUrQNdJIkfO/oKW7PtFQlriObgeOb amnT4vn+o/O0mEQAtiOav/8fp/vXxEXyrA8abZwBugJtIRHt2n+2LWFls8joOunAHBa5 BZ93BO+rTjk03HNp6YzJudkehCLrw3N43ft9KHwKyb6wAoyG6KoEsOaWs0CZXSHdZ3dV 3Zfg== X-Gm-Message-State: ALyK8tLrq1RHQ3XkIVqdLG/gsmGce/pGLd+5ouRS0KFSldDPPWxO5ELX/FUMx/o2LlLGpx0UlfBzu0YgGAup4Q== X-Received: by 10.202.85.9 with SMTP id j9mr239543oib.202.1467082637771; Mon, 27 Jun 2016 19:57:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.52.238 with HTTP; Mon, 27 Jun 2016 19:57:17 -0700 (PDT) From: Noam Postavsky Date: Mon, 27 Jun 2016 22:57:17 -0400 X-Google-Sender-Auth: YO55D-xYVRtVjQD6x_J8o8zQGpQ Message-ID: Subject: auto-save in unwritable directories To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) forcemerge 11274 18907 quit From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 22:29:49 2021 Received: (at 11274) by debbugs.gnu.org; 28 May 2021 02:29:49 +0000 Received: from localhost ([127.0.0.1]:53369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmSFx-0005kf-Fg for submit@debbugs.gnu.org; Thu, 27 May 2021 22:29:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmSFv-0005kN-Bd; Thu, 27 May 2021 22:29:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7rNtDlJakoolH+51BkTUzi1DNewuFMGxU1/d9bYfaCs=; b=N1ovJJ8vRsMPZ+r2ygEAAtEcLG vTjipwTHL8U9Lr4LAKD2aEZrRb90U0hMLLTJ4aTgVQ+EEiGKcwlSGRmNs1o3prD/bqqbk9GHti5rt xmf6gtIA7H5NY/mbYgkJGg/ZFr9c/PAVLKLaYRjvUU2gEqsZ3XzRMba8bCxTktMousXQ=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmSFm-0003nE-QS; Fri, 28 May 2021 04:29:41 +0200 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#18907: 25.0.50; long pause when auto-save fails References: <1334783017.019980.2631.nullmailer@vm-home1.us.archive.org> <87lilrnrer.fsf@web.de> X-Now-Playing: The Residents's _The King & Eye: RMX_: "A Fool such as I" Date: Fri, 28 May 2021 04:29:38 +0200 In-Reply-To: <87lilrnrer.fsf@web.de> (Michael Heerdegen's message of "Fri, 20 Apr 2012 03:06:04 +0200") Message-ID: <87zgwfwpyl.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Heerdegen writes: > He means that he doesn't want to have to intervene in any form. He > wants that Emacs turns off auto saving for the file when it's not > possible to auto-save. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 11274 Cc: 18907@debbugs.gnu.org, 11274@debbugs.gnu.org, Kevin Rodgers X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Michael Heerdegen writes: > He means that he doesn't want to have to intervene in any form. He > wants that Emacs turns off auto saving for the file when it's not > possible to auto-save. I think that this has basically been implemented in the years since this was reported. These days, Emacs will warn by popping up the *Warnings* buffer: Error (auto-save): Auto-saving foo: Opening output file: Permission denied, /etc/#foo# Disable showing Disable logging And you can disable these messages by clicking on the links. So I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 22:29:56 2021 Received: (at control) by debbugs.gnu.org; 28 May 2021 02:29:56 +0000 Received: from localhost ([127.0.0.1]:53374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmSG3-0005l5-W2 for submit@debbugs.gnu.org; Thu, 27 May 2021 22:29:56 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmSG0-0005kU-HX for control@debbugs.gnu.org; Thu, 27 May 2021 22:29:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OjwUXN8cUwyhcpbRX0L3aabbqOQoiQDRC0nFsboIRsM=; b=OCVtqE6N8SC9fQWiLlivB5C1R8 Lv2VEPcYjMp2GgSbuxipwU4ozenI2WLAiIHwr0EJN/zIL/BH2kRFTzP/DCdK/N2xzLwpVBB9tBT4r be/NPpMx6OBNQWHcHDH+IpZS6oZ435hCzDcGq2VuSyJ6shebJRngoV12AJpu6P/zPxKk=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmSFt-0003nO-3u for control@debbugs.gnu.org; Fri, 28 May 2021 04:29:47 +0200 Date: Fri, 28 May 2021 04:29:44 +0200 Message-Id: <87y2bzwpyf.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18907 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 18907 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 18907 quit From unknown Mon Jun 16 23:40:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 25 Jun 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator