GNU bug report logs - #743
23.0.60; linum-mode margin display wrong

Previous Next

Package: emacs;

Reported by: bojohan+mail <at> dd.chalmers.se (Johan Bockgård)

Date: Tue, 19 Aug 2008 19:35:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#743: marked as done (23.0.60; linum-mode margin display wrong)
[Message part 1 (text/plain, inline)]
Your message dated Tue, 26 Aug 2008 16:53:13 -0400
with message-id <87sksrqz0m.fsf <at> cyd.mit.edu>
and subject line Re: bug#743: 23.0.60; linum-mode margin display wrong
has caused the Emacs bug report #743,
regarding 23.0.60; linum-mode margin display wrong
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
743: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=743
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: bojohan+mail <at> dd.chalmers.se (Johan Bockgård)
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; linum-mode margin display wrong
Date: Tue, 19 Aug 2008 21:29:39 +0200
$ emacs -Q -eval '(progn (linum-mode 1) (insert-char ?\n 100) (goto-line 12) (redisplay) (kill-line 10))'

The numbering in the margin of the first lines looks like:

  |
  |
  |
  |
  |
  |
  |
  |
  |
 1|
 1|
 1|
13|
14|
...

The first 12 lines have a display margin string that is 3 characters
long (space padded), but the margin is only 2 columns wide, so the last
digit is lost.

-- 
Johan Bockgård


[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Markus Triska <markus.triska <at> gmx.at>
Cc: bojohan+mail <at> dd.chalmers.se (Johan Bockgård),
        743-done <at> debbugs.gnu.org
Subject: Re: bug#743: 23.0.60; linum-mode margin display wrong
Date: Tue, 26 Aug 2008 16:53:13 -0400
> The following patch fixes this problem for me.

I've checked in the patch, together with Johan's suggestion of
inheriting the remaining face attributes of `linum' from the default
face.

Thanks.


This bug report was last modified 16 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.