emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

special-display-buffer-names and vc-diff displays wrong result


From: Harald Maier
Subject: special-display-buffer-names and vc-diff displays wrong result
Date: Sun, 2 Oct 2005 07:54:58 +0200 (CEST)

Symptoms:

I am using `special-display-buffer-names' for the *vc-diff* buffer.
If the special-display-buffer frame does not exist then the *vc-diff*
buffer reports sometimes "No differences found.". This seems to due
the fact that the 'vc-diff-internal' function has not written yet any
bytes into the *vc-diff* buffer. The strange part is that this only
happens if the background process ends up very fast. For example a
diff with the cvs.gnu.org server finishes always successfully, but a
diff with the local cvs server fails.

I don't know how to fix this. As a workaround I put after the
vc-diff-internal function a (sit-for 1) statement. Then it seems to
work.

Harald

Index: vc.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/vc.el,v
retrieving revision 1.400
diff -w -r1.400 vc.el
1760a1761
>   (sit-for 1)


If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/maierh/build/cvs/emacs-gtk/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 2.6.4)
 of 2005-10-01 on rhea
X server distributor `The XFree86 Project, Inc', version 11.0.40400000
configured using `configure '--with-gtk' '--x-libraries=/usr/X11/lib64''

Important settings:
  value of $LC_ALL: de_DE
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  show-paren-mode: t
  desktop-save-mode: t
  cua-mode: t
  recentf-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<tab> <backspace> <tab> <tab> - t e s t <return> C-y 
C-x C-s <C-home> <down> <down> <up> <down> C-SPC <down> 
<down> <down> <down> <down> <down> <down> <down> C-w 
<down> <end> <down> <down> <down> <down> C-x C-s <C-home> 
<return> <up> ( g l o b a l - f o n t <escape> <tab> 
<right> <left> <left> SPC - C-c C-l C-c C-l =8f6 p c <backspace> 
<backspace> <backspace> l o c a k <backspace> <backspace> 
k - m o d e SPC t ) C-x C-s <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<help-menu> <report-emacs-bug>

Recent messages:
(New file)
Mark set
Loading time-stamp...done
Wrote /home/maierh/.emacs-test
Mark set [2 times]
Wrote /home/maierh/.emacs-test
Mark set
Starting "look" process...
Wrote /home/maierh/.emacs-test
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]