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: David Kastrup
Subject: Re: Fwd: overlay face property not used for after-string property
Date: Tue, 06 Nov 2007 10:18:21 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> Counterexample: linum.el.
>
> 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.

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.

-- 
David Kastrup




reply via email to

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