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: Wed, 15 Feb 2012 08:06:44 -0500 Message-ID: <20283.44516.327627.34986@winooski.ccs.neu.edu> References: <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 1329311263 26901 80.91.229.3 (15 Feb 2012 13:07:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2012 13:07:43 +0000 (UTC) Cc: 10775@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 15 14:07:39 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 1RxeaA-00063x-RZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Feb 2012 14:07:38 +0100 Original-Received: from localhost ([::1]:40866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxeaA-0002JY-2G for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Feb 2012 08:07:38 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:57816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxea3-0002J2-2A for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2012 08:07:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxeZs-0005yi-QF for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2012 08:07:31 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxeZs-0005yZ-Oa for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2012 08:07:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RxebW-0005RQ-2o for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2012 08:09: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: Wed, 15 Feb 2012 13:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10775 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10775-submit@debbugs.gnu.org id=B10775.132931132220889 (code B ref 10775); Wed, 15 Feb 2012 13:09:02 +0000 Original-Received: (at 10775) by debbugs.gnu.org; 15 Feb 2012 13:08:42 +0000 Original-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 Original-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 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 q1FD6jBh024212; Wed, 15 Feb 2012 08:06:45 -0500 Original-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 In-Reply-To: X-Mailer: VM 8.2.0a under 23.2.1 (x86_64-redhat-linux-gnu) 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:56915 Archived-At: 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!