help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Mode to display information in the topmost line of a window


From: Tassilo Horn
Subject: Re: Mode to display information in the topmost line of a window
Date: Thu, 30 Jul 2009 17:19:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Geralt <usr.gentoo@googlemail.com> writes:

Hi Geralt,

> iirc there's a mode in Emacs to display some information in the
> topmost line of a window, but I don't recall its name anymore.  Do you
> know what I'm talking about?

Yes, but it's no mode, it's a simple variable you can set.

,----[ C-h v header-line-format RET ]
| header-line-format is a variable defined in `C source code'.
| Its value is nil
| 
|   Automatically becomes buffer-local when set in any fashion.
|   This variable is potentially risky when used as a file local variable.
| 
| Documentation:
| Analogous to `mode-line-format', but controls the header line.
| The header line appears, optionally, at the top of a window;
| the mode line appears at the bottom.
`----

> And if yes do you know if it's possible to display ElDoc's output in
> this line instead of the echo area?

I guess you could redefine the function `eldoc-message' and set
`header-line-format' there.

Bye,
Tassilo





reply via email to

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