[Top][All Lists]

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

Re: use of `mouse-face' to delimit text zones

From: Štěpán Němec
Subject: Re: use of `mouse-face' to delimit text zones
Date: Tue, 23 Aug 2011 21:17:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

On Tue, 23 Aug 2011 20:45:11 +0200
Eli Zaretskii wrote:

>> From: Stefan Monnier <address@hidden>
>> Cc: Drew Adams <address@hidden>,  address@hidden,  address@hidden
>> Date: Tue, 23 Aug 2011 14:34:25 -0400
>> > How is Joe R. Hacker supposed to know that adding invisible characters
>> > to a portion of text covered by mouse-face will break completion??
>> We're talking about a property added *by the completion code* and *for
>> the completion code*.  I.e. an internal use.
> Not entirely true: when the mouse hovers above those parts of the
> *Completions* buffer, the candidate under the mouse gets highlighted.
> By contrast, a face added for internal purposed would be invisible to
> the user.

IMO it needn't (shouldn't?) even be a face at all, just a separate text


reply via email to

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