From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: can we please define a face for compile.el mouseover?
Date: Tue, 15 Feb 2011 21:32:00 -0500 [thread overview]
Message-ID: <jwvwrl0k923.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <F214997A3A5646FEA54A0723D1504E21@us.oracle.com> (Drew Adams's message of "Tue, 15 Feb 2011 14:41:58 -0800")
>> > Can we please define a face to be used for the `mouse-face'
>> > property in the `compile.el' code?
>> Why do you want a different mouse-face in compile.el than elsewhere?
> I want users to _be able_ to customize mouseover appearance
> differently in one context from another. I don't want to _require_
> them to use different faces any more than I want to require them to
> use the same face (the case today, and not even customizable).
I understand, the question is about *you* as a user.
> In my own case, I want mouseover in compilation/grep buffers to just
> underline the text. But I generally want mouseover to use face
> `highlight' elsewhere.
So, can you explain why? Also, is that really the only case where you
want mouse-face to look different?
> Users should be able to do it by _customizing_ the particular face
> used for mouseover in the particular context. Why complicate things
> unnecessarily? One might be able to use face remapping here and there
> all over the place to simulate face customization, but why?
Because adding umpteen customization variables for all the cases where
some user might want to change a face makes no sense. So if there's
a good reason why this particular case is likely to happen to many
users, a customization variable might be justified, but otherwise having
a generic solution (e.g. face-remapping) seems quite sufficient.
Stefan
next prev parent reply other threads:[~2011-02-16 2:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-15 19:26 can we please define a face for compile.el mouseover? Drew Adams
2011-02-15 19:42 ` Eli Zaretskii
2011-02-15 22:43 ` Drew Adams
2011-02-15 21:12 ` Stefan Monnier
2011-02-15 22:41 ` Drew Adams
2011-02-16 2:32 ` Stefan Monnier [this message]
2011-02-16 4:03 ` Drew Adams
2011-02-19 21:11 ` Stefan Monnier
2011-02-19 21:32 ` Chong Yidong
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=jwvwrl0k923.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=drew.adams@oracle.com \
--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 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).