From: Chong Yidong <cyd@stupidchicken.com>
To: Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
Cc: 1256@debbugs.gnu.org
Subject: bug#1256: Race condition in vc-diff
Date: Sat, 09 Jul 2011 21:44:02 -0400 [thread overview]
Message-ID: <87oc127vvh.fsf@stupidchicken.com> (raw)
In-Reply-To: <18691.40605.633869.254120@rgrjr.rgrjr.dyndns.org>
> If you visit this file and do "C-x v =" in a single-window frame
> that is more than about 30 lines tall, and if the backend diff command
> is fast enough, the diff window will remain half the size of the
> screen, rather than being shrunk to fit the buffer. This is because
> vc-exec-after finds that the buffer process has already finished, and
> runs vc-diff-finish before the diff buffer has been made visible. In
> that case, vc-diff-finish assumes that the user has already buried it.
>
> I am not a big fan of this shrink-wrapping, but I do think vc-diff
> ought to behave consistently (and it has worked this way for quite a
> while now). The attached patch is sufficient to fix it.
I committed the patch to trunk. Thanks.
prev parent reply other threads:[~2011-07-10 1:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-25 22:33 bug#1256: Race condition in vc-diff Bob Rogers
2008-10-26 2:31 ` Stefan Monnier
2008-10-26 3:45 ` Bob Rogers
2011-07-10 1:44 ` Chong Yidong [this message]
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=87oc127vvh.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=1256@debbugs.gnu.org \
--cc=rogers-emacs@rgrjr.dyndns.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.