From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Colin Marquardt Newsgroups: gmane.emacs.help Subject: Re: How make this modeline item be recalculated more often? Date: Fri, 11 Oct 2002 14:24:24 +0200 Organization: I'd rather call it chaos ... Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034351924 29837 127.0.0.1 (11 Oct 2002 15:58:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Oct 2002 15:58:44 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1802BQ-0007ka-00 for ; Fri, 11 Oct 2002 17:58:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zyrz-0006dS-00; Fri, 11 Oct 2002 08:26:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!gate.alcatel.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: gate.alcatel.de (194.113.59.80) Original-X-Trace: fu-berlin.de 1034339064 20702721 194.113.59.80 (16 [131051]) X-Disclaimer: Opinions expressed are not those of Alcatel. User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (sparc-sun-solaris2.8) Cancel-Lock: sha1:w3hm6OHsoz+Q3yO2q1hLqUF79lA= Cache-Post-Path: news.alcatel.de!unknown@slse6w.stgl.sel.alcatel.de X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Original-Xref: shelby.stanford.edu gnu.emacs.help:105930 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2484 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2484 seberino@spawar.navy.mil writes: > (setq default-mode-line-format (list "" > 'mode-line-buffer-identification > " " > (system-name) > " " > '(:eval (format "%s" (+ (string-to-int "%c") 1))) > "Line %l Col %c")) > > I've been playing with adding one to column number in modeline and > came up with the eval element above.... > > It evaluates to a 1 when column in zero but it is not updated > when I change the columns!?!?!? How make it be reevaluated > when %c changes??? I also asked this a while ago and got told that Emacs 21 now has display optimizations that prevent this from working like we want. RMS looked into it and said that changing it would require extensive modifications. Cheers, Colin