JS <[EMAIL PROTECTED]> writes:

>>> 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?

Yes, basically, any will do.

>> 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?

Not with this mode because it has to be enabled in each buffer, when
you need it. I suggest you bind it to some key:

(global-set-key "\C-cl" 'setnu-mode)

And then you only need to press C-c l to toggle this mode.

/Mathias
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to