|
From: | Jérémy Compostella |
Subject: | Re: Global bar to display global information |
Date: | Wed, 17 Aug 2011 11:41:49 +0000 (UTC) |
User-agent: | Loom/3.14 (http://gmane.org/) |
martin rudalics <rudalics <at> gmx.at> writes: > > > 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))) > I don't have a good Internet connexion on my vacation site so I can't get the emacs repository and I can't test it right now. Could you explain what is the result ? Anyway, I was thinking that we could maybe use the echo area to provide globals information like date/time or unread mail count. These information should not appear in the *Messages* buffer of course. What is your opinion ?
[Prev in Thread] | Current Thread | [Next in Thread] |