From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gebser@speakeasy.net Newsgroups: gmane.emacs.help Subject: Re: Does Emacs have a line-number function or is %l the only equivalent? Date: Wed, 14 Jan 2004 12:18:04 -0500 (EST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87llod3qec.fsf@home.se> Reply-To: gebser@speakeasy.net NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1074103849 11829 80.91.224.253 (14 Jan 2004 18:10:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2004 18:10:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 14 19:10:45 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AgpTY-00027s-00 for ; Wed, 14 Jan 2004 19:10:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Agp84-0000Zw-Vg for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2004 12:48:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Agp78-0000Yw-Si for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 12:47:34 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Agp6b-0000Qy-NU for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 12:47:32 -0500 Original-Received: from [216.254.0.204] (helo=mail4.speakeasy.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Agoei-00042P-Uf for help-gnu-emacs@gnu.org; Wed, 14 Jan 2004 12:18:13 -0500 Original-Received: (qmail 17738 invoked from network); 14 Jan 2004 17:18:11 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO heidegger.mousecar.net) ([66.93.11.17]) (envelope-sender ) by mail4.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 14 Jan 2004 17:18:11 -0000 Original-To: help-gnu-emacs@gnu.org In-Reply-To: <87llod3qec.fsf@home.se> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16038 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16038 Having (setq-default line-number-mode t) puts the number of the current line (the one the cursor is on) in the modeline. Is that the sort of "function" you're referring to? Name withheld because it's too much to type. At 20:42 (UTC+0100) on Mon, 12 Jan 2004 Henrik Enberg said: = seberino@spawar.navy.mil (Christian Seberino) writes: = = > Does Emacs have a line-number function or is %l the only equivalent? = = There is setnu.el, but it only works so so, I recall. = = = _______________________________________________ = Help-gnu-emacs mailing list = Help-gnu-emacs@gnu.org = http://mail.gnu.org/mailman/listinfo/help-gnu-emacs =