From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How add one to column # on modeline (%c) so starts from _1_? Date: Thu, 26 Sep 2002 07:52:58 +0200 (IST) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <20020926053553.GA19380@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 1033019843 25570 127.0.0.1 (26 Sep 2002 05:57:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2002 05:57:23 +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 17uReM-0006eH-00 for ; Thu, 26 Sep 2002 07:57:22 +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 17uReM-0000OV-00; Thu, 26 Sep 2002 01:57:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17uRd5-0000Ft-00 for help-gnu-emacs@gnu.org; Thu, 26 Sep 2002 01:56:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17uRcx-0000Cl-00 for help-gnu-emacs@gnu.org; Thu, 26 Sep 2002 01:56:03 -0400 Original-Received: from is.elta.co.il ([199.203.121.2]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uRcw-0000Cg-00 for help-gnu-emacs@gnu.org; Thu, 26 Sep 2002 01:55:54 -0400 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id HAA13643; Thu, 26 Sep 2002 07:52:58 +0200 (IST) X-Sender: eliz@is Original-To: seberino@spawar.navy.mil In-Reply-To: <20020926053553.GA19380@spawar.navy.mil> 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:1877 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1877 On Wed, 25 Sep 2002 seberino@spawar.navy.mil wrote: > %c on modeline gives column number but it > starts at 0 which is silly... > > How add 1 to this so starts at 1??? > > (%c + 1) doesn't do it of course. Try the (:eval FORM) construct.