From: Glenn Morris <rgm@gnu.org>
To: rms@gnu.org
Cc: 8927@debbugs.gnu.org
Subject: bug#8927: 24.0.50; Flaw in C-x v u
Date: Fri, 24 Jun 2011 16:59:29 -0400 [thread overview]
Message-ID: <d24o3f3pzi.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <E1Qa2pM-00042w-5T@fencepost.gnu.org> (Richard Stallman's message of "Fri, 24 Jun 2011 05:37:28 -0400")
Richard Stallman wrote:
> I did C-x v = to see the changes in a file, then reverted the file
> with C-x v u so I could install and commit those changes one by one.
>
> Unfortunately, C-x v u deleted the *vc-diff* buffer and made this fail.
>
> C-x v u should not delete the *vc-diff* buffer.
On a related note, it has always annoyed me that vc-revert
unconditionally always shows me the diff of the file in question before
letting me revert. Basically every time I use vc-revert, I have already
checked the diff beforehand, so all this does is introduce an annoying
delay when the backend is slow to produce a diff. I'm not aware of a
command-line VCS that show you the diff when you run its revert command,
so I don't see why Emacs should do so.
Anyway, that's why it kills your *vc-diff* buffer - because it assumes
it has just created it. The fix for your problem would presumably be for
vc-revert to only kill the buffer if it did not exist beforehand.
But personally I still wish it would not always insist on showing me the
diff.
next prev parent reply other threads:[~2011-06-24 20:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-24 9:37 bug#8927: 24.0.50; Flaw in C-x v u Richard Stallman
2011-06-24 20:59 ` Glenn Morris [this message]
2011-06-25 21:54 ` Richard Stallman
2011-06-26 4:08 ` Chong Yidong
2011-06-26 5:38 ` Dan Nicolaescu
[not found] ` <mailman.453.1309066807.785.bug-gnu-emacs@gnu.org>
2011-06-26 9:32 ` Romain Francoise
2011-06-26 19:32 ` Chong Yidong
2011-06-26 21:51 ` Thierry Volpiatto
2011-06-26 22:09 ` Óscar Fuentes
2011-06-27 4:49 ` Thierry Volpiatto
2011-06-27 6:43 ` Thierry Volpiatto
2011-06-27 6:57 ` Thierry Volpiatto
2011-06-26 12:17 ` Óscar Fuentes
2011-06-26 16:18 ` Richard Stallman
2011-06-26 13:10 ` Stefan Monnier
2011-06-26 23:20 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d24o3f3pzi.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=8927@debbugs.gnu.org \
--cc=rms@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.