From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: seberino@spawar.navy.mil Newsgroups: gmane.emacs.help Subject: Re: How make this modeline item be recalculated more often? Date: Fri, 11 Oct 2002 11:11:02 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <20021011111102.A8529@spawar.navy.mil> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034360023 2748 127.0.0.1 (11 Oct 2002 18:13:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Oct 2002 18:13:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org 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 1804I7-0000hM-00 for ; Fri, 11 Oct 2002 20:13:39 +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 1804Hn-0005Za-00; Fri, 11 Oct 2002 14:13:19 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 1804Gc-0003on-00 for help-gnu-emacs@gnu.org; Fri, 11 Oct 2002 14:12:06 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 1804Fd-00030k-00 for help-gnu-emacs@gnu.org; Fri, 11 Oct 2002 14:11:08 -0400 Original-Received: from seberino.spawar.navy.mil ([128.49.22.159]) by monty-python.gnu.org with esmtp (Exim 4.10) id 1804Fc-0002wP-00 for help-gnu-emacs@gnu.org; Fri, 11 Oct 2002 14:11:04 -0400 Original-Received: from seberino by seberino.spawar.navy.mil with local (Exim 4.10) id 1804Fa-0002Ds-00; Fri, 11 Oct 2002 11:11:02 -0700 Original-To: Colin Marquardt Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from c.marquardt@alcatel.de on Fri, Oct 11, 2002 at 02:24:24PM +0200 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:2488 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2488 Colin I'm curious what exactly RMS looked into. What exactly was your question/concern??? Chris On Fri, Oct 11, 2002 at 02:24:24PM +0200, Colin Marquardt wrote: > 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 > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs -- _______________________________________ Dr. Christian Seberino SPAWAR Systems Center San Diego Code 2363 49590 Lassing Road, Room A339 San Diego, CA 92152-6147 U.S.A. Phone: (619) 553-7940 Fax: (619) 553-1269 Email: seberino@spawar.navy.mil _______________________________________