From unknown Wed Jun 18 00:13:03 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#11412 <11412@debbugs.gnu.org> To: bug#11412 <11412@debbugs.gnu.org> Subject: Status: 24.0.95; auto-revert-mode doesn't revert buffer when file becomes writeable Reply-To: bug#11412 <11412@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:13:03 +0000 retitle 11412 24.0.95; auto-revert-mode doesn't revert buffer when file bec= omes writeable reassign 11412 emacs submitter 11412 Eric Hanchrow severity 11412 wishlist tag 11412 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 05 11:26:07 2012 Received: (at submit) by debbugs.gnu.org; 5 May 2012 15:26:07 +0000 Received: from localhost ([127.0.0.1]:37260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQgs3-00058H-3C for submit@debbugs.gnu.org; Sat, 05 May 2012 11:26:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55405) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQgrz-00057n-Ek for submit@debbugs.gnu.org; Sat, 05 May 2012 11:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQgq6-0004NV-4V for submit@debbugs.gnu.org; Sat, 05 May 2012 11:24:07 -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,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:35259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQgq5-0004NG-Uy for submit@debbugs.gnu.org; Sat, 05 May 2012 11:24:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQgq3-0006MM-0A for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 11:24:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQgpz-0004BH-Ii for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 11:24:02 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:63005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQgpz-00046Y-5n for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 11:23:59 -0400 Received: by wgbds1 with SMTP id ds1so1887176wgb.0 for ; Sat, 05 May 2012 08:23:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=UlNRcZwhbjnikGMypXz/FOUBU1JIk/Bt0Xa6+uiPN+A=; b=ib61xjbHrzvLdnx/D66ufE93grbM72Lv+WpRyMoFKs1pSFqX0U2mByaevEIqYV5R/B Jq7Tf91PEGeGgzfJRmkLMatEzFc2Y7OBeQx1AJZr48YkbV7iy0/u9COhAkbhmzo1lpyO tnq5tpBOn9Qn9cOneUrNIl9E1glacl5S0noEfOqYIRqbgFlqKb2HbZJFExezEjuc7xXR lrFPPOxivVRry6v43m8cNQ4Z4lnLkJCuQdDIJurdG15sg/hHhCgnuYQKyG1+Tp5QQ98e CZiRbG+mAWyy5vokyaSpN+UVR0Gq0KnSWS+sw9JSYl1s9yT1fagpjw1i1sbhdEWe3Zou yguw== Received: by 10.216.135.105 with SMTP id t83mr6128608wei.105.1336231436586; Sat, 05 May 2012 08:23:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.61.66 with HTTP; Sat, 5 May 2012 08:23:36 -0700 (PDT) From: Eric Hanchrow Date: Sat, 5 May 2012 08:23:36 -0700 Message-ID: Subject: 24.0.95; auto-revert-mode doesn't revert buffer when file becomes writeable To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 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.1 (------) 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.1 (------) This is probably not an actual bug, since I think Emacs is doing what it was designed to do. Rather, it's more of a feature request. Put this form in a freshly-started emacs and evaluate it: (let ((fn (make-temp-file "frotzplotz"))) (set-file-modes fn #o444) (find-file fn) (auto-revert-mode 1) (message "Note the %% in the mode line") (sit-for 1) (set-file-modes fn #o644) (message "It'd be nice if the %% in the mode line went away")) When the evaluation finishes, you'll see a (empty) buffer visiting the temp file. The buffer will be read-only, as indicated by the %% in the mode line. However, this is less than ideal; the file is writeable, so it'd be nice if the mode line so indicated. In fact, the buffer never reverted; I assme because Emacs only looks at the st_mtime field of the stat info, whereas when I made the file writeable, only the st_ctime field changed. So: perhaps verify-visited-file-modtime could check st_ctime as well, or (probably less disruptive) perhaps auto-revert-handler could check that. This change would be useful in one case: when I'm using a revision-control system that "locks" files by making them read-only, and I then "check out" the file, it'd be nice if my read-only buffer would automatically become writable to reflect the corresponding change in the underlying file. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/local/src/emacs/etc/DEBUG. In GNU Emacs 24.0.95.1 (i686-pc-linux-gnu) of 2012-04-04 on ip-10-171-85-229 Configured using: `configure '--without-x'' 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.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t erc-list-mode: t erc-menu-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-netsplit-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-autojoin-mode: t erc-log-mode: t erc-services-mode: t erc-networks-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t shell-dirtrack-mode: t eldoc-mode: t global-auto-revert-mode: t recentf-mode: t ido-everywhere: t display-time-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: " p r o c e s s " SPC c a l l s SPC w i t h SPC e l i s p SPC f u n c t i o n s SPC t h o u g h C-c C-c q q q C-a C-u C-p C-p C-p ESC C-k C-x C-o C-x C-s C-h i i c h m o d RET t C-s c h m o d C-s C-a i r e a d - o TAB RET , , , , , , , , , , , , t C-s m o d e s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a i f i l e SPC m o d e TAB s RET u i ESC p ESC p ESC n C-e , SPC s e TAB RET C-x 2 C-x b RET ESC m ESC C-k ESC ( s e t - f i l e - m o d e s SPC f n SPC C-x o C-v C-x o # o 4 4 4 C-x C-e C-n C-n C-n C-a C-n C-n ESC m ESC C-k ESC ( s e t - f ESC / SPC f n SPC # o 6 4 4 C-x C-s ESC C-x C-x o C-x b t m p RET g C-x o C-x o ESC ! ESC p ESC p ESC p ESC p ESC d ESC d ESC d ESC d ESC d e c h o C-e ESC \ TAB RET C-x b s h e RET ESC > C-x b b u RET C-x 1 C-x v v d o n e C-c C-c ESC x r e p o r t - e m a c s TAB RET Recent messages: Saving file /home/erich/bug/bug.el... Wrote /home/erich/bug/bug.el Note: file is write protected Note the % in the mode line It'd be nice if the % in the mode line went away [2 times] (Shell command succeeded with no output) Mark set [2 times] Press C-c C-c when you are done editing. Enter a change comment. Type C-c C-c when done Checking in /home/erich/bug/bug.el...done Load-path shadows: ~/.emacs.d/custom hides /usr/local/src/emacs/lisp/custom /home/erich/.emacs.d/elpa/eieio-1.4/eieio-opt hides /usr/local/src/emacs/lisp/emacs-lisp/eieio-opt /home/erich/.emacs.d/elpa/eieio-1.4/eieio hides /usr/local/src/emacs/lisp/emacs-lisp/eieio Features: (cmuscheme org-table cl-specs edebug novice wdired browse-kill-ring erc-fill tmm electric vc-arch vc-mtn vc-hg chistory ind-util ruby-mode find-dired vc-annotate doc-view image-mode whitespace pcmpl-gnu make-mode log-view repeat compare-w rmailmm rmail nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sgml-mode two-column skeleton cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs python-21 python scheme morse sh-script executable cperl-mode iswitchb color descr-text shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gist gh-gist gh-oauth gh-api gh-cache gh-auth gh-common debug apropos conf-mode timezone logito pcache json eieio-base pcache-autoloads eieio-comp inversion speedbar sb-image ezimage dframe eieio-autoloads tar-mode logito-autoloads autoload epa-file epa epg epg-config mule-util parse-time url-cache url-http mail-parse rfc2231 url-gw url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse url-vars mailcap finder-inf loadhist rect disp-table jka-compr tabify sql-indent sql face-remap org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete org-list org-faces org-compat org-entities org-macs noutline outline cal-menu calendar cal-loaddefs dired-aux info iso-transl dabbrev log-edit pcvs-util add-log smerge-mode newcomment diff-mode easy-mmode cus-edit cus-start cus-load help-mode view edit-list multi-isearch ffap vc-bzr vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff vc-dispatcher pcmpl-unix network-stream tls erc-hl-nicks erc-menu erc-ring erc-pcomplete erc-track erc-match erc-netsplit erc-button erc-stamp erc-truncate erc-spelling flyspell ispell erc-join erc-log erc-services erc-networks erc-goodies erc erc-backend erc-compat format-spec thingatpt pp shell pcomplete woman man erc-hl-nicks-autoloads package tabulated-list eldoc midnight uniquify warnings protbuf etags vc-git derived autorevert paste-to-dropbox advice help-fns advice-preload path server starttls smtpmail auth-source eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util time-date password-cache sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils grep compile comint ansi-color ring tool-bar cl find-func ibuf-ext ibuf-macs ibuffer recentf tree-widget wid-edit ido dired-x easymenu dired regexp-opt edmacro kmacro rx autoinsert time image ediff-hook vc-hooks lisp-float-type lisp-mode register page menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Wed May 23 20:18:01 2012 Received: (at control) by debbugs.gnu.org; 24 May 2012 00:18:01 +0000 Received: from localhost ([127.0.0.1]:41134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SXLkf-00026N-CX for submit@debbugs.gnu.org; Wed, 23 May 2012 20:18:01 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55600 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SXLkd-00026C-7J for control@debbugs.gnu.org; Wed, 23 May 2012 20:18:00 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SXLjm-0002GJ-Ms for control@debbugs.gnu.org; Wed, 23 May 2012 20:17:06 -0400 Date: Wed, 23 May 2012 20:17:06 -0400 Message-Id: Subject: control message for bug 11549 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control 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 (------) forcemerge 11412 11549 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 02 02:24:16 2021 Received: (at 11412) by debbugs.gnu.org; 2 Jun 2021 06:24:16 +0000 Received: from localhost ([127.0.0.1]:38486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loKIa-0007WH-Ch for submit@debbugs.gnu.org; Wed, 02 Jun 2021 02:24:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loKIY-0007Vx-Rj; Wed, 02 Jun 2021 02:24:15 -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=ZrcfpYaTzvBlKQiH4zau0d95TaFCZYabJqgiBkjjF4o=; b=n1pqrwa6/cAVR3y5OLos6k9CXU uqPC7qKZq+nA1qu8DMJkPsPXoFIgeCz6zkvsLL+ghFsY4zjCu+9SwkF1GZPnxOS0RyWWOy3AEcNg4 jaHQRyxlfiaeG/sbHwmdACem0Idn2c1IFEcM3ff8NdQfh6gFdjS7zJ7hVGON+tSLyoMk=; 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 1loKIO-0002fl-VE; Wed, 02 Jun 2021 08:24:08 +0200 From: Lars Ingebrigtsen To: Barry OReilly Subject: Re: bug#11412: 24.0.95; auto-revert-mode doesn't revert buffer when file becomes writeable References: X-Now-Playing: Bobbi Humphrey's _Blacks and Blues_: "Just A Love Child" Date: Wed, 02 Jun 2021 08:24:02 +0200 In-Reply-To: (Barry OReilly's message of "Wed, 23 May 2012 19:40:08 -0400") Message-ID: <87a6o8943h.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: Barry OReilly writes: > Open foo.py in Emacs. > > In a terminal: > chmod u+w foo.py > > Wait several seconds, inserting text yields error: > Buffer is read-only: # 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.7 (/) X-Debbugs-Envelope-To: 11412 Cc: 11412@debbugs.gnu.org, 11549@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: -1.7 (-) Barry OReilly writes: > Open foo.py in Emacs. > > In a terminal: > chmod u+w foo.py > > Wait several seconds, inserting text yields error: > Buffer is read-only: # (I'm going through old bug reports that unfortunately got no response at the time.) This has been fixed in the years since this was reported. > Open foo.py with vim and add text: > # aaa blah > # bbb > > The blah string appears in Emacs. Insertion still fails with error: > Buffer is read-only: # > > Do: M-x revert-buffer > > Insertion now works. This is apparently a feature added in 2004: commit 90e118abf2dcc4aca4d7a7642247fa488554351e Author: Luc Teirlinck AuthorDate: Fri Sep 3 22:28:10 2004 +0000 ;; Bind buffer-read-only in case user has done C-x C-q, so as ;; not to forget that. This gives undesirable results when ;; the file's mode changes, but that is less common. (let ((buffer-read-only buffer-read-only)) ... (revert-buffer 'ignore-auto 'dont-ask 'preserve-modes)))) So auto-reversion doesn't touch the buffer-readedness in case the user has set it manually. So I'm not sure whether we should change this behaviour here. Anybody got an opinion? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 02 02:24:21 2021 Received: (at control) by debbugs.gnu.org; 2 Jun 2021 06:24:21 +0000 Received: from localhost ([127.0.0.1]:38491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loKIf-0007Wg-02 for submit@debbugs.gnu.org; Wed, 02 Jun 2021 02:24:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loKId-0007W6-3N for control@debbugs.gnu.org; Wed, 02 Jun 2021 02:24:19 -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=4864zOvL9ZUPpW1dzRMFuqBPta/09l63epohpeB7/KE=; b=phbWks0UsED2hL3Fw8aVQ7Wrpl pLvEiHLIIoHf96LMWvJ2hfL6CiZAAlgqPQeIKJt14ulvR3C+ugva2wqR95Fw2XeWlXUkyDOw0ntfc +vIEX9OdZm4mBo/8oGrJ02Mt6Atbz+y5qj/7GbBQKgRmjYL+4higDkkc8KDgoUVVhP5Y=; 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 1loKIV-0002fw-Np for control@debbugs.gnu.org; Wed, 02 Jun 2021 08:24:13 +0200 Date: Wed, 02 Jun 2021 08:24:11 +0200 Message-Id: <878s3s9438.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #11412 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: tags 11412 + moreinfo 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.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: -1.7 (-) tags 11412 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 02 07:18:06 2021 Received: (at 11412) by debbugs.gnu.org; 2 Jul 2021 11:18:06 +0000 Received: from localhost ([127.0.0.1]:35106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzHBO-0000T2-44 for submit@debbugs.gnu.org; Fri, 02 Jul 2021 07:18:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzHBM-0000SP-Dq; Fri, 02 Jul 2021 07:18:05 -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=utWUHt9+K8MnOn9yJyl0xoSnpoy0S6s3m7osRAvPOOY=; b=EJBH4YKlfg/IVV2Kku8lWIgUGQ iIaqh+zOZqwID5hEUQN4TMrjvonB/IHbWpbLDn9fbvBVmcjtrCIw5lKO1wdjmuyUbi9IwmrVn4hdZ zATvl5oilanpQBybraKgIWQpuMXJGH94jGBSZO96vC5sqYtSYgQ3w7mJraxISeu1StIA=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzHBD-00088o-D2; Fri, 02 Jul 2021 13:17:58 +0200 From: Lars Ingebrigtsen To: Barry OReilly Subject: Re: bug#11412: 24.0.95; auto-revert-mode doesn't revert buffer when file becomes writeable References: <87a6o8943h.fsf@gnus.org> X-Now-Playing: Katie Gately's _The Wire Tapper 52_: "Waltz" Date: Fri, 02 Jul 2021 13:17:54 +0200 In-Reply-To: <87a6o8943h.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 02 Jun 2021 08:24:02 +0200") Message-ID: <87czs1ufq5.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: Lars Ingebrigtsen writes: > This is apparently a feature added in 2004: > > commit 90e118abf2dcc4aca4d7a7642247fa488554351e > Author: Luc Teirlinck > AuthorDate: Fri Sep 3 22:28:10 2004 +0000 > > ;; Bind b [...] 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: 11412 Cc: 11412@debbugs.gnu.org, 11549@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 (---) Lars Ingebrigtsen writes: > This is apparently a feature added in 2004: > > commit 90e118abf2dcc4aca4d7a7642247fa488554351e > Author: Luc Teirlinck > AuthorDate: Fri Sep 3 22:28:10 2004 +0000 > > ;; Bind buffer-read-only in case user has done C-x C-q, so as > ;; not to forget that. This gives undesirable results when > ;; the file's mode changes, but that is less common. > (let ((buffer-read-only buffer-read-only)) > ... > (revert-buffer 'ignore-auto 'dont-ask 'preserve-modes)))) > > So auto-reversion doesn't touch the buffer-readedness in case the user > has set it manually. So I'm not sure whether we should change this > behaviour here. Anybody got an opinion? Nobody had an opinion, and I think this is working as designed, and I'm closing this bug report. If I misunderstood the issue, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 02 07:18:10 2021 Received: (at control) by debbugs.gnu.org; 2 Jul 2021 11:18:10 +0000 Received: from localhost ([127.0.0.1]:35109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzHBS-0000TM-FV for submit@debbugs.gnu.org; Fri, 02 Jul 2021 07:18:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzHBQ-0000Sm-OY for control@debbugs.gnu.org; Fri, 02 Jul 2021 07:18:09 -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=bz5R2FCW14t7k3hBMcNXbbsdKnziGgtzolE7kPcWmw4=; b=qZeICcLvzJDyhEpwD2O0n/m6Gs pvrsZ2OBDwmmwKa3stIiiEDWEvSn02sv95cebJ5bKde6c/CtZp5WmSXLUvMGXYzz4PAC73x1UBcV2 tKFxA3+LFD11W+e5fjNqJnWm0372XvQZ39DMJ7X7q0WGyN2c1CJ5DAb2cC4pc12Mo8x4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzHBJ-00088w-4W for control@debbugs.gnu.org; Fri, 02 Jul 2021 13:18:03 +0200 Date: Fri, 02 Jul 2021 13:18:00 +0200 Message-Id: <87bl7lufpz.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #11412 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 11412 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 11412 quit From unknown Wed Jun 18 00:13:03 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, 30 Jul 2021 11:24:05 +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