From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: Unified mouse-highlight code needs testing
Date: Sat, 06 Nov 2010 10:56:43 +0200 [thread overview]
Message-ID: <83iq0aomno.fsf@gnu.org> (raw)
I've committed a few minutes ago to the trunk revision 102261, which
unifies the mouse-highlight code for all sessions, including GUI
sessions and text terminals that support the mouse (GPM and MSDOS).
There's now only one set of note_FOO_highlight functions (in xdisp.c)
and their subroutines that determine which parts of the displayed text
should be highlighted. The only display-specific part is a single
function which actually draws a given glyph row in mouse-face.
I tested this on MS-Windows (as a representative of GUI sessions) and
on MSDOS. I don't have access to a system with GPM which actually has
a mouse, so I could only make sure it builds with GPM and runs
correctly without a mouse. I also made sure the X build compiles and
links.
Please test the new code on a TTY with GPM, on X, and on NS. On a TTY
with GPM, the immediate bonus from this unification is that now mode
line, header line, and overlays that specify mouse-face should all be
highlighted when the mouse hovers above them. The easiest way of
testing this is in Info: you have there the mode line, the header
line, and the bread crumbs which all specify mouse-face; these should
all work now.
It is also important to test this in a session that has both X and TTY
frames, especially if the TTY frame uses GPM.
Thanks in advance.
next reply other threads:[~2010-11-06 8:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-06 8:56 Eli Zaretskii [this message]
2010-11-06 9:38 ` Unified mouse-highlight code needs testing Jan Djärv
2010-11-06 10:41 ` Eli Zaretskii
2010-11-06 12:15 ` Jan D.
-- strict thread matches above, loose matches on Subject: below --
2010-11-15 6:36 MON KEY
2010-11-15 16:14 ` Eli Zaretskii
2010-11-15 18:34 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83iq0aomno.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.