bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#15312: Info (point-entered, point-left): Doc incomplete, hence incor


From: Eli Zaretskii
Subject: bug#15312: Info (point-entered, point-left): Doc incomplete, hence incorrect
Date: Fri, 13 Sep 2013 19:43:37 +0300

> From: Jambunathan K <kjambunathan@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  15312@debbugs.gnu.org
> Date: Fri, 13 Sep 2013 21:50:20 +0530
> 
>     (mapc
>      (lambda (s)
>        (insert (propertize s  'mouse-face font-lock-comment-face)))
>      '("ab" "cd"))
> 
> The intention of the programmer in the above case MAY have been to treat
> "ab" and "cd" differently.  
> 
> But the way Emacs deals with them, it considers "abcd" as a single
> stretch and they are highlighted together.

That's not because of the text properties, but because mouse-highlight
implementation is explicitly coded that way.





reply via email to

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