From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.help Subject: Re: Modeline position Date: Tue, 14 Jun 2005 09:10:27 +0900 Message-ID: <87zmttpzm4.fsf@tc-1-100.kawasaki.gol.ne.jp> References: Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118709393 6533 80.91.229.2 (14 Jun 2005 00:36:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2005 00:36:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 14 02:36:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DhzPQ-0006jp-Mh for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2005 02:36:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhzUK-00081W-9t for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jun 2005 20:41:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhzQ8-00062j-MB for help-gnu-emacs@gnu.org; Mon, 13 Jun 2005 20:36:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DhzPx-0005vt-Jl for help-gnu-emacs@gnu.org; Mon, 13 Jun 2005 20:36:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhzPt-0005qt-PR for help-gnu-emacs@gnu.org; Mon, 13 Jun 2005 20:36:33 -0400 Original-Received: from [203.216.5.72] (helo=smtp02.dentaku.gol.com) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Dhz1q-00015P-Vr; Mon, 13 Jun 2005 20:11:43 -0400 Original-Received: from yokohama2-61-203-152-172.ap.0038.net ([61.203.152.172] helo=tc-1-100.kawasaki.gol.ne.jp) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1Dhz0e-0002ql-DG; Tue, 14 Jun 2005 09:10:29 +0900 Original-Received: by tc-1-100.kawasaki.gol.ne.jp (Postfix, from userid 1000) id 730762FBD; Tue, 14 Jun 2005 09:10:27 +0900 (JST) Original-To: Patrick System-Type: i686-pc-linux-gnu In-Reply-To: (Patrick's message of "Mon, 13 Jun 2005 12:54:32 -0500") Original-Lines: 33 X-Abuse-Complaints: abuse@gol.com 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:27459 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27459 Patrick 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!