From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Patrick Newsgroups: gmane.emacs.help Subject: Re: Modeline position Date: Tue, 14 Jun 2005 08:07:58 -0500 Message-ID: <4f1b14d90506140607665d4a5c@mail.gmail.com> References: <4f1b14d905061310543b67af30@mail.gmail.com> Reply-To: Patrick NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1118754764 25191 80.91.229.2 (14 Jun 2005 13:12:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2005 13:12:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 14 15:12:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DiBDD-0003zQ-HJ for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2005 15:12:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DiBID-0000uH-OG for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2005 09:17:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DiBEm-0008JV-HN for help-gnu-emacs@gnu.org; Tue, 14 Jun 2005 09:13:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DiBEh-0008Gi-ED for help-gnu-emacs@gnu.org; Tue, 14 Jun 2005 09:13:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DiBEg-0008E8-7A for help-gnu-emacs@gnu.org; Tue, 14 Jun 2005 09:13:46 -0400 Original-Received: from [64.233.184.198] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DiBAM-0006qp-3t for help-gnu-emacs@gnu.org; Tue, 14 Jun 2005 09:09:18 -0400 Original-Received: by wproxy.gmail.com with SMTP id 50so2084254wri for ; Tue, 14 Jun 2005 06:07:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Oy7WDyRlVtht9mHRnLSLoAXNlPBX/WH3qMbGj0RLZXiHRQcV9zf+5ta/0BhK22W8EOrN9mQxJt60Hk41RhAFWBVvERp0qgT5CS21jVC6znJ+9bctQtdw1J+eBO3GgegTcgaNO82ngugR/mLnVhHEoRyDOmA+ISXle9P80xUxiFY= Original-Received: by 10.54.144.9 with SMTP id r9mr3186300wrd; Tue, 14 Jun 2005 06:07:58 -0700 (PDT) Original-Received: by 10.54.73.16 with HTTP; Tue, 14 Jun 2005 06:07:58 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org In-Reply-To: Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:27463 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27463 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 =09=09 ecb-sources-buffer-name =09=09 ecb-methods-buffer-name =09=09 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 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? >=20 > (setq header-line-format mode-line-format > mode-line-format nil) >=20 >=20 > HTH. > Ted >=20 > -- > Edward O'Connor > hober0@gmail.com >=20 > Ense petit placidam sub libertate quietem. >=20 >=20 >=20 > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs >