unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Mode to display information in the topmost line of a window
Date: Thu, 30 Jul 2009 17:19:04 +0200	[thread overview]
Message-ID: <87r5vyw653.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: fbdd0e50907300538s18326213m1ce0b1fcf0f447d3@mail.gmail.com

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	other threads:[~2009-07-30 15:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30 12:38 Mode to display information in the topmost line of a window Geralt
2009-07-30 15:19 ` Tassilo Horn [this message]
2009-07-30 15:47   ` Geralt
2009-07-30 15:58     ` Lennart Borgman
2009-07-30 16:00     ` Tassilo Horn
2009-07-31  4:08     ` Kevin Rodgers
2009-07-31  7:12       ` Tassilo Horn
2009-07-31 16:03         ` Geralt
2009-07-31 16:19           ` Drew Adams
2009-07-31 23:46             ` Geralt
2009-07-31 23:51               ` Lennart Borgman
2009-08-01  9:30                 ` Geralt
2009-07-31 23:56               ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5vyw653.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).