GNU bug report logs - #15312
Info (point-entered, point-left): Doc incomplete, hence incorrect

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Mon, 9 Sep 2013 13:34:02 UTC

Severity: minor

Done: Jambunathan K <kjambunathan <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #62 received at 15312 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 15312 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#15312: Info (point-entered, point-left): Doc incomplete,
 hence incorrect
Date: Fri, 13 Sep 2013 19:43:37 +0300
> From: Jambunathan K <kjambunathan <at> gmail.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  15312 <at> 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.




This bug report was last modified 11 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.