From: Mathias Dahl <brakjoller.rem0veth1s@gmail.com>
Subject: Re: Possible to get line numbers?
Date: Wed, 30 Mar 2005 13:38:35 +0200 [thread overview]
Message-ID: <uvf79pdms.fsf@gmail.com> (raw)
In-Reply-To: d2ds9r$ucg$1@news.net.uni-c.dk
JS <d44sf@44ada.com> 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
next prev parent reply other threads:[~2005-03-30 11:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.580.1112137662.28103.help-gnu-emacs@gnu.org>
2005-03-29 23:52 ` Possible to get line numbers? JS
2005-03-30 7:26 ` Mathias Dahl
2005-03-30 9:50 ` JS
2005-03-30 11:38 ` Mathias Dahl [this message]
2005-03-30 19:03 Ryan Bowman
-- strict thread matches above, loose matches on Subject: below --
2005-03-29 21:47 JS
2005-03-29 22:25 ` Pascal Bourguignon
2005-03-29 22:44 ` Drew Adams
2005-03-29 23:23 ` Joe Corneli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uvf79pdms.fsf@gmail.com \
--to=brakjoller.rem0veth1s@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).