unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Chong Yidong <cyd@gnu.org>
Cc: 10464@debbugs.gnu.org
Subject: bug#10464: 24.0.92; mouse highlight regression
Date: Mon, 09 Jan 2012 22:48:26 +0200	[thread overview]
Message-ID: <83lipgeh5x.fsf@gnu.org> (raw)
In-Reply-To: <87ty45kwop.fsf@gnu.org>

> From: Chong Yidong <cyd@gnu.org>
> Date: Mon, 09 Jan 2012 18:16:38 +0800
> 
> With latest trunk, the (non-automated) redisplay testsuite is failing in
> Test 2.  Here is a simplified recipe:
> 
> emacs -Q
> 
> Insert the following:
> 
>   (let ((opoint (point))
> 	overlay)
>     (insert "XXX")
>     (setq overlay (make-overlay opoint (point)))
>     (overlay-put overlay 'display "XXX")
>     (overlay-put overlay 'mouse-face 'highlight))
> 
> M-x eval-buffer RET
> Move the mouse over the XXX that was inserted.
> 
> Result: multiple lines are highlighted, from the end of the first buffer
> line to the end of the display string.
> 
> Expected result (works in Emacs 23): only the XXX is highlighted.

I think I fixed this (trunk revision 106827), but please test,
including any variations on this theme you can come up with.  The
bidi-aware mouse highlight is tricky business, especially when display
strings are involved.





  parent reply	other threads:[~2012-01-09 20:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-09 10:16 bug#10464: 24.0.92; mouse highlight regression Chong Yidong
2012-01-09 12:32 ` Eli Zaretskii
2012-01-09 20:48 ` Eli Zaretskii [this message]
2012-01-10  4:21   ` Chong Yidong
2012-01-10  5:26     ` Eli Zaretskii
2012-01-11 19:47     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lipgeh5x.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=10464@debbugs.gnu.org \
    --cc=cyd@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).