GNU bug report logs - #5054
23.1.50; buffer-menu truncated fields

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Fri, 27 Nov 2009 00:10:05 UTC

Severity: wishlist

Merged with 7271

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #91 received at 5054 <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Juri Linkov <juri <at> jurta.org>
Cc: martin rudalics <rudalics <at> gmx.at>, 5054 <at> debbugs.gnu.org
Subject: Re: bug#5054: Asynchronous vc-bzr-diff (Man truncated)
Date: Tue, 12 Jan 2010 16:01:52 -0800 (PST)
Juri Linkov <juri <at> 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.




This bug report was last modified 12 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.