From unknown Tue Sep 09 14:02: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#10775 <10775@debbugs.gnu.org> To: bug#10775 <10775@debbugs.gnu.org> Subject: Status: Feature request: avoid revert question in `find-file-noselect' Reply-To: bug#10775 <10775@debbugs.gnu.org> Date: Tue, 09 Sep 2025 21:02:36 +0000 retitle 10775 Feature request: avoid revert question in `find-file-noselect' reassign 10775 emacs submitter 10775 Eli Barzilay severity 10775 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 09 21:48:30 2012 Received: (at submit) by debbugs.gnu.org; 10 Feb 2012 02:48:30 +0000 Received: from localhost ([127.0.0.1]:34336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvgXF-00024Y-V8 for submit@debbugs.gnu.org; Thu, 09 Feb 2012 21:48:30 -0500 Received: from eggs.gnu.org ([140.186.70.92]:32984) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvgXE-00024J-AN for submit@debbugs.gnu.org; Thu, 09 Feb 2012 21:48:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvgVz-0006YJ-DX for submit@debbugs.gnu.org; Thu, 09 Feb 2012 21:47:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:38564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvgVz-0006YF-C7 for submit@debbugs.gnu.org; Thu, 09 Feb 2012 21:47:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvgVy-0004nG-Du for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 21:47:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvgVx-0006Y0-7Q for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 21:47:10 -0500 Received: from winooski.ccs.neu.edu ([129.10.115.117]:49248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvgVx-0006Xq-5m for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 21:47:09 -0500 Received: from winooski.ccs.neu.edu (localhost.localdomain [127.0.0.1]) by winooski.ccs.neu.edu (8.14.4/8.14.4) with ESMTP id q1A2l7vk029442 for ; Thu, 9 Feb 2012 21:47:07 -0500 Received: (from eli@localhost) by winooski.ccs.neu.edu (8.14.4/8.14.4/Submit) id q1A2l70c029439; Thu, 9 Feb 2012 21:47:07 -0500 From: Eli Barzilay MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20276.34091.355781.359052@winooski.ccs.neu.edu> Date: Thu, 9 Feb 2012 21:47:07 -0500 To: bug-gnu-emacs@gnu.org Subject: Feature request: avoid revert question in `find-file-noselect' X-Mailer: VM 8.2.0a under 23.2.1 (x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) 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: -4.2 (----) The code in `find-file-noselect' will ask about reverting a buffer, a question that pops up in several contexts that lead to that function. When the question pops up, the buffer is still not visible so it's hard to make a decision (perhaps some process changed the file and I'd like to switch to the buffer to save its contents first?). It would be nice if there was some option that would make it just display a warning about the change -- so I know that I can now revert it in the usual way (as in touching the contents). That would be much more conveniet than answering "no". (Personally, I just have a "don't touch my file" reflex that translates into C-g, then switch to the open buffer, then revert it.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 10 08:15:23 2012 Received: (at 10775) by debbugs.gnu.org; 10 Feb 2012 13:15:23 +0000 Received: from localhost ([127.0.0.1]:34769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvqJu-0001TB-VD for submit@debbugs.gnu.org; Fri, 10 Feb 2012 08:15:23 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:28601) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvqJs-0001Sy-So for 10775@debbugs.gnu.org; Fri, 10 Feb 2012 08:15:21 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q1ADE05o006873 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 10 Feb 2012 13:14:01 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q1ADDxRM018055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Feb 2012 13:13:59 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q1ADDw3s007641; Fri, 10 Feb 2012 07:13:58 -0600 Received: from dradamslap1 (/10.159.36.32) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 10 Feb 2012 05:13:58 -0800 From: "Drew Adams" To: "'Eli Barzilay'" , <10775@debbugs.gnu.org> References: <20276.34091.355781.359052@winooski.ccs.neu.edu> Subject: RE: bug#10775: Feature request: avoid revert question in`find-file-noselect' Date: Fri, 10 Feb 2012 05:13:55 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20276.34091.355781.359052@winooski.ccs.neu.edu> Thread-Index: AcznnmfYpxOSUH5vRAax8QPv8ei6IgAV1Y8Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090205.4F351819.0089,ss=1,re=0.000,fgs=0 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10775 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 (------) Sounds similar to bug #10726. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 15 08:08:42 2012 Received: (at 10775) by debbugs.gnu.org; 15 Feb 2012 13:08:42 +0000 Received: from localhost ([127.0.0.1]:41178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rxeb7-0005Qn-Nn for submit@debbugs.gnu.org; Wed, 15 Feb 2012 08:08:41 -0500 Received: from winooski.ccs.neu.edu ([129.10.115.117]:60025) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rxeb1-0005QX-3X for 10775@debbugs.gnu.org; Wed, 15 Feb 2012 08:08:35 -0500 Received: from winooski.ccs.neu.edu (localhost.localdomain [127.0.0.1]) by winooski.ccs.neu.edu (8.14.4/8.14.4) with ESMTP id q1FD6jBh024212; Wed, 15 Feb 2012 08:06:45 -0500 Received: (from eli@localhost) by winooski.ccs.neu.edu (8.14.4/8.14.4/Submit) id q1FD6i4c024208; Wed, 15 Feb 2012 08:06:44 -0500 From: Eli Barzilay MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20283.44516.327627.34986@winooski.ccs.neu.edu> Date: Wed, 15 Feb 2012 08:06:44 -0500 To: "Drew Adams" Subject: RE: bug#10775: Feature request: avoid revert question in`find-file-noselect' In-Reply-To: References: <20276.34091.355781.359052@winooski.ccs.neu.edu> X-Mailer: VM 8.2.0a under 23.2.1 (x86_64-redhat-linux-gnu) X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10775 Cc: 10775@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On Friday, Drew Adams wrote: > Sounds similar to bug #10726. Similar, but I don't think that it's the same bug. In my case, I really want the interactive version to avoid asking the question and instead just show me a message about it; possibly with a `ding', maybe even a non-macro-terminating one, which is what I hacked the function to do in my own environment. (In fact, that #10726 sounds like more of a real bug, where this one is strictly a feature request.) A nice way to resolve this would be to have a variable that can hold `ask' to do the same as now, `nil' to do nothing, or a function that will get called (making it possible to do more things like automatically reverting the buffer). I'd be happy to submit such a simple patch if it helps. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 16 08:31:28 2021 Received: (at 10775) by debbugs.gnu.org; 16 Jul 2021 12:31:28 +0000 Received: from localhost ([127.0.0.1]:50766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4N04-0003fr-41 for submit@debbugs.gnu.org; Fri, 16 Jul 2021 08:31:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4N02-0003fY-ML for 10775@debbugs.gnu.org; Fri, 16 Jul 2021 08:31:27 -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=bGOG47lJ7FlIdv/SRTExaxTV8hYrBC/82ya51dl3umc=; b=D91wgSJTvoCqvEX1SolDWHdz5D 04dl1k5eb3tD8kyQ0edaW8CktIT721XJBScQA1G1sMs2msitmgwIpYZ9F4RNCrG+0VpBl+U8jY+Zs F2H2zuN10YkhZOuOvN4cZt/bp8ocMJjT2M1B36f4VpvjirlQpHPX0REPj65gHBYg33ek=; 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 1m4Mzt-0004Ge-LW; Fri, 16 Jul 2021 14:31:20 +0200 From: Lars Ingebrigtsen To: Eli Barzilay Subject: Re: bug#10775: Feature request: avoid revert question in `find-file-noselect' References: <20276.34091.355781.359052@winooski.ccs.neu.edu> X-Now-Playing: Late Night Approach's _Fabric 94: Steffi_: "Poison Valley" Date: Fri, 16 Jul 2021 14:31:17 +0200 In-Reply-To: <20276.34091.355781.359052@winooski.ccs.neu.edu> (Eli Barzilay's message of "Thu, 9 Feb 2012 21:47:07 -0500") Message-ID: <874kcua19m.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: Eli Barzilay writes: > It would be nice if there was some option that would make it just > display a warning about the change -- so I know that I can now revert > it in the usual way (as in touching the contents). That wo [...] 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: 10775 Cc: 10775@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 (---) Eli Barzilay writes: > It would be nice if there was some option that would make it just > display a warning about the change -- so I know that I can now revert > it in the usual way (as in touching the contents). That would be much > more conveniet than answering "no". Makes sense to me, so I've added this to Emacs 28 under the name 'query-about-changed-file'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 16 08:31:32 2021 Received: (at control) by debbugs.gnu.org; 16 Jul 2021 12:31:32 +0000 Received: from localhost ([127.0.0.1]:50771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4N08-0003gE-Gm for submit@debbugs.gnu.org; Fri, 16 Jul 2021 08:31:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4N06-0003fd-FE for control@debbugs.gnu.org; Fri, 16 Jul 2021 08:31:30 -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=om1S+F3nNp/nvRKrIIi3vmtutfYKdQ1wao8SwjHGKm8=; b=tMLGkRMBqOcUPpy9IfO+XMtULc MKCazbxrgcXDEOsSW6c3r+F3eBxF8eZ7wyz/8zKPixtc1EEg6a264+YiWKLs+IwAEMww8srM1F817 456MCf0Ua3OIt1/wqQTXtYsrI9c9jbSLFiB2nTxDjdBnQloeIOo0hFU9TNHnNwtYTLkM=; 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 1m4Mzy-0004Go-VT for control@debbugs.gnu.org; Fri, 16 Jul 2021 14:31:24 +0200 Date: Fri, 16 Jul 2021 14:31:22 +0200 Message-Id: <8735sea19h.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10775 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 10775 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: -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 10775 28.1 quit From unknown Tue Sep 09 14:02: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: Sat, 14 Aug 2021 11:24:06 +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