[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setnu.el / setnu+.el
From: |
Stefan Monnier |
Subject: |
Re: setnu.el / setnu+.el |
Date: |
Wed, 21 Dec 2005 12:49:05 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> (defun setnu-set-glyph-face (g face)
> (put-text-property 0 (length g) 'face face g))
Most likely the problem is that the face property of your overlay's
after-string is merged with the face property of the buffer text.
I expect that the overlay string's face takes precedence, so if you make
the face inherit from the `default' face, none of the bufer text's face
attributes will "show through".
BTW has anyone tried to re-implement setnu using the `margin' rather than
after-strings?
Stefan
Re: setnu.el / setnu+.el, Sean Sieger, 2005/12/23
- Re: setnu.el / setnu+.el,
Stefan Monnier <=
- RE: setnu.el / setnu+.el, Drew Adams, 2005/12/22
- Re: setnu.el / setnu+.el, Kevin Rodgers, 2005/12/22
- Message not available
- Re: setnu.el / setnu+.el, Stefan Monnier, 2005/12/22
- RE: setnu.el / setnu+.el, Drew Adams, 2005/12/22
- Re: setnu.el / setnu+.el, Kevin Rodgers, 2005/12/23
- RE: setnu.el / setnu+.el, Drew Adams, 2005/12/23
- Message not available
- Re: setnu.el / setnu+.el, Stefan Monnier, 2005/12/26
- Re: setnu.el / setnu+.el, Kevin Rodgers, 2005/12/27
- Message not available
- Re: setnu.el / setnu+.el, Stefan Monnier, 2005/12/28
Re: setnu.el / setnu+.el, Stefan Monnier, 2005/12/26