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: How make this modeline item be recalculated more often? Date: Wed, 9 Oct 2002 04:37:24 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <20021009043724.A31006@spawar.navy.mil> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034163553 26382 127.0.0.1 (9 Oct 2002 11:39:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2002 11:39:13 +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 17zFBI-0006rO-00 for ; Wed, 09 Oct 2002 13:39:12 +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 17zFAT-0004Qn-00; Wed, 09 Oct 2002 07:38:21 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17zF9b-0002GB-00 for help-gnu-emacs@gnu.org; Wed, 09 Oct 2002 07:37:27 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17zF9Z-0002FZ-00 for help-gnu-emacs@gnu.org; Wed, 09 Oct 2002 07:37:26 -0400 Original-Received: from seberino.spawar.navy.mil ([128.49.22.159]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zF9Z-0002FP-00 for help-gnu-emacs@gnu.org; Wed, 09 Oct 2002 07:37:25 -0400 Original-Received: from seberino by seberino.spawar.navy.mil with local (Exim 4.10) id 17zF9Y-00084D-00 for help-gnu-emacs@gnu.org; Wed, 09 Oct 2002 04:37:24 -0700 Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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:2407 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2407 (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??? CS