From unknown Sun Jun 22 22:44:56 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#42818 <42818@debbugs.gnu.org> To: bug#42818 <42818@debbugs.gnu.org> Subject: Status: 28.0.50; Repeated 'Reread from disk?' dialog box Reply-To: bug#42818 <42818@debbugs.gnu.org> Date: Mon, 23 Jun 2025 05:44:56 +0000 retitle 42818 28.0.50; Repeated 'Reread from disk?' dialog box reassign 42818 emacs submitter 42818 Richard Copley severity 42818 normal tag 42818 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 11 17:51:23 2020 Received: (at submit) by debbugs.gnu.org; 11 Aug 2020 21:51:23 +0000 Received: from localhost ([127.0.0.1]:41922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5cB1-0000Qb-8F for submit@debbugs.gnu.org; Tue, 11 Aug 2020 17:51:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:50036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5cAx-0000QS-KK for submit@debbugs.gnu.org; Tue, 11 Aug 2020 17:51:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5cAx-000158-AC for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 17:51:19 -0400 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:41341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k5cAv-0006tc-KI for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 17:51:19 -0400 Received: by mail-ed1-x532.google.com with SMTP id w17so3153309edt.8 for ; Tue, 11 Aug 2020 14:51:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=UUtuPKwav6XUejqb8+D8SQmQpG89wGptnxMzUDH9pjw=; b=sIAv1wgU5HWYSUrMhGT82sc/EoZa/kl6EqMqXiHAC/WGPxqpcgKpQ0+iAJSKhfa7ye P+8N93eW0MpTAm5y/yfKkfwFIrPvzah7QFOwCTy7RDiTZ1DvMBqVhY8RS41RlhZPjxju x35gR0CSPdqns6EzcENaAdg9HR/7qECs65TEsm3oB/NAT6vCtFVad2K4N8CCMjchd/8X g8SHKWTZMEloiildqdd0iWbG04Ksffal8kjkOQn+MkDMkqYibPP6wd21RGEcEZpFr+LU rtfCvlh0X4NhNjwptvwCGCTcgVgtE2qW3VcqW0v6Hg8XhuJI/HEQ37iBYuIHPwZpn9RX xv3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=UUtuPKwav6XUejqb8+D8SQmQpG89wGptnxMzUDH9pjw=; b=UIUck8QJw6tysa01uWbH1Yd8Ybf62FhvDNgGWQboP4btZqvbSNhcro5S6MzxCqFENE +sD4eCh3rp973ocpJxFIVMLg1hpUquBeOz750EHEWZ0dA3IHx4RKOL/u0EqGvsKfH1hY P0vXjJJsrpCjvYsuZkuWQt5LuCWIragLyrf45BmOc3lZa0DyTA1YjpJc3h7Q9yz1w4Nu maR4rnijbCO9Yw6LL0pSneYePE2nbTylu5aTv+sahF3mNQEwJIh9Z9eaJFha7kIG3YKs 3jjJjMV4JrYoAtwMgw2e6TcDLgCaG6snNWdTYu3+1dsfzTLuU+avKFB3vv+7vGaeMCxn BqvA== X-Gm-Message-State: AOAM531rxI1OsUUxShUn/RPlUmWMnl7gBR9CWW9raeQYgJYVVU4LokX5 XwniBNLcs/I/tyJc+r/EOnpp60J/VQo7aMTWCHI7QLbNyVQ= X-Google-Smtp-Source: ABdhPJx5YPjL56d6i10tv17IfoQwH2n48KG5stbcx0XC47ZvnQCQk6RqnlnAtg7h+V06arphdIsdTtw090AdJlg3oWU= X-Received: by 2002:a50:e848:: with SMTP id k8mr28441081edn.192.1597182674223; Tue, 11 Aug 2020 14:51:14 -0700 (PDT) MIME-Version: 1.0 From: Richard Copley Date: Tue, 11 Aug 2020 22:50:47 +0100 Message-ID: Subject: 28.0.50; Repeated 'Reread from disk?' dialog box To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=rcopley@gmail.com; helo=mail-ed1-x532.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit 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: -2.3 (--) In a shell, cd to an empty temporary directory and: git init echo a >x git add x git commit -mtest emacs -Q x echo b >x In Emacs, M-x which-function-mode C-x v D A GUI dialog box pops up, "File x changed on disk. Reread from disk?" Click the No button. After about 500 ms. The dialog box pops up again. Repeat. To escape, click No and quickly kill the diff buffer, or click Yes. The dialog should certainly not be shown more than once. In GNU Emacs 28.0.50 (build 3, x86_64-w64-mingw32) of 2020-08-11 built on MACHINE Repository revision: b5b7f6eb88d6588f6150c34e1405457f062538bb Repository branch: master Windowing system distributor 'Microsoft Corp.', version 10.0.19041 System Description: Microsoft Windows 10 Pro (v10.0.2004.19041.388) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Which-Function mode enabled You can run the command =E2=80=98which-function-mode=E2=80=99 with M-x w-fu= nct RET Which-Function mode enabled Finding changes in c:/temp/test/...done Configured using: 'configure --config-cache --with-modules --without-pop --without-compress-install --without-dbus --without-gconf --without-gsettings 'CFLAGS=3D-Og -ggdb3' PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Fundamental Minor modes in effect: which-function-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils smerge-mode diff cl-seq vc vc-dispatcher add-log cus-start cus-load which-func imenu vc-git diff-mode easymenu easy-mmode cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 63722 10753) (symbols 48 7949 1) (strings 32 21947 1613) (string-bytes 1 653255) (vectors 16 12244) (vector-slots 8 166374 14252) (floats 8 31 298) (intervals 56 223 0) (buffers 992 12)) From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 17 04:23:07 2020 Received: (at 42818) by debbugs.gnu.org; 17 Oct 2020 08:23:07 +0000 Received: from localhost ([127.0.0.1]:33245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kThUZ-0002K4-1C for submit@debbugs.gnu.org; Sat, 17 Oct 2020 04:23:07 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kThUX-0002JK-S6 for 42818@debbugs.gnu.org; Sat, 17 Oct 2020 04:23:06 -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=Dhmh8zN76p2s6S5SV1RnQ975y4JgJfqLT1dz98JOcDE=; b=m7wXQ2ohDRifTTLmHwi34MJmLl BYFyHYk/lWwvJcQ37C1h5nbOzoA6tfJGGFdh749JOXa8J7gqv5/5HtaRa665VVpUoRZvqSx/FCF+6 hbKWARThd0GL7CKu4oCSC9/7m44fKpKWrQtijtapKxHnax6SE1Lw8TFttUhIEWlJjVOo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kThUO-0001Jw-TF; Sat, 17 Oct 2020 10:22:59 +0200 From: Lars Ingebrigtsen To: Richard Copley Subject: Re: bug#42818: 28.0.50; Repeated 'Reread from disk?' dialog box References: X-Now-Playing: Machinedrum's _Vapor City Citizenship Programme_: "Blue to Grey" Date: Sat, 17 Oct 2020 10:22:55 +0200 In-Reply-To: (Richard Copley's message of "Tue, 11 Aug 2020 22:50:47 +0100") Message-ID: <87zh4luuqo.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: Richard Copley writes: > A GUI dialog box pops up, "File x changed on disk. Reread from disk?" > Click the No button. After about 500 ms. The dialog box pops up again. > Repeat. > > To escape, click No and quickly kill the [...] 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: 42818 Cc: 42818@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.0 (-) Richard Copley writes: > A GUI dialog box pops up, "File x changed on disk. Reread from disk?" > Click the No button. After about 500 ms. The dialog box pops up again. > Repeat. > > To escape, click No and quickly kill the diff buffer, or click Yes. > > The dialog should certainly not be shown more than once. The problem here is that which-function-mode tries to use diff-find-source-location (via add-log-current-defun). diff-find-source-location is called with a noprompt because of this, but it's really an interactive command that's been pressed into service by which-function-mode. And diff-find-source-location really wants to re-visit the file, which means that you get this prompt over and over again. I don't really know how to fix this... it'd be nice if diff-find-source-location could just give up instead of re-loading the file in this situation. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 17 04:30:23 2020 Received: (at 42818) by debbugs.gnu.org; 17 Oct 2020 08:30:23 +0000 Received: from localhost ([127.0.0.1]:33269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kThbb-0002X2-Fq for submit@debbugs.gnu.org; Sat, 17 Oct 2020 04:30:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kThba-0002Wf-Hw for 42818@debbugs.gnu.org; Sat, 17 Oct 2020 04:30:22 -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=3Q8srHrPfpUJ32Z5RgGp5/o0E9tnyKQCJmnGN66tGhE=; b=UUFbuwigSSsZLTuJlm4YOMMEr0 xLnJPhEi6nNyrbsvP70Ho1qHPsMQtMSb4H41DxrLBoms428seb4p2ij5z1JL7NsKpPTICQhSzUijJ nAQV0+TWd7eUwWgzE4GZYPNfQ5WFq3e7f8uGqlaWvucmYH91Oo67vx6gV9OfjS+TyPzk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kThbR-0001NE-Ub; Sat, 17 Oct 2020 10:30:16 +0200 From: Lars Ingebrigtsen To: Richard Copley Subject: Re: bug#42818: 28.0.50; Repeated 'Reread from disk?' dialog box References: <87zh4luuqo.fsf@gnus.org> X-Now-Playing: Machinedrum's _Vapor City Citizenship Programme_: "Center Your Love (Seafloor Remix)" Date: Sat, 17 Oct 2020 10:30:12 +0200 In-Reply-To: <87zh4luuqo.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 17 Oct 2020 10:22:55 +0200") Message-ID: <87v9f9uuej.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: > I don't really know how to fix this... it'd be nice if > diff-find-source-location could just give up instead of re-loading the > file in this situation. Actually, that was pretty trivial. The NOPROMPT flag is only present when called from which-func, and we don't need to reload files just for that, so I've now fixed this on the trunk. 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: 42818 Cc: 42818@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.0 (-) Lars Ingebrigtsen writes: > I don't really know how to fix this... it'd be nice if > diff-find-source-location could just give up instead of re-loading the > file in this situation. Actually, that was pretty trivial. The NOPROMPT flag is only present when called from which-func, and we don't need to reload files just for that, so I've now fixed this on the trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 17 04:30:31 2020 Received: (at control) by debbugs.gnu.org; 17 Oct 2020 08:30:31 +0000 Received: from localhost ([127.0.0.1]:33272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kThbi-0002XN-N9 for submit@debbugs.gnu.org; Sat, 17 Oct 2020 04:30:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kThbh-0002X9-3I for control@debbugs.gnu.org; Sat, 17 Oct 2020 04:30:29 -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=DJmqJYD75s4VvcYrF28MswFv6ZAomFTWwX8sMhRIz1E=; b=Jn3v25476/THF/Crhchn/uG82T h8bHClHomuiu43oOxfXu/esqqkNuTzCCPYIYZEQVP/0qU/BXqC+XDT6E0nbWsx6IqkRRnD4wY0SIB CJgMruHKto5gfFRwe8cjO0tNgYa+4YxenoJExx1aOFEaGn5/O3USPokzixnnwgtjw9hk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kThbZ-0001PY-Dd for control@debbugs.gnu.org; Sat, 17 Oct 2020 10:30:23 +0200 Date: Sat, 17 Oct 2020 10:30:20 +0200 Message-Id: <87tuutuueb.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #42818 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 42818 fixed close 42818 28.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: 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 (-) tags 42818 fixed close 42818 28.1 quit From unknown Sun Jun 22 22:44:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Nov 2020 12: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