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 force evaluation of this string's math *before* print?.... Date: Mon, 7 Oct 2002 10:53:01 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <20021007105301.B15231@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 1034013358 27560 127.0.0.1 (7 Oct 2002 17:55:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2002 17:55:58 +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 17yc6l-0007AA-00 for ; Mon, 07 Oct 2002 19:55:55 +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 17yc57-000215-00; Mon, 07 Oct 2002 13:54:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17yc45-0000KR-00 for help-gnu-emacs@gnu.org; Mon, 07 Oct 2002 13:53:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17yc43-0000JB-00 for help-gnu-emacs@gnu.org; Mon, 07 Oct 2002 13:53:08 -0400 Original-Received: from seberino.spawar.navy.mil ([128.49.22.159]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yc43-0000J7-00 for help-gnu-emacs@gnu.org; Mon, 07 Oct 2002 13:53:07 -0400 Original-Received: from seberino by seberino.spawar.navy.mil with local (Exim 4.10) id 17yc3x-0003yb-00 for help-gnu-emacs@gnu.org; Mon, 07 Oct 2002 10:53:01 -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:2336 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2336 On modeline I have this element.... '(:eval "%c + 1") %c is the column number of the cursor.... How can I tell Emacs to evaluate the addition in quotes above??? Right now it literally prints "+ 1" all the time rather than adding it to column number (%c). Chris -- _______________________________________ Dr. Christian Seberino SPAWAR Systems Center San Diego Code 2363 49590 Lassing Rd. Rm. A339 San Diego, CA 92152-6147 U.S.A. Phone: (619) 553-7940 Fax: (619) 553-1269 Email: seberino@spawar.navy.mil _______________________________________