help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible to get line numbers?


From: Mathias Dahl
Subject: Re: Possible to get line numbers?
Date: Wed, 30 Mar 2005 09:26:56 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt)

"JS" <dsa.@asdf.com> writes:

> "Drew Adams" <drew.adams@oracle.com> 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), then add
the following to your .emacs file:

(require 'setnu)

Now, when you want line numbers do M-x setnu-mode RET

/Mathias


reply via email to

[Prev in Thread] Current Thread [Next in Thread]