From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: display window width? Date: Tue, 12 May 2009 11:48:58 +0200 Organization: Freie Universitaet Berlin Message-ID: <87ab5iircl.wl%anselm.helbig+news2009@googlemail.com> References: <5e5776e9-8e38-46da-bcbe-fdaa33f4e809@y34g2000prb.googlegroups.com> <87ab5iyef8.fsf@galatea.local> <3ee3352e-ab94-435f-a13d-7f03fd19094e@g3g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1242124870 18249 80.91.229.12 (12 May 2009 10:41:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2009 10:41:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 12 12:40:55 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M3pPh-0003No-6F for geh-help-gnu-emacs@m.gmane.org; Tue, 12 May 2009 12:40:45 +0200 Original-Received: from localhost ([127.0.0.1]:45203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3pPg-0005le-Kp for geh-help-gnu-emacs@m.gmane.org; Tue, 12 May 2009 06:40:44 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newshub.sdsu.edu!feeder.erje.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-X-Trace: news.uni-berlin.de HA3mqI1Kanogj1eoE5G/2gGFfjQhNKIhgFiOS8szMa+QFESZdVAf3/XkrJ Cancel-Lock: sha1:kT4nkASSG/BemMXXrHjrDm+DyfU= In-Reply-To: <3ee3352e-ab94-435f-a13d-7f03fd19094e@g3g2000pra.googlegroups.com> Mail-Followup-To: anselm.helbig+news2009@googlemail.com User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.3 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) Original-Xref: news.stanford.edu gnu.emacs.help:169105 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:64371 Archived-At: Hi! At Tue, 12 May 2009 02:08:43 -0700 (PDT), knubee wrote: > > > > is there a setting so that emacs will always display the width of a > > > window? > > > > M-: (window-width) RET > > thanks. but is there a way to always display this information in the > mode line? You could do it like this: (setq-default mode-line-position (cons '(:eval (format "[%s] " (window-width))) mode-line-position)) HTH, Anselm -- Anselm Helbig mailto:anselm.helbig+news2009@googlemail.com