From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Barzilay Newsgroups: gmane.emacs.bugs Subject: bug#10775: Feature request: avoid revert question in `find-file-noselect' Date: Thu, 9 Feb 2012 21:47:07 -0500 Message-ID: <20276.34091.355781.359052@winooski.ccs.neu.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328842079 11796 80.91.229.3 (10 Feb 2012 02:47:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2012 02:47:59 +0000 (UTC) To: 10775@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 10 03:47:58 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RvgWk-0003h3-2C for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2012 03:47:58 +0100 Original-Received: from localhost ([::1]:54170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvgWj-0004ne-Lt for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2012 21:47:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvgWg-0004nO-4j for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 21:47:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvgWe-0006an-Bb for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 21:47:54 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvgWe-0006aj-8g for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 21:47:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RvgXm-00025P-8u for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 21:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Barzilay Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2012 02:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10775 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13288421107974 (code B ref -1); Fri, 10 Feb 2012 02:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Feb 2012 02:48:30 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56748 Archived-At: 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!