unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Barzilay <eli@barzilay.org>
To: 10775@debbugs.gnu.org
Subject: bug#10775: Feature request: avoid revert question in `find-file-noselect'
Date: Thu, 9 Feb 2012 21:47:07 -0500	[thread overview]
Message-ID: <20276.34091.355781.359052@winooski.ccs.neu.edu> (raw)

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!





             reply	other threads:[~2012-02-10  2:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-10  2:47 Eli Barzilay [this message]
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
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=20276.34091.355781.359052@winooski.ccs.neu.edu \
    --to=eli@barzilay.org \
    --cc=10775@debbugs.gnu.org \
    /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).