From: Patrick <bigredindian@gmail.com>
Subject: Re: Modeline position
Date: Tue, 14 Jun 2005 08:07:58 -0500 [thread overview]
Message-ID: <4f1b14d90506140607665d4a5c@mail.gmail.com> (raw)
In-Reply-To: <m28y1d6b4r.fsf@roisin.local>
Thank you.
I used default-header-line-format, which works well. Otherwise the
format remains buffer-local I believe.
(setq default-header-line-format default-mode-line-format
default-mode-line-format nil)
And for those of you who use ecb, you can hook into
ecb-redraw-layout-after-hook with something clunky like this (which
also turns off fringes in emacs CVS)
(defun ecb-hook ()
(let ((l (list ecb-directories-buffer-name
ecb-sources-buffer-name
ecb-methods-buffer-name
ecb-history-buffer-name)))
(progn
(mapcar '(lambda (x) (set-window-fringes (get-buffer-window x) 0 0)) l)
(mapcar '(lambda (x) (setq mode-line-format nil)) l)
(set-window-fringes ecb-edit-window 5 5)
)))
And if you edit ecb-mode-line-update-buffer (in ecb-mode-line.el) to
use header-line-format instead of mode-line-format, you'll be all set
(there don't seem to be any hooks that work :( you'll need to
hard-code it).
Patrick
On 6/13/05, Edward O'Connor <hober0@gmail.com> wrote:
> > 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?
>
> (setq header-line-format mode-line-format
> mode-line-format nil)
>
>
> HTH.
> Ted
>
> --
> Edward O'Connor
> hober0@gmail.com
>
> Ense petit placidam sub libertate quietem.
>
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
next prev parent reply other threads:[~2005-06-14 13:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-13 17:54 Modeline position Patrick
2005-06-14 0:21 ` Edward O'Connor
2005-06-14 13:07 ` Patrick [this message]
[not found] <mailman.1.1118687185.2837.help-gnu-emacs@gnu.org>
2005-06-14 0:10 ` Miles Bader
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=4f1b14d90506140607665d4a5c@mail.gmail.com \
--to=bigredindian@gmail.com \
/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).