Subject: bug#743 closed by Chong Yidong <[email-masked]> (Re: bug#743: 23.0.60; linum-mode margin display wrong)

From: [email-masked] (Emacs bug Tracking System)

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 <[email-masked]>.

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 <[email-masked]> by
replying to this email.

-- 
743: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=743
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Tue Aug 26 13:51:31 2008
To: Markus Triska <[email-masked]>
Cc: [email-masked] (Johan =?utf-8?Q?Bockg=C3=A5rd?=),
        [email-masked]
Subject: Re: bug#743: 23.0.60; linum-mode margin display wrong
From: Chong Yidong <[email-masked]>
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.

>From [email-masked] Tue Aug 19 12:29:51 2008
From: [email-masked] (Johan =?utf-8?Q?Bockg=C3=A5rd?=)
To: [email-masked]
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.

--=20
Johan Bockg=C3=A5rd