GNU bug report logs -
#14170
24.3; linum won't create all overlays after a folding
Previous Next
Reported by: E Sabof <esabof <at> gmail.com>
Date: Tue, 9 Apr 2013 21:38:01 UTC
Severity: normal
Found in version 24.3
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
> Cc: rgm <at> gnu.org, 14170 <at> debbugs.gnu.org
> Date: Mon, 15 Apr 2013 19:00:46 -0400
>
> > +(defvar margin-side nil)
>
> I suspect you wanted to use nlinum--margin-side instead, right?
Yes, I suspect so, too.
> Hmm... since the default value of bidi-paragraph-direction is nil, that
> means that this will change the default behavior and put a margin in
> each side.
Not in the major modes where line numbers are normally wanted: every
mode that inherits from prog-mode has its bidi-paragraph-direction set
as left-to-right by default.
For other modes, yes.
> Maybe we should decide nlinum--margin-side "lazily" based on the
> buffer's content, so if bidi-paragraph-direction is nil we only set
> a margin on the sides where we do display line numbers.
Patches are welcome ;-)
This bug report was last modified 9 years and 62 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.