all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: GPM and mouse highlight
Date: Sun, 29 Aug 2010 14:34:05 +0200	[thread overview]
Message-ID: <4C7A53BD.4090601@swipnet.se> (raw)
In-Reply-To: <E1Opg9U-0001e9-O7@fencepost.gnu.org>



Eli Zaretskii skrev 2010-08-29 13.34:

>
> Thanks.  However, it looks like there's a small misunderstanding here.
> I didn't mean mouse selections, I meant mouse highlight when the mouse
> pointer hovers above mouse-sensitive text.  We have such highlight in
> Info, for example, where moving pointer above menu items and
> cross-references changes the mouse cursor and highlights the
> mouse-sensitive portion of the text.
>
> You can have this in any buffer by evaluating the following
> expression:
>
>    (put-text-property N M 'mouse-face 'highlight)
>
> for two buffer positions N and M.  Moving the mouse above the
> specified portion of text will make the text stand out.
>
> Suppose we have several TTY devices open in the same Emacs session.
> Can GPM support mouse highlight on more than a single device in such a
> session?

Isn't it Emacs that records and paints hightlights in this case?  GPM only 
supplies the coordinates and the Emacs decides to highlight.  If it is so, 
then GPM has no problem supporting many terminals.


>
>>> 2) If the answer to the previous question is NO, then should we add
>>> the mouse-highlight related variables to struct tty_display_info on
>>> Unix as well?
>>>
>>
>> Sounds like the right thing to do to me.
>
> Is this also true for the mouse highlight I described above?

Yes, I think so.

	Jan D.



  reply	other threads:[~2010-08-29 12:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-29  5:39 GPM and mouse highlight Eli Zaretskii
2010-08-29  8:30 ` Jan Djärv
2010-08-29 11:34   ` Eli Zaretskii
2010-08-29 12:34     ` Jan Djärv [this message]
2010-08-29 13:43       ` Eli Zaretskii
2010-08-30 15:52         ` Stefan Monnier

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=4C7A53BD.4090601@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=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.