emacs-devel
[Top][All Lists]
Advanced

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

Re: Global bar to display global information


From: martin rudalics
Subject: Re: Global bar to display global information
Date: Wed, 17 Aug 2011 11:44:27 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> I tried this code and get funny results: typing `C-x C-b' displays
> the *Buffer List* buffer in that small 1-line window :)
>
> So this window should be marked as dedicated.  A more compact specification
> to do that could look like:
>
>   (display-buffer "*global-mode-line*"
>                   '(minibuffer . above) (dedicated . t) (height . 1))

Frames don't necessarily have a minibuffer.  So currently this would be
done as

(display-buffer
 (get-buffer-create "*global-mode-line*")
 '((use-side-window bottom 0) (dedicate . t) (pop-up-window-set-height . 1)))

martin



reply via email to

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