emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: overlay face property not used for after-string property


From: Stefan Monnier
Subject: Re: Fwd: overlay face property not used for after-string property
Date: Tue, 06 Nov 2007 05:05:42 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>> BTW, IIUC the problem with linum.el is Emacs's handling of margin
>> text: it makes no sense (to me, and apparently to linum.el) for the
>> text displayed in the margin to inherit face properties from the
>> buffer point where that text is "located".

> If you have tabulated text in alternately colored background lines, it
> might well make sense to inherit that.

But then this background should be inherited by the margin rather than by
the margin's text, right? (i.e. it should be inherited even if there's no
text placed in the margin)

> Please: be aware that we are talking about a generic mechanism here.
> It does not make sense to hard-code behavior for a single application
> into it.  There is more than one behavior that makes sense, and if we
> find that we can only cater for a single behavior of several possibly
> making sense (or being consistent), then we need to extend the API
> rather than fix the behavior to a single possibility.

Don't worry: it's always at the top of my concerns,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]