From: Dan Nicolaescu <dann@ics.uci.edu>
To: Juri Linkov <juri@jurta.org>
Cc: 5054@debbugs.gnu.org
Subject: bug#5054: Asynchronous vc-bzr-diff (Man truncated)
Date: Tue, 12 Jan 2010 16:01:52 -0800 (PST) [thread overview]
Message-ID: <201001130001.o0D01qKf025239@godzilla.ics.uci.edu> (raw)
In-Reply-To: <877hrnxd9g.fsf_-_@mail.jurta.org> (Juri Linkov's message of "Tue, 12 Jan 2010 22:46:19 +0200")
Juri Linkov <juri@jurta.org> writes:
> > But maybe this part should be written separately so that other packages
> > waiting for the completion of asynchronous processes could use it too.
>
> It seems the bzr vc backend needs the same treatment.
>
> When `vc-diff' reports that there are no differences, then vc
> displays the *vc-diff* buffer with a single line in it:
>
> No changes between working revision and workfile.
>
This is due to this code in vc.el:vc-diff-internal
(if (and (zerop (buffer-size))
(not (get-buffer-process (current-buffer))))
;; Treat this case specially so as not to pop the buffer.
(progn
(message "%s" (cdr messages))
nil)
> bzr's behavior differs from the git backend that doesn't display the
> *vc-diff* buffer. It displays this line only in the echo area.
vc-git-diff does not call the diff command asynchronously (probably
because nobody had a problem with it being synchronous), but vc-bzr-diff
is asynchronous.
next prev parent reply other threads:[~2010-01-13 0:01 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-01 17:50 bug#5054: 23.1.50; buffer-menu truncated fields Chong Yidong
2010-01-02 13:58 ` jidanni
2010-01-02 14:31 ` martin rudalics
2010-01-03 1:12 ` jidanni
2010-01-04 10:14 ` martin rudalics
2010-01-04 10:43 ` Lennart Borgman
2010-01-04 17:28 ` Juri Linkov
2010-01-04 17:54 ` jidanni
2010-01-04 19:08 ` martin rudalics
2010-01-04 19:36 ` Drew Adams
2010-01-06 20:30 ` Juri Linkov
2010-01-07 8:17 ` martin rudalics
2010-01-07 23:27 ` Juri Linkov
2010-01-08 8:18 ` martin rudalics
2010-01-09 17:50 ` Juri Linkov
2010-01-10 3:12 ` Stefan Monnier
2010-01-11 0:48 ` bug#5054: Man truncated (was: buffer-menu truncated fields) Juri Linkov
2010-01-11 3:39 ` bug#5054: Man truncated Stefan Monnier
2010-01-11 8:05 ` martin rudalics
2010-01-11 21:59 ` Juri Linkov
2010-06-16 21:44 ` Juri Linkov
2010-01-12 20:46 ` bug#5054: Asynchronous vc-bzr-diff (Man truncated) Juri Linkov
2010-01-13 0:01 ` Dan Nicolaescu [this message]
2010-01-13 0:28 ` Juri Linkov
2011-10-07 0:23 ` bug#5054: 23.1.50; buffer-menu truncated fields Juri Linkov
2012-08-05 3:11 ` Chong Yidong
2010-01-04 17:40 ` Drew Adams
2010-01-04 18:05 ` jidanni
2010-01-04 18:18 ` Drew Adams
2010-01-04 18:45 ` jidanni
2010-01-06 20:31 ` Juri Linkov
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=201001130001.o0D01qKf025239@godzilla.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=5054@debbugs.gnu.org \
--cc=juri@jurta.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).