From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Lewis Newsgroups: gmane.emacs.help Subject: Re: line numbers Date: Tue, 07 Jan 2003 12:43:14 -0800 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041975813 6703 80.91.224.249 (7 Jan 2003 21:43:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2003 21:43:33 +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 18W1VT-0001jx-00 for ; Tue, 07 Jan 2003 22:43:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18W0gK-0006Lb-0A for gnu-help-gnu-emacs@m.gmane.org; Tue, 07 Jan 2003 15:50:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.bredband.com!bredband!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: marge.cs.sfu.ca Original-X-Trace: quimby.gnus.org 1041972424 11550 199.60.3.71 (7 Jan 2003 20:47:04 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 7 Jan 2003 20:47:04 GMT X-Attribution: Benjamin Lewis X-Yow: Hey, LOOK!! A pair of SIZE 9 CAPRI PANTS!! They probably belong to SAMMY DAVIS, JR.!! User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Cancel-Lock: sha1:yJpg2mAh/EzqnIT6WN7qmPJaFz8= Original-Xref: shelby.stanford.edu gnu.emacs.help:108713 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5235 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5235 Tuomo Takkula wrote: > Benjamin Lewis writes: > >> Matthew Low wrote: >> >>> I'm using Emacs 21.2.1. Is there any way to display line numbers on the >>> screen as you are typing? >> >> Yes: >> >> http://www.emacswiki.org/cgi-bin/wiki.pl?LineNumbers >> >> I'm curious why you want this, though. I've noticed a number of people >> asking about this, and can't see where it would be useful, given some of >> emacs' other features. >> > > and personally I prefer to have the current line in the > modeline. Saves a few of these precious columns of editor space... > > (setq-default line-number-mode t) Exactly. This and things like M-x goto-line (bound to a convenient function key), and being able to jump directly to or cycle through coding errors from the compilation buffer, obviate the need for me to see the line numbers in the buffer itself. This doesn't necessarily mean it's not useful for everyone, though, which was why I asked the question. Or perhaps the original poster is satisfied with line numbers on the modeline; the question is vague enough that this is unclear. -- Benjamin Lewis Work is the curse of the drinking classes. -- Mike Romanoff