GNU bug report logs - #8862
compilation-window-height no good anymore

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Tue, 14 Jun 2011 15:04:01 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: jidanni <at> jidanni.org
To: david.belohrad <at> cern.ch
Cc: help-gnu-emacs <at> gnu.org, 8862 <at> debbugs.gnu.org
Subject: Re: Stop compilation mode from splitting the window
Date: Sun, 24 Jul 2011 23:34:11 +0800
>>>>> "DB" == David Belohrad <david.belohrad <at> cern.ch> writes:
DB> I use something like this to close compilation window if no error during compilation was
DB> found. This however does not preserve the frame configuration

DB>   (setq compilation-finish-function
DB>      (lambda (buf str)
DB>        (if (or (string-match "warning:" str) (string-match "exited abnormally" str)
DB> (string-match "compilation aborted" str))
DB>                ;;there were errors
DB>            (message "compilation errors or warnings, press C-x ` to visit")
DB>          ;;no errors, make the compilation window go away in 0.5 seconds
DB>          (run-at-time 0.5 nil 'delete-windows-on buf)
DB>          (message "NO COMPILATION ERRORS!"))))
OK, but one would think the emacs maintainers might be charitable to
provide a variable to just not split the window in half in the first
place (so I can see the whole window of juicy compilation action.)




This bug report was last modified 14 years and 18 days ago.

Previous Next


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