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


Message #30 received at 743 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: bojohan+mail <at> dd.chalmers.se (Johan Bockgård)
To: 743 <at> debbugs.gnu.org
Subject: Re: bug#743: 23.0.60; linum-mode margin display wrong
Date: Fri, 22 Aug 2008 20:41:31 +0200
Markus Triska <markus.triska <at> gmx.at> writes:

> One remaining issue is that overlays for line numbers inherit text
> properties. For example:
>
>    $ emacs -Q -f fundamental-mode -f linum-mode
>
>    M-o u
>
> then insert anything, and the line number is also underlined. How to
> best fix this?

Try this:

    (defface linum
      '((t :inherit (shadow default)))
      "Face for displaying line numbers in the display margin."
      :group 'linum)

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