From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?iso-8859-1?Q?Bockg=E5rd?=) Newsgroups: gmane.emacs.help Subject: Re: Horizontal Scroll (mode-line) Supersedes: Date: Thu, 02 Jun 2005 22:42:24 +0200 Organization: Chalmers University of Technology, Sweden Message-ID: References: <878y1th7pv.fsf@quasar.esben-stien.name> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1117745890 26567 80.91.229.2 (2 Jun 2005 20:58:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2005 20:58:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 02 22:58:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ddwk7-0006hr-DV for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2005 22:56:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ddwpg-0008B6-An for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2005 17:02:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.swip.net!swipnet!newsfeed.sunet.se!news01.sunet.se!129.16.116.9.MISMATCH!dd.chalmers.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: linus003.dd.chalmers.se User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Mail-Copies-To: never Cancel-Key: sha1:xFVNd+zsMDzNK27CzejsDngLSAY= Cancel-Lock: sha1:dRGtHNROwnmRI8DIDb2SIsz5I7o= Original-Xref: shelby.stanford.edu gnu.emacs.help:131717 Original-To: help-gnu-emacs@gnu.org 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:27178 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27178 Joe Corneli writes: > Presumably you can get the modestring to pop up in a temporary > buffer. You might look at the variable mode-line-format and go from > there. I'm not sure what code is used to parse the mode-line-format > into the string you see in the modeline. Emacs 22 has `format-mode-line'. In Emacs 21 this functionality is not directly accessible from lisp. (You can look for the library "apply-mode-line-format.el" by Kevin Rodgers though.) -- Johan Bockgård