emacs - Display compilation in inactive buffer -
gnu emacs 23.2.1
i using emacs on netbook 10" screen size.
if have 2 buffers open vertically each other. when compile compilation show in new vertical buffer. however, have 3 buffers. however, small screen there no room see errors.
i wondering if there way show compilation in inactive buffer.
i using following display vertical buffer:
; split vertiacally (setq split-width-threshold 0) (setq split-height-threshold nil)
many suggestions,
try
(setq split-width-threshold (ceiling (frame-width) 2))
edit (nov 24):
maybe do:
(defun display-on-side (buffer &optional not-this-window frame) (let* ((window (or (minibuffer-selected-window) (selected-window))) (display-buffer-function nil) (pop-up-windows nil)) (with-selected-window (or window (error "display-on-side")) (when (one-window-p t) (split-window-horizontally)) (display-buffer buffer not-this-window frame)))) (setq display-buffer-function 'display-on-side)
Comments
Post a Comment