unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Miles Bader <miles@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Modeline position
Date: Tue, 14 Jun 2005 09:10:27 +0900	[thread overview]
Message-ID: <87zmttpzm4.fsf@tc-1-100.kawasaki.gol.ne.jp> (raw)
In-Reply-To: <mailman.1.1118687185.2837.help-gnu-emacs@gnu.org> (Patrick's message of "Mon, 13 Jun 2005 12:54:32 -0500")

Patrick <bigredindian@gmail.com> writes:
> Is there any way to change the mode-line position so that it is, say,
> at the top of a buffer rather then at the bottom?
>
> I can't find any info about it so I assume the answer is no.

It may be possible to do something that halfway works in recent versions
of GNU Emacs (21 and later; I tried with a CVS version), by using the
header-line instead of the mode-line.

E.g., in your scratch buffer, try something like:

   ;; copy mode-line contents to header-line
   (setq header-line-format mode-line-format)

   ;; get rid of mode-line (nil format)
   (setq mode-line-format nil)

[You can also edit the `header-line' face to make the appearance be more
to your liking.]

Of course some modes (e.g. info mode) try to mess with the mode/header
lines themselves, which will screw things up in those buffers, so you'll
have to add special hacks (maybe to the mode hooks for htose modes) to
deal with those cases.

If you want to do this in only a single buffer, use
`make-local-variable' on those two variables first to make them
buffer-local.

-Miles
-- 
Run away!  Run away!

       reply	other threads:[~2005-06-14  0:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1118687185.2837.help-gnu-emacs@gnu.org>
2005-06-14  0:10 ` Miles Bader [this message]
2005-06-13 17:54 Modeline position Patrick
2005-06-14  0:21 ` Edward O'Connor
2005-06-14 13:07   ` Patrick

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=87zmttpzm4.fsf@tc-1-100.kawasaki.gol.ne.jp \
    --to=miles@gnu.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).