unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Barzilay <eli@barzilay.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 10775@debbugs.gnu.org
Subject: bug#10775: Feature request: avoid revert question in`find-file-noselect'
Date: Wed, 15 Feb 2012 08:06:44 -0500	[thread overview]
Message-ID: <20283.44516.327627.34986@winooski.ccs.neu.edu> (raw)
In-Reply-To: <D274E02688B5438CB84593591EE5E217@us.oracle.com>

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!





  reply	other threads:[~2012-02-15 13:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-10  2:47 bug#10775: Feature request: avoid revert question in `find-file-noselect' Eli Barzilay
2012-02-10 13:13 ` bug#10775: Feature request: avoid revert question in`find-file-noselect' Drew Adams
2012-02-15 13:06   ` Eli Barzilay [this message]
2021-07-16 12:31 ` bug#10775: Feature request: avoid revert question in `find-file-noselect' Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20283.44516.327627.34986@winooski.ccs.neu.edu \
    --to=eli@barzilay.org \
    --cc=10775@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).