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

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

Re: Does emacs have a line numbering feature?


From: David Kastrup
Subject: Re: Does emacs have a line numbering feature?
Date: Mon, 10 Sep 2007 03:41:51 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Michael Trausch <"mike|s/\x40/\./g;s/|.*|/\x40/g;|trausch"@us> writes:

> Drew Adams, on 09/09/2007 06:58 PM said:
>> 
>> Are you using Emacs 22? If so, then you can define a different command,
>> `global-linum-mode', as follows (after loading linum.el):
>> 
>> (define-globalized-minor-mode global-linum-mode
>>    linum-mode (lambda nil (linum-mode 1)))
>> 
>> Then just put this in your .emacs: (global-linum-mode 1).
>> 
>> You can toggle line numbering in all buffers at once using command
>> `global-linum-mode'. Even the minibuffer is affected, which might not be
>> what you want.
>>
>
> A small price to pay, given that having linum is about one of the
> only things that I was really left wishing for.  :) Now, if I could
> just find a computer chip to implant in my brain that would teach me
> LISP... :-)

It is usually sufficient to obliterate any recollection of C.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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