From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.help Subject: Re: How to make emacs display the line number just as vim does? Date: Mon, 19 Mar 2007 11:21:40 -0700 Message-ID: <877itdnlfv.fsf@offby1.atm01.sea.blarg.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174328706 10128 80.91.229.12 (19 Mar 2007 18:25:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2007 18:25:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 19 19:24:55 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HTMXI-0005ng-6Q for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Mar 2007 19:24:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTMYn-0001NH-KD for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Mar 2007 13:26:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HTMYZ-0001Lm-TY for help-gnu-emacs@gnu.org; Mon, 19 Mar 2007 14:26:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTMYY-0001LF-OQ for help-gnu-emacs@gnu.org; Mon, 19 Mar 2007 14:26:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTMYY-0001L9-HN for help-gnu-emacs@gnu.org; Mon, 19 Mar 2007 13:26:06 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HTMX4-0003De-9r for help-gnu-emacs@gnu.org; Mon, 19 Mar 2007 14:24:34 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HTMWE-0007zf-3c for help-gnu-emacs@gnu.org; Mon, 19 Mar 2007 19:23:42 +0100 Original-Received: from q-static-138-125.avvanta.com ([206.124.138.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Mar 2007 19:23:42 +0100 Original-Received: from offby1 by q-static-138-125.avvanta.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Mar 2007 19:23:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: q-static-138-125.avvanta.com User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:+rxxB4Qyi2pcycrUn0BriMV6tK4= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42057 Archived-At: >>>>> "Matthew" == Matthew Zhou writes: Matthew> I want to make emacs display the line nubmers in the left Matthew> margin of the screen. Other text editors I am using, Matthew> textmate, vim, all have such features. How to make emacs Matthew> do this thing? http://www.emacswiki.org/cgi-bin/wiki/setnu.el is supposed to do what you want. I've never used it, though, so I don't know how well it works. -- This delightful, self-describing sentence, created 16 February 2005 in honor of Katie Drake, has seven As, three Bs, four Cs, six Ds, forty-five Es, fifteen Fs, five Gs, thirteen Hs, eighteen Is, one J, three Ks, four Ls, one M, twenty-three Ns, sixteen Os, one P, one Q, nineteen Rs, thirty-one Ss, twenty-four Ts, eight Us, four Vs, three Ws, four Xs, six Ys, and one Z. -- Me