emacs-devel
[Top][All Lists]
Advanced

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

Re: something like linum.el ought to be added


From: Leo
Subject: Re: something like linum.el ought to be added
Date: Sun, 09 Sep 2007 11:43:29 +0100
User-agent: Gnus/5.110007 Emacs/23.0.50 (20070901) Fedora 7 (gnu/linux)

On 2007-09-09 11:04 +0100, Joe Wells wrote:
> The approach to line numbering in linum.el seems to work well and
> seems to be fast and robust.  I suggest it would be a good idea to
> officially add it, or something like it, to Emacs.
>
> This would allow line numbering like many other programs do, with a
> line number prefixed to each line on the left.  The current
> line-number-mode is not what many users want.
>
> The linum.el file can be found at:
>
>   http://stud4.tuwien.ac.at/~e0225855/linum/linum.html

I think it is an excellent addition to Emacs. This feature has been
requested for many years now.

> I suggest the following improvement to linum.el be considered:
>
> • The line number should be put in its own face; linum.el puts it in
>   the face default.
>
> • The line number should be put in the display margins.  This would
>   allow better display of long lines that wrap around.  The code in
>   linum.el appears to be making some attempt to do this, but doesn't
>   seem to actually use the margins.
>
> I hope this suggestion is useful.

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

=>             "(require 'cl) considered harmful" considered harmful
=>           http://dto.freeshell.org/blog/blog-2007-09-07-2323.html





reply via email to

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