GNU bug report logs -
#8862
compilation-window-height no good anymore
Previous Next
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):
>>>>> "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.