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

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

compilation-goto-locus always sets window height.


From: Oscar Fuentes
Subject: compilation-goto-locus always sets window height.
Date: Sun, 04 Sep 2005 02:03:49 +0200

Symptoms:


That function sets compile window height even when the window is
already visible.

I like to enlarge the compilation window when the compilation fails,
but as soon as I execute `next-error', the window height is restored
to the value of `compilation-window-height'.

A simple solution is this:

1681,1682c1681
<        (was-visible (get-buffer-window (marker-buffer msg) 'visible))
<        (w (or was-visible
---
>        (w (or (get-buffer-window (marker-buffer msg) 'visible)
1689,1690c1688
<     (when (not was-visible)
<       (compilation-set-window-height w))
---
>     (compilation-set-window-height w)



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
t:/emacscvs/alt/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.1 (i386-msvc-nt5.0.2195)
 of 2005-08-27 on K7
X server distributor `Microsoft Corp.', version 5.0.2195
configured using `configure --with-msvc (13.10)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: en
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ESN
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  show-paren-mode: t
  iswitchb-mode: t
  encoded-kbd-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

Recent input:
e <backspace> y e s <return> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <down> <down> <down> <down> 
<down> <down> <up> <up> <up> <up> <up> <up> <up> C-SPC 
<down> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> s <home> <up> C-SPC 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <up> <up> <up> <up> C-w <C-f4> C-x C-s <f10> 
<menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
Making completion list...
(New file)
Mark set
Auto-saving...done
"~/Mail/archive/enviados"
Sending...
mail-do-fcc: Opening output file: no such file or directory, 
d:/Mail/archive/enviados
Mark set
Mark activated
Wrote d:/home/.emacs


;; -- 
;; Oscar




reply via email to

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