From: Michael Heerdegen <michael_heerdegen@web.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: face vs. mouse-face text property
Date: Fri, 20 Jan 2012 21:18:47 +0100 [thread overview]
Message-ID: <87y5t2f7q0.fsf@web.de> (raw)
In-Reply-To: <E1RnqxO-0007ia-SN@fencepost.gnu.org> (Eli Zaretskii's message of "Thu, 19 Jan 2012 07:19:06 -0500")
Eli Zaretskii <eliz@gnu.org> writes:
> Could you please describe your scenario in more detail? Empty lines
> have no text, so it's unclear how can you talk about "clickable text"
> in that case.
I'm talking about completion candidates that can be selected with the
mouse. I stumbled over this problem in Icicles, but it also appears in
vanilla Emacs. Try this:
(completing-read "foo: " '(("aaaa") ("bbbb") ("\n") ("cccc")))
The "\n" candidate gets no visible mouse-face when you move the mouse
over it in *Completions*, so the user doesn't see where to click to
select it.
If you try that:
(completing-read "foo: " '(("a\n\nb")))
the whole area between a and b gets a mouse-face (from the left to the
right border of the window), but only if the mouse is exactly over the a
or the b.
Such completion candidates are a bit exotic, right, but they _do_ appear
in some situations.
- Michael
next prev parent reply other threads:[~2012-01-20 20:18 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-18 21:34 face vs. mouse-face text property Michael Heerdegen
2012-01-19 7:20 ` Chong Yidong
2012-01-19 12:19 ` Eli Zaretskii
2012-01-20 20:18 ` Michael Heerdegen [this message]
2012-01-21 10:09 ` Eli Zaretskii
2012-01-22 22:21 ` Michael Heerdegen
2012-01-23 6:48 ` Eli Zaretskii
2012-01-23 14:27 ` Stefan Monnier
2012-01-23 14:43 ` Lennart Borgman
2012-01-23 15:34 ` Stefan Monnier
2012-01-23 15:40 ` Lennart Borgman
2012-01-23 18:47 ` chad
2012-01-23 20:44 ` Eli Zaretskii
2012-01-23 21:09 ` chad
2012-01-24 3:48 ` Eli Zaretskii
2012-01-24 5:55 ` Eli Zaretskii
2012-01-24 7:04 ` chad
2012-01-24 9:11 ` Eli Zaretskii
2012-01-24 11:14 ` chad
2012-01-24 15:01 ` Stefan Monnier
2012-01-24 16:49 ` Richard Stallman
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=87y5t2f7q0.fsf@web.de \
--to=michael_heerdegen@web.de \
--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.