From: Eli Zaretskii <eliz@gnu.org>
To: Jean Louis <bugs@gnu.support>
Cc: emacs-devel@gnu.org
Subject: Re: How to implement mouse highlighing in tabulated list mode, just like for buttons?
Date: Sat, 04 Feb 2023 19:05:59 +0200 [thread overview]
Message-ID: <83ilghtl6w.fsf@gnu.org> (raw)
In-Reply-To: <3a7d15dca834fe52fb6470c3564b7cd2.support1@rcdrun.com> (message from Jean Louis on Sat, 04 Feb 2023 17:52:41 +0100)
> Date: Sat, 04 Feb 2023 17:52:41 +0100
> From: Jean Louis <bugs@gnu.support>
>
> I would prefer if I can hover hl-line-mode highlighted line up and
> down by only moving the mouse in tabulated list mode.
>
> Is that possible somehow?
>
> Or if highlighted line from hl-line-mode is not movable, then maybe it
> could be possible to highlight lines in tabulated list mode, in the
> same way how lines are highlighted when mouse hovers over Emacs buttons.
Put the mouse-face property on each line, and you have it.
(add-text-properties (line-beginning-position) (line-end-position)
'(mouse-face highlight))
next prev parent reply other threads:[~2023-02-04 17:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-04 16:52 How to implement mouse highlighing in tabulated list mode, just like for buttons? Jean Louis
2023-02-04 17:05 ` Eli Zaretskii [this message]
2023-02-04 18:47 ` Jean Louis
2023-02-04 19:01 ` Eli Zaretskii
2023-02-05 9:06 ` Jean Louis
2023-02-05 10:19 ` Eli Zaretskii
2023-02-05 11:52 ` [SOLVED] " Jean Louis
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=83ilghtl6w.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=bugs@gnu.support \
--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.