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: bojohan+mail <at> dd.chalmers.se (Johan Bockgård)
Subject: bug#743 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: 
 bug#743: 23.0.60; linum-mode margin display wrong)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#743: 23.0.60; linum-mode margin display wrong

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
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: 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.

[Message part 3 (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



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.