From: Juanma Barranquero <lekktu@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Christoph Scholtes <cschol2112@googlemail.com>, 11496@debbugs.gnu.org
Subject: bug#11496: 24.1.50; Line numbers are not redrawn correctly in linum-mode
Date: Thu, 17 May 2012 05:50:05 +0200 [thread overview]
Message-ID: <CAAeL0SStwJ22oj_UWKa+Y=iLG9omzCfqao_DkXiya9agzGE9zw@mail.gmail.com> (raw)
In-Reply-To: <jwvtxzfbkfi.fsf-monnier+emacs@gnu.org>
On Thu, May 17, 2012 at 4:40 AM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> You may have more luck with my reimplementation of linum which uses
> jit-lock, which hopefully fixes those problems (tho it may come with
> others of course).
The first one is that it displays the line numbers using only as many
columns as needed for the largest line number it has already shown; it
does not take into account the number of lines in the buffer. This is
quite noticeable, for example, in
emacs -Q -f view-emacs-news -f linum-mode
vs.
emacs -Q -f view-emacs-mode -l nlinum -f nlinum-mode
Also, linum mode's linum-before-numbering-hook and linum-format are
quite useful for non-standard line numbering. Equivalent functionality
would be nice.
Juanma
next prev parent reply other threads:[~2012-05-17 3:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-17 1:45 bug#11496: 24.1.50; Line numbers are not redrawn correctly in linum-mode Christoph Scholtes
2012-05-17 2:40 ` Stefan Monnier
2012-05-17 3:02 ` Christoph Scholtes
2012-05-17 13:59 ` Stefan Monnier
2012-05-17 3:50 ` Juanma Barranquero [this message]
2012-05-17 13:49 ` Stefan Monnier
2012-05-17 13:08 ` Johan Bockgård
2012-05-17 9:09 ` martin rudalics
2012-05-17 10:12 ` martin rudalics
2012-05-17 16:15 ` Eli Zaretskii
2012-05-18 17:59 ` Stefan Monnier
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='CAAeL0SStwJ22oj_UWKa+Y=iLG9omzCfqao_DkXiya9agzGE9zw@mail.gmail.com' \
--to=lekktu@gmail.com \
--cc=11496@debbugs.gnu.org \
--cc=cschol2112@googlemail.com \
--cc=monnier@iro.umontreal.ca \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).