From unknown Sun Aug 10 00:25:36 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#17148 <17148@debbugs.gnu.org> To: bug#17148 <17148@debbugs.gnu.org> Subject: Status: Revert buffer menu-item and file permission changes Reply-To: bug#17148 <17148@debbugs.gnu.org> Date: Sun, 10 Aug 2025 07:25:36 +0000 retitle 17148 Revert buffer menu-item and file permission changes reassign 17148 emacs submitter 17148 Joe Camaioni severity 17148 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 31 11:44:13 2014 Received: (at submit) by debbugs.gnu.org; 31 Mar 2014 15:44:13 +0000 Received: from localhost ([127.0.0.1]:58022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUeNg-0006ZK-8g for submit@debbugs.gnu.org; Mon, 31 Mar 2014 11:44:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40233) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUd1O-0004KB-JZ for submit@debbugs.gnu.org; Mon, 31 Mar 2014 10:17:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUd1I-0000lu-Jt for submit@debbugs.gnu.org; Mon, 31 Mar 2014 10:17:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,NO_DNS_FOR_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUd1I-0000lq-GY for submit@debbugs.gnu.org; Mon, 31 Mar 2014 10:17:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUd1D-0000oP-Bt for bug-gnu-emacs@gnu.org; Mon, 31 Mar 2014 10:17:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUd16-0000j7-Je for bug-gnu-emacs@gnu.org; Mon, 31 Mar 2014 10:16:55 -0400 Received: from relay.faa.gov ([155.178.252.45]:63245 helo=relay2.faa.gov) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUd16-0000iw-Fv for bug-gnu-emacs@gnu.org; Mon, 31 Mar 2014 10:16:48 -0400 X-IronPort-AV: E=Sophos;i="4.97,765,1389762000"; d="scan'208";a="193271790" Received: from unknown (HELO zeus.ctasdev.tc.faa.gov) ([172.26.86.201]) by relay2.faa.gov with ESMTP; 31 Mar 2014 09:33:23 -0400 Received: from tbfmdev1.ctasdev.tc.faa.gov by zeus.ctasdev.tc.faa.gov (8.12.10+Sun/8.12.10) with ESMTP id s2VDXNfe001911 for ; Mon, 31 Mar 2014 09:33:23 -0400 (EDT) Received: (from jcamaion@localhost) by tbfmdev1.ctasdev.tc.faa.gov (8.14.4/8.14.4/Submit) id s2VDXNuJ029811; Mon, 31 Mar 2014 13:33:23 GMT Date: Mon, 31 Mar 2014 13:33:23 GMT Message-Id: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> From: Joe Camaioni To: bug-gnu-emacs@gnu.org Subject: 23.1; Revert Buffer X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 31 Mar 2014 11:44:10 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.6 (----) A buffer has been loaded with a file. It is initially unwritable. A chmod is performed in a shell window to make it writable. Going into the File menu pulldown, the Revert Buffer stays gray-ed out, and the file is still listed as unwritable. In GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.18.9) of 2011-02-01 on x86-003.build.bos.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.60900000 configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'' 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.iso88591 value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default-enable-multibyte-characters: t Major mode: Tcl Minor modes in effect: text-scale-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-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 nd-emacs-bug-report> Recent messages: Cannot write backup file; backing up in /home/jcamaion/%backup%~ Wrote /home/vobadm/bin/AR_QA_pkg.exp Saving file /home/vobadm/bin/AR_QA_pkg.exp... Wrote /home/vobadm/bin/AR_QA_pkg.exp Note: file is write protected Mark saved where search started Note: file is write protected Buffer is read-only: # Mark saved where search started call-interactively: Text is read-only From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 03:06:43 2014 Received: (at 17148) by debbugs.gnu.org; 1 Apr 2014 07:06:43 +0000 Received: from localhost ([127.0.0.1]:58610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUsmQ-0007oy-EU for submit@debbugs.gnu.org; Tue, 01 Apr 2014 03:06:42 -0400 Received: from mout.gmx.net ([212.227.15.15]:63088) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUsmN-0007op-K0 for 17148@debbugs.gnu.org; Tue, 01 Apr 2014 03:06:40 -0400 Received: from detlef.gmx.de ([93.202.59.15]) by mail.gmx.com (mrgmx003) with ESMTPS (Nemesis) id 0Lhfu5-1WrH9b0TLd-00moXL for <17148@debbugs.gnu.org>; Tue, 01 Apr 2014 09:06:38 +0200 From: Michael Albinus To: 17148@debbugs.gnu.org Subject: Re: bug#17148: 23.1; Revert Buffer In-Reply-To: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> (Joe Camaioni's message of "Mon, 31 Mar 2014 13:33:23 GMT") References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Date: Tue, 01 Apr 2014 09:06:32 +0200 Message-ID: <87ppl1v893.fsf@gmx.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:OQVJ9tOgn1P3td5V0QLAnemYkcr50b71NedtYtiPgt0+HB5iOhE L7nwKD5mgw1GlVz7aiZJtkk5tGPfT8H20cP74q6WGkI/Lausm6pEVj6xOAWgeRQdSP5bpJq uTea19TPmz1Y1xKQ6EukqG0kRAEtb4EojXkU6hYESfDusr2aRGKv7I8QnjTM8wvvIzfzaZ2 G7PFPXQWuhuS/qH9lfbvg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17148 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (/) Joe Camaioni writes: > A buffer has been loaded with a file. It is initially unwritable. A chmod is performed in a shell window to make it writable. Going into the File menu pulldown, the Revert Buffer stays gray-ed out, and the file is still listed as unwritable. Emacs is not notified, when a file changes its state outside Emacs. Only prior to writing to a file Emacs checks, whether a file has changed on disk. The upcoming Emacs 24.4 has implemented file notifications on systems which support it (mainly GNU/Linux and MS Windows). This could be used for this kind of checks. For Emacs 23, I don't regard this as a bug. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 03:08:34 2014 Received: (at control) by debbugs.gnu.org; 1 Apr 2014 07:08:34 +0000 Received: from localhost ([127.0.0.1]:58614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUsoD-0007s9-8W for submit@debbugs.gnu.org; Tue, 01 Apr 2014 03:08:33 -0400 Received: from mout.gmx.net ([212.227.15.15]:62939) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUsoB-0007s1-HI for control@debbugs.gnu.org; Tue, 01 Apr 2014 03:08:32 -0400 Received: from detlef.gmx.de ([93.202.59.15]) by mail.gmx.com (mrgmx101) with ESMTPS (Nemesis) id 0Lbi2Z-1Wsv0o2079-00lDJr for ; Tue, 01 Apr 2014 09:08:29 +0200 Date: Tue, 01 Apr 2014 09:08:23 +0200 Message-Id: <87ob0lv860.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #17148 X-Provags-ID: V03:K0:eL3V5Tw177tDnkqWiaErBRWlfpuVtiLKFevxpx0oJ7czu5uRyCz vOoH9BqjLVrojR+z07b1HAGoilr5HT8ru94qs9/HAgNeE9cY+zd3wcHBGU/Q5xhPwGVMXWv 7NFU+i5aKli/KW6L3NQKyrW69RrIB0xCyQBFI/s+ZkRwQZkbkRqAl9VMt9R5jqG9I2gm+vf OXZmyCfHXVmr+4lLdxzqg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (/) tags 17148 notabug From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 03:14:57 2014 Received: (at control) by debbugs.gnu.org; 1 Apr 2014 07:14:57 +0000 Received: from localhost ([127.0.0.1]:58625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUsuN-00082L-PB for submit@debbugs.gnu.org; Tue, 01 Apr 2014 03:14:56 -0400 Received: from mout.gmx.net ([212.227.15.19]:52776) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUsuL-00082A-Fe for control@debbugs.gnu.org; Tue, 01 Apr 2014 03:14:54 -0400 Received: from detlef.gmx.de ([93.202.59.15]) by mail.gmx.com (mrgmx002) with ESMTPS (Nemesis) id 0Mgt3g-1Wi22u2mVU-00M3r9 for ; Tue, 01 Apr 2014 09:14:52 +0200 Date: Tue, 01 Apr 2014 09:14:46 +0200 Message-Id: <87mwg5v7vd.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #17148 X-Provags-ID: V03:K0:GBcYD5Ygr7E2ibOoin1rmqiCqSCw+dXC1BrKkVy2ZRuZ/6W/coM 2oaJSk6NMrZcNGS0XcZa0+N05MA6tI/IasoJ22UlvjXicfx+aOkpQ9Gmkum8ZY0alc/iJ5g hHJujZgin6XmUfTi8+WXnj9YXT4w0ohQEcKIfiois1wOlFt5+D9GIG9C12JnzbBMMKjnWag Cn6AcuDt2M1YirY7m+Mnw== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (/) tags 17148 notabug close 17148 From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 11:54:14 2014 Received: (at 17148) by debbugs.gnu.org; 1 Apr 2014 15:54:14 +0000 Received: from localhost ([127.0.0.1]:59551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV10u-00010k-LO for submit@debbugs.gnu.org; Tue, 01 Apr 2014 11:54:13 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:32912) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV10s-00010d-RQ for 17148@debbugs.gnu.org; Tue, 01 Apr 2014 11:54:11 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WV10q-00087p-P8; Tue, 01 Apr 2014 11:54:08 -0400 From: Glenn Morris To: Michael Albinus Subject: Re: bug#17148: 23.1; Revert Buffer References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> X-Spook: 64 Vauxhall Cross underground Venezuela Perl-RSA Semtex X-Ran: !`?.8#%}B*E4H%_YF]&xSNr?XRPr~&$@y0i?%u;-^pE(\%l+BhCKt@W$-EXvYu@/;n~&Z% X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 01 Apr 2014 11:54:08 -0400 In-Reply-To: <87ppl1v893.fsf@gmx.de> (Michael Albinus's message of "Tue, 01 Apr 2014 09:06:32 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 17148 Cc: 17148@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.6 (-----) Michael Albinus wrote: > Emacs is not notified, when a file changes its state outside Emacs. Only > prior to writing to a file Emacs checks, whether a file has changed on disk. Why can't the revert-buffer menu-item check the file mode bits match, the same way it verifies the modtime? IMO it should just call file-attributes once, and use that to check time and permissions. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 14:04:41 2014 Received: (at 17148) by debbugs.gnu.org; 1 Apr 2014 18:04:41 +0000 Received: from localhost ([127.0.0.1]:59677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV33A-0006w6-SV for submit@debbugs.gnu.org; Tue, 01 Apr 2014 14:04:41 -0400 Received: from mout.gmx.net ([212.227.15.15]:56924) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV338-0006vv-6Z for 17148@debbugs.gnu.org; Tue, 01 Apr 2014 14:04:39 -0400 Received: from detlef.gmx.de ([93.202.59.15]) by mail.gmx.com (mrgmx102) with ESMTPS (Nemesis) id 0Mam2Q-1WjomP1NKU-00KR2j; Tue, 01 Apr 2014 20:04:35 +0200 From: Michael Albinus To: Glenn Morris Subject: Re: bug#17148: 23.1; Revert Buffer References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> Date: Tue, 01 Apr 2014 20:04:28 +0200 In-Reply-To: (Glenn Morris's message of "Tue, 01 Apr 2014 11:54:08 -0400") Message-ID: <87lhvpncyb.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:qz7z+IVNu7Xg8wH6jXaUF/4MkPJ0tlz3dF1jP2iP6XvxhxX2QHT YoUFNiphCzIXbzCddHAfOh3PVkriMXgkZFt6cYF/E+dX22Lm9Gx07C+WC3pFuTifC2jaTNS nz1W8/pCqsMIb7NrKue/inXNHA5H0SN36WzwDBcqyytmA38DTTARCC8Ca0VYU0FKmnBs/bC j7aYZAMON8NhAd7p/e9bg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17148 Cc: 17148@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (/) tags 17148 - notabug fixed 17148 24.4 thanks Glenn Morris writes: > Michael Albinus wrote: > >> Emacs is not notified, when a file changes its state outside Emacs. Only >> prior to writing to a file Emacs checks, whether a file has changed on disk. > > Why can't the revert-buffer menu-item check the file mode bits match, > the same way it verifies the modtime? IMO it should just call > file-attributes once, and use that to check time and permissions. Hmm, I wanted to implement something with file notifications. However, surprisingly this problem is reproducible in Emacs 23, but it is NOT reproducible with Emacs 24.3.50. This is because `revert-buffer-function' is set to `revert-buffer--default' since last year. My analysis was wrong, but the result (not a bug) is somehow right for Emacs 24.3. We shall changed that to "Fixed in 24.4", 'tho. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 14:30:41 2014 Received: (at 17148) by debbugs.gnu.org; 1 Apr 2014 18:30:41 +0000 Received: from localhost ([127.0.0.1]:59690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV3SK-0007cr-GZ for submit@debbugs.gnu.org; Tue, 01 Apr 2014 14:30:40 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:36441) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV3SE-0007ce-Tg for 17148@debbugs.gnu.org; Tue, 01 Apr 2014 14:30:36 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WV3SE-0007Y5-2b; Tue, 01 Apr 2014 14:30:34 -0400 From: Glenn Morris To: Michael Albinus Subject: Re: bug#17148: 23.1; Revert Buffer References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> <87lhvpncyb.fsf@gmx.de> X-Spook: NWO computer terrorism Skipjack SHA Peking class struggle X-Ran: 6Sg9.-d:TRo1/&K>]fXq?q(#E$!xh (Michael Albinus's message of "Tue, 01 Apr 2014 20:04:28 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 17148 Cc: 17148@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.6 (-----) Michael Albinus wrote: > However, surprisingly this problem is reproducible in Emacs 23, but it > is NOT reproducible with Emacs 24.3.50. This is because > `revert-buffer-function' is set to `revert-buffer--default' since last > year. So the result is basically now that the "Revert Buffer" menu item is always enabled, which may not be precisely what the OP wanted. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 14:41:02 2014 Received: (at 17148) by debbugs.gnu.org; 1 Apr 2014 18:41:02 +0000 Received: from localhost ([127.0.0.1]:59703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV3cL-0007vO-Ec for submit@debbugs.gnu.org; Tue, 01 Apr 2014 14:41:02 -0400 Received: from mout.gmx.net ([212.227.17.20]:52120) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV3cH-0007vB-SY for 17148@debbugs.gnu.org; Tue, 01 Apr 2014 14:40:59 -0400 Received: from detlef.gmx.de ([93.202.59.15]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M9bYB-1WKMlT0Q7L-00Czdd; Tue, 01 Apr 2014 20:40:56 +0200 From: Michael Albinus To: Glenn Morris Subject: Re: bug#17148: 23.1; Revert Buffer References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> <87lhvpncyb.fsf@gmx.de> Date: Tue, 01 Apr 2014 20:40:49 +0200 In-Reply-To: (Glenn Morris's message of "Tue, 01 Apr 2014 14:30:34 -0400") Message-ID: <87d2h0evv2.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:7AeCDEhCpoX/WUW1fIjqREq2n2KfdBApL0TVKVbMBF0qoLSYwpo WMUjug4AkSGz/pAEwyXrCcc5wauzz5hG8yZ/zFBxsylWTuXeQPwBhP/Qn7jrtyi/k8pu5yV NgkMoeZ6+Dn7F6O0GXRD/VYAHaQfIuWU6u11bU9Ixw/hL+VyZ8smxpr7bFTjI0lec/8piIt JXZQKpJ8w+M9EI0BR5XUg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17148 Cc: 17148@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (/) Glenn Morris writes: >> However, surprisingly this problem is reproducible in Emacs 23, but it >> is NOT reproducible with Emacs 24.3.50. This is because >> `revert-buffer-function' is set to `revert-buffer--default' since last >> year. > > So the result is basically now that the "Revert Buffer" menu item is > always enabled, which may not be precisely what the OP wanted. Yes. Maybe Stefan could explain the reasoning behind. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 15:01:22 2014 Received: (at 17148) by debbugs.gnu.org; 1 Apr 2014 19:01:22 +0000 Received: from localhost ([127.0.0.1]:59718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV3w1-0008Tc-F0 for submit@debbugs.gnu.org; Tue, 01 Apr 2014 15:01:21 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37117) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV3vy-0008TQ-IX for 17148@debbugs.gnu.org; Tue, 01 Apr 2014 15:01:19 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WV3vx-0001BW-Iz; Tue, 01 Apr 2014 15:01:17 -0400 From: Glenn Morris To: Michael Albinus Subject: Re: bug#17148: 23.1; Revert Buffer References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> <87lhvpncyb.fsf@gmx.de> <87d2h0evv2.fsf@gmx.de> X-Spook: Fedayeen Mole FIPS140 security AUTODIN Crypto AG quarter X-Ran: 55ar.V?Vu43(4r7vWK37`XydP7M>w.?Z20Dd6%L!b_Uq/]%D>Z{g\AV&XKc\>ARY:SSG(9 X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 01 Apr 2014 15:01:17 -0400 In-Reply-To: <87d2h0evv2.fsf@gmx.de> (Michael Albinus's message of "Tue, 01 Apr 2014 20:40:49 +0200") Message-ID: <0p1txg6fia.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 17148 Cc: 17148@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.6 (-----) Michael Albinus wrote: >> So the result is basically now that the "Revert Buffer" menu item is >> always enabled, which may not be precisely what the OP wanted. > > Yes. Maybe Stefan could explain the reasoning behind. I'm going to guess it is an unintended consequence of changing the default value of revert-buffer-function (and revert-buffer-insert-file-contents-function) to be non-nil (which was probably for the purpose of advice). This change has no NEWS entry and no documentation updates. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 16:14:31 2014 Received: (at 17148) by debbugs.gnu.org; 1 Apr 2014 20:14:31 +0000 Received: from localhost ([127.0.0.1]:59753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV54o-00022R-S8 for submit@debbugs.gnu.org; Tue, 01 Apr 2014 16:14:31 -0400 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:52754) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV54m-00022H-8M for 17148@debbugs.gnu.org; Tue, 01 Apr 2014 16:14:28 -0400 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id D714784E0A; Tue, 1 Apr 2014 16:14:27 -0400 (EDT) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 973111E5874; Tue, 1 Apr 2014 16:14:04 -0400 (EDT) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 71079B4128; Tue, 1 Apr 2014 16:14:04 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#17148: 23.1; Revert Buffer Message-ID: References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> Date: Tue, 01 Apr 2014 16:14:04 -0400 In-Reply-To: (Glenn Morris's message of "Tue, 01 Apr 2014 11:54:08 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Spam-Status: No X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 17148 Cc: Michael Albinus , 17148@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -2.9 (--) >> Emacs is not notified, when a file changes its state outside Emacs. Only >> prior to writing to a file Emacs checks, whether a file has changed on disk. > Why can't the revert-buffer menu-item check the file mode bits match, > the same way it verifies the modtime? IMO it should just call > file-attributes once, and use that to check time and permissions. Because revert-buffer is meant to handle the file's content, not its read-only setting. E.g. maybe the buffer is read-only because the user hit C-x C-q. Maybe we should use a 3rd setting for buffer-read-only which says "obey the file's writability". Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 02:45:44 2014 Received: (at 17148) by debbugs.gnu.org; 2 Apr 2014 06:45:44 +0000 Received: from localhost ([127.0.0.1]:60179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVEvf-00037z-0B for submit@debbugs.gnu.org; Wed, 02 Apr 2014 02:45:43 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:46879) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVEvb-00037o-Lt for 17148@debbugs.gnu.org; Wed, 02 Apr 2014 02:45:40 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WVEva-0006MO-NE; Wed, 02 Apr 2014 02:45:38 -0400 From: Glenn Morris To: Stefan Monnier Subject: Re: bug#17148: 23.1; Revert Buffer References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> X-Spook: brigand SAFE $400 million in gold bullion encryption X-Ran: Fd&"Z~0l4I}gt[C&wuUy843R?@!vaS5nC-])"==Ziy$_Fikh?){qM2|GgR4PE5sAs1Zn2s X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 02 Apr 2014 02:45:38 -0400 In-Reply-To: (Stefan Monnier's message of "Tue, 01 Apr 2014 16:14:04 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 17148 Cc: Michael Albinus , 17148@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.6 (-----) Stefan Monnier wrote: > Because revert-buffer is meant to handle the file's content, not its > read-only setting. File permission bits can be viewed as just another form of content. > E.g. maybe the buffer is read-only because the user hit C-x C-q. Personally I would not mind seeing a non-greyed-out menu-item for Revert Buffer in such a case. I have modified the buffer ('s meta-data) compared to how it is on disk, so I might want to revert it. From unknown Sun Aug 10 00:25:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Wed, 02 Apr 2014 06:56:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 02:55:23 2014 Received: (at control) by debbugs.gnu.org; 2 Apr 2014 06:55:23 +0000 Received: from localhost ([127.0.0.1]:60201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVF4z-0003Og-Sd for submit@debbugs.gnu.org; Wed, 02 Apr 2014 02:55:22 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47035) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVF4x-0003OW-Dk for control@debbugs.gnu.org; Wed, 02 Apr 2014 02:55:19 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WVF4x-0007PE-0Y for control@debbugs.gnu.org; Wed, 02 Apr 2014 02:55:19 -0400 Date: Wed, 02 Apr 2014 02:55:19 -0400 Message-Id: Subject: control message for bug 17148 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.6 (-----) reopen 17148 retitle 17148 Revert buffer menu-item and file permission changes severity 17148 minor tag 17148 - notabug From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 09:03:21 2014 Received: (at 17148) by debbugs.gnu.org; 2 Apr 2014 13:03:21 +0000 Received: from localhost ([127.0.0.1]:60502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVKp6-00085V-JW for submit@debbugs.gnu.org; Wed, 02 Apr 2014 09:03:20 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:60821) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVKp4-00085N-1n for 17148@debbugs.gnu.org; Wed, 02 Apr 2014 09:03:18 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s32D3E2I029377; Wed, 2 Apr 2014 09:03:16 -0400 Received: by pastel.home (Postfix, from userid 20848) id 998F5602A0; Wed, 2 Apr 2014 09:03:14 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#17148: 23.1; Revert Buffer Message-ID: References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> <87lhvpncyb.fsf@gmx.de> <87d2h0evv2.fsf@gmx.de> <0p1txg6fia.fsf@fencepost.gnu.org> Date: Wed, 02 Apr 2014 09:03:14 -0400 In-Reply-To: <0p1txg6fia.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 01 Apr 2014 15:01:17 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4900=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4900> : inlines <683> : streams <1150243> : uri <1717993> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 17148 Cc: Michael Albinus , 17148@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.9 (-) >>> So the result is basically now that the "Revert Buffer" menu item is >>> always enabled, which may not be precisely what the OP wanted. >> Yes. Maybe Stefan could explain the reasoning behind. > I'm going to guess it is an unintended consequence of changing the > default value of revert-buffer-function (and > revert-buffer-insert-file-contents-function) to be non-nil (which was > probably for the purpose of advice). Right. > This change has no NEWS entry and no documentation updates. It seemed "internal" enough. But I guess I was wrong. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 09:11:03 2014 Received: (at 17148) by debbugs.gnu.org; 2 Apr 2014 13:11:03 +0000 Received: from localhost ([127.0.0.1]:60514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVKwZ-0008Ip-AB for submit@debbugs.gnu.org; Wed, 02 Apr 2014 09:11:03 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:37936) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVKwW-0008IN-4s for 17148@debbugs.gnu.org; Wed, 02 Apr 2014 09:11:00 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s32DAwG4032053; Wed, 2 Apr 2014 09:10:58 -0400 Received: by pastel.home (Postfix, from userid 20848) id 2D333602A0; Wed, 2 Apr 2014 09:04:16 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#17148: 23.1; Revert Buffer Message-ID: References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> Date: Wed, 02 Apr 2014 09:04:16 -0400 In-Reply-To: (Glenn Morris's message of "Wed, 02 Apr 2014 02:45:38 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4900=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4900> : inlines <683> : streams <1150249> : uri <1717998> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 17148 Cc: Michael Albinus , 17148@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.9 (-) > Personally I would not mind seeing a non-greyed-out menu-item for Revert > Buffer in such a case. I have modified the buffer ('s meta-data) > compared to how it is on disk, so I might want to revert it. I can agree, but only if revert-buffer indeed changes buffer-read-only. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 22 09:45:21 2022 Received: (at 17148) by debbugs.gnu.org; 22 Feb 2022 14:45:21 +0000 Received: from localhost ([127.0.0.1]:40576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMWPp-0003Kv-4r for submit@debbugs.gnu.org; Tue, 22 Feb 2022 09:45:21 -0500 Received: from quimby.gnus.org ([95.216.78.240]:52094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMWPn-0003DE-Gp for 17148@debbugs.gnu.org; Tue, 22 Feb 2022 09:45:20 -0500 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=NGdYDvMTzYeny9m6bJvNK/oKJOAmLdc8NlfH19P8J68=; b=p3Rqibb1yA3JWVv4+vjTn/0UY1 edLG+TXI10gdAXzpo2JYLHg7/kfk3UxgfGXUBmykd09L6kqXsGEgaEU/LBSdQOcwZ2crIYFM/Tn5H cqxRyHadvPFKHq1ArYnk3jDW1pGsH24ue2nMgfAtXtaYGGcBYOdW+lkJIPBXDDqgds9g=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMWPd-0006cH-7s; Tue, 22 Feb 2022 15:45:12 +0100 From: Lars Ingebrigtsen To: Joe Camaioni Subject: Re: bug#17148: Revert buffer menu-item and file permission changes References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> X-Now-Playing: Carmen McRae's _Nina Simone And Her Friends_: "Last Time For Love" Date: Tue, 22 Feb 2022 15:45:03 +0100 In-Reply-To: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> (Joe Camaioni's message of "Mon, 31 Mar 2014 13:33:23 GMT") Message-ID: <87mtij9d00.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Joe Camaioni writes: > A buffer has been loaded with a file. It is initially unwritable. A > chmod is performed in a shell window to make it writable. Going into > the File menu pulldown, the Revert Buffer stays gray-ed o [...] 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: -2.3 (--) X-Debbugs-Envelope-To: 17148 Cc: 17148@debbugs.gnu.org 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: -3.3 (---) Joe Camaioni writes: > A buffer has been loaded with a file. It is initially unwritable. A > chmod is performed in a shell window to make it writable. Going into > the File menu pulldown, the Revert Buffer stays gray-ed out, and the > file is still listed as unwritable. I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 22 09:45:26 2022 Received: (at control) by debbugs.gnu.org; 22 Feb 2022 14:45:27 +0000 Received: from localhost ([127.0.0.1]:40579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMWPu-0003RA-CM for submit@debbugs.gnu.org; Tue, 22 Feb 2022 09:45:26 -0500 Received: from quimby.gnus.org ([95.216.78.240]:52106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMWPt-0003Jq-Bz for control@debbugs.gnu.org; Tue, 22 Feb 2022 09:45:25 -0500 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=+KUYKZQFGKc7LY42+K5rRZa3wFGNE8Htxe8fFuVxqGU=; b=KY/NFGUf9m7x6Eh1TIbrIph0VC PPXi5SZxuvLNIkQg0psCbIn9OFnI/VyhjGIfvbwmnHO0oVwcyB9kOrVtiPeNMZ0rv0Xj1rNu/B+5s /6KvkNaNCJ4Dyhp/Btp7wHC5G/ft+JIPEm3qEgmrwFvV6oOSOa2c2vvwdSC6PlQdSaz0=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMWPl-0006cS-4B for control@debbugs.gnu.org; Tue, 22 Feb 2022 15:45:19 +0100 Date: Tue, 22 Feb 2022 15:45:15 +0100 Message-Id: <87ley39czo.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17148 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 17148 29.1 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: -2.3 (--) 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: -3.3 (---) close 17148 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 22 11:53:40 2022 Received: (at 17148) by debbugs.gnu.org; 22 Feb 2022 16:53:40 +0000 Received: from localhost ([127.0.0.1]:42482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMYPz-0002vf-Nn for submit@debbugs.gnu.org; Tue, 22 Feb 2022 11:53:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMYPx-0002vN-Kj for 17148@debbugs.gnu.org; Tue, 22 Feb 2022 11:53:38 -0500 Received: from [2001:470:142:3::e] (port=53200 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMYPq-0003Az-Of; Tue, 22 Feb 2022 11:53:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=SWCH+GwRAbeMbONcql1cjfPsrjvST6lF7Z3KvpkOZFw=; b=ZvmqJ5cLWtT4 RxYm/Uyi+rbkUH+T1X/rLUinjrwE3PpAF3BQrrZuCd9XGXoxiC39ZhiOQYynnPiaiCVYS8KMrSfQ7 feRTBbvW2temyKwjfX0fE4x82d3I/sDRYvg2iUlWFXdKZEXAR7rdQ7/6oT9VIO76NQAmO1M4dwC/v Pii5MDS3Z9Rs27j0YSr2hVpTOv9jFH+iE6TvhiF21ottIjmXAciDxM61uDXoXBU3tj9CwZX/fUClO tnIZ1Bfm+hmOeK0QW43yDXiMd5TVQiEl2U6DE3vRHn/ulRXDAidMhw+uAegNexarJnKCxQoNkhYQ+ 1QhzP1INWve5jvfz/gGuEQ==; Received: from [87.69.77.57] (port=1605 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMYPo-0005su-Cl; Tue, 22 Feb 2022 11:53:29 -0500 Date: Tue, 22 Feb 2022 18:53:36 +0200 Message-Id: <83h78qu9kf.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87mtij9d00.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 22 Feb 2022 15:45:03 +0100) Subject: Re: bug#17148: Revert buffer menu-item and file permission changes References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87mtij9d00.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17148 Cc: 17148@debbugs.gnu.org, jcamaion@tbfmdev1.ctasdev.tc.faa.gov 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: -3.3 (---) > Resent-From: Lars Ingebrigtsen > Original-Sender: "Debbugs-submit" > Resent-CC: bug-gnu-emacs@gnu.org > Resent-Sender: help-debbugs@gnu.org > From: Lars Ingebrigtsen > Date: Tue, 22 Feb 2022 15:45:03 +0100 > Cc: 17148@debbugs.gnu.org > > Joe Camaioni writes: > > > A buffer has been loaded with a file. It is initially unwritable. A > > chmod is performed in a shell window to make it writable. Going into > > the File menu pulldown, the Revert Buffer stays gray-ed out, and the > > file is still listed as unwritable. > > I've now fixed this in Emacs 29. Did you forget to push, by chance? From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 22 12:56:40 2022 Received: (at 17148) by debbugs.gnu.org; 22 Feb 2022 17:56:40 +0000 Received: from localhost ([127.0.0.1]:42592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMZOx-0006vD-UP for submit@debbugs.gnu.org; Tue, 22 Feb 2022 12:56:40 -0500 Received: from quimby.gnus.org ([95.216.78.240]:53862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMZOw-0006v0-BQ for 17148@debbugs.gnu.org; Tue, 22 Feb 2022 12:56:38 -0500 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=cdU56ApVptEA3ZNmen1EPf0OCvFFz0aNO0C/aCdMPXo=; b=nHeRA+TqmsI7BdShH1niAAvlPW dDoKhVNk8huemJ/GWHFfuTHqzDqtkqsB9MNIMPIglKG5rySLAqqMWQdyzBl4HsWDHQ6ObvNQbW/kF QcjU/x6myCnC1XKacjgc5mqrKhQwc4/iuSvWqBC4gSH1NM+pN9lVfC0uygW9RNbqPaZU=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMZOm-0008LO-BT; Tue, 22 Feb 2022 18:56:31 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#17148: Revert buffer menu-item and file permission changes References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87mtij9d00.fsf@gnus.org> <83h78qu9kf.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWsblNMKTLQvr7/ //+5LcaOAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YCFgEhEwqYNxYAAAGySURBVCjPPdHBipxAFAXQ q2iYcWUHq9camNCpr9ChGxpXKvUkuAoDgUl9hSNx06vOML0vJYLWV87TCandqfsKinfhp9gRkSAV AWEKQdth7BT9g3IgfCVoM6NMPUFyWlFC4eiTnbZBBug/QiREXU/NsiU++VlGeiGFLW8m0jMVH6h8 eprLAp7Lw0qUz6GeYS8rKNezBOSWkP66yCvM52X9j74kcsZL8C0fo15LYc2aaLuftHxjDNF9bPaL lpcVRNK+LlpbhiXK7WXI9cgYb4y7oalc2+KpT3JbTtXbo3Vhuik/U1T39fyIJZi+LIWopnqogGCI /e83NamhgeJfiPONHuqpQSFt6+Q9neopwFla46W9yOrfAb8ZgawXP+rr84rWSW6UudkBjju23vBA KjweANcgWn4yihhAm3mGF3h/4gDOUY3RLv+jXAR3ThqNIm5u+w54PeSRQReJkjv8FJBKzvgLOoFU J8hpZmPFWg4XfCg8LnRFzEDh8y1D+4SunT/Q8IqsMYJRUNXK2W0TLg6BU7dwKhtvaEXP3cUhqQOC F38t8teV18zYai2iDS22KCUK3gGqybCpY77hMAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wMi0y MlQwMTozMzoxOCswMDowMFXiVlkAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDItMjJUMDE6MzM6 MTgrMDA6MDAkv+7lAAAAAElFTkSuQmCC X-Now-Playing: David Bowie's _Diamond Dogs_: "Diamond Dogs" Date: Tue, 22 Feb 2022 18:56:25 +0100 In-Reply-To: <83h78qu9kf.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 22 Feb 2022 18:53:36 +0200") Message-ID: <87h78qaipi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Eli Zaretskii writes: > Did you forget to push, by chance? Indeed. Now pushed. 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: -2.3 (--) X-Debbugs-Envelope-To: 17148 Cc: 17148@debbugs.gnu.org, jcamaion@tbfmdev1.ctasdev.tc.faa.gov 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: -3.3 (---) Eli Zaretskii writes: > Did you forget to push, by chance? Indeed. Now pushed. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Aug 10 00:25:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Mar 2022 11:24:07 +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