From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JS Newsgroups: gmane.emacs.help Subject: Re: Possible to get line numbers? Date: Wed, 30 Mar 2005 11:50:19 +0200 Organization: UNI-C Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1112177416 31689 80.91.229.2 (30 Mar 2005 10:10:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2005 10:10:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 30 12:10:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGa96-00067o-4y for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Mar 2005 12:09:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGaPZ-0002Qe-HV for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Mar 2005 05:26:57 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 130.225.245.182 Original-X-Trace: news.net.uni-c.dk 1112175740 31120 130.225.245.182 (30 Mar 2005 09:42:20 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Wed, 30 Mar 2005 09:42:20 +0000 (UTC) User-Agent: KNode/0.7.7 Original-Xref: shelby.stanford.edu gnu.emacs.help:129739 Original-To: help-gnu-emacs@gnu.org 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:25292 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25292 Mathias Dahl wrote: > "JS" writes: > >> "Drew Adams" skrev i en meddelelse >> news:mailman.580.1112137662.28103.help-gnu-emacs@gnu.org... >>> > Is it possible to get line numbers in the left margin of emacs?? >>> >>> http://www.emacswiki.org/cgi-bin/wiki/LineNumbers >>> >>> >> >> Ok I downloaded: >> >> setnu.el >> >> But what am I supposed to do with it? I am just starting to use emacs. > > Put the file in your somewhere in your load-path (to see which > directories are in the load-path, do C-h v load-path RET), When I do that I get a list of maybe 15 diretories! Should I just put in one of them? > then add > the following to your .emacs file: > > (require 'setnu) > > Now, when you want line numbers do M-x setnu-mode RET I could be nice that the linenumbers are visible each time I start emacs, is that possible? JS