emacs-devel
[Top][All Lists]
Advanced

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

strange window behavior from vc-diff


From: Tom Tromey
Subject: strange window behavior from vc-diff
Date: Fri, 18 Jan 2008 21:16:32 -0700

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


I have two frames.  In one frame is source, in the other frame, Gnus.

I ran vc-diff in the source frame, then switched to the Gnus frame
after the vc diff buffer appeared in a window.

When the diff finished, the Gnus summary buffer shrank to just 3
lines.

I dug through the code a little, and I believe the problem is that
vc-diff-sentinel calls shrink-window-if-larger-than-buffer.  However,
in my scenario, I think the selected window is not the VC diff window.


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
/usr/share/emacs/22.0.990/etc/DEBUG for instructions.


In GNU Emacs 22.0.990.1 (i386-koji-linux-gnu, GTK+ Version 2.10.11)
 of 2007-05-23 on xenbuilder3.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--build=i386-koji-linux-gnu' 
'--host=i386-koji-linux-gnu' '--target=i386-redhat-linux-gnu' 
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' 
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' 
'--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' 
'--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--with-pop' '--with-sound' '--with-gtk' 
'build_alias=i386-koji-linux-gnu' 'host_alias=i386-koji-linux-gnu' 
'target_alias=i386-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF 
-DSYSTEM_PURESIZE_EXTRA=16777216 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables''

Important settings:
  value of $LC_ALL: nil
  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: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  compilation-in-progress: (compilation compilation compilation gid gid gid 
compilation compilation compilation compilation ...)
  gnus-agent-mode: t
  shell-dirtrack-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-spelling-mode: t
  erc-truncate-mode: t
  erc-status-mode: t
  erc-services-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<M-backspace> e l i s p <return> i b <backspace> g 
e t - b u f <tab> - c <tab> <return> C-v C-l C-z o 
C-f C-u C-n C-e M-b C-b ( g e n e r t e <backspace> 
<backspace> a t e - n e w M-/ <backspace> M-/ M-/ <backspace> 
SPC M-b M-b M-b M-b M-b M-f <return> C-e M-b M-d SPC 
* v c - s v <M-backspace> <backspace> SPC s v n SPC 
s t a t u 8 <backspace> s * C-e ) C-n C-n C-n C-M-b 
C-M-f C-M-f C-x C-s n <switch-frame> q C-z o <help-echo> 
<switch-frame> <switch-frame> <switch-frame> <help-echo> 
<switch-frame> <help-echo> <switch-frame> <switch-frame> 
<help-echo> <help-echo> C-c r n SPC c SPC SPC c SPC 
SPC c SPC C-p C-u = 5 <return> M-> SPC q M-v M-< n 
SPC SPC c SPC SPC c SPC SPC c SPC n SPC SPC n n n q 
M-g p SPC M-> C-u C-p p k SPC <backspace> SPC SPC <backspace> 
SPC n n q M-g M-g M-g SPC SPC n n n n n SPC n SPC q 
SPC C-n n SPC SPC <backspace> SPC n n u C-n C-g C-p 
C-p M S-SPC C-u C-n SPC SPC q n SPC SPC q SPC M-> SPC 
n n SPC SPC SPC q SPC SPC n SPC q n n n n C-u C-n n 
SPC SPC n SPC <backspace> C-z o C-x b <return> C-x 
b v c - s <tab> <return> C-x v = C-z o <backspace> 
C-z o C-z o C-x 1 M-v <backspace> C-z o C-x 1 C-v C-v 
C-x C-w / t m p / P <return> y <help-echo> C-z o M-x 
r e p o r t - e m a c s - b u g <return>

Recent messages:
Fetching headers for nntp+news.gmane.org:gmane.emacs.cc-mode.general...done
Generating summary...done
Retrieving newsgroup: nntp+news.gmane.org:gmane.comp.ide.anjuta.devel...
Fetching headers for nntp+news.gmane.org:gmane.comp.ide.anjuta.devel...done
Generating summary...done
Running cvs in the background... done
call-interactively: Beginning of buffer
File `/tmp/P' exists; overwrite? (y or n) 
Wrote /tmp/P
Loading emacsbug...done

Tom




reply via email to

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