unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: compilation-mode `mouse-face' property is hardcoded to `highlight' face
Date: Fri, 16 Dec 2005 11:20:40 -0800	[thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBMEAECOAA.drew.adams@oracle.com> (raw)

In compilation-mode buffers (e.g. grep-mode), the `mouse-face' property is
hard-coded to use the `highlight' face. This hard-coding makes it hard for a
user to use a different `mouse-face' in these buffers.

Could we instead use a new face as the `mouse-face' property value in these
buffers, so that users can easily customize the face to be used for
mouseover highlighting there? Currently, one can only customize the
`highlight' face, which affects all buffers.

This change should only require:

1) adding a new face (defface), say `compilation-mouseover'
2) replacing `highlight' by `compilation-mouseover' in `compile.el'

The `highlight' face could still be used to define the initial value of the
new face.

(Why bother to have a `mouse-face' text property that can have different
values, if it is going to be hardcoded here and there?)

             reply	other threads:[~2005-12-16 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-16 19:20 Drew Adams [this message]
2005-12-17  1:57 ` compilation-mode `mouse-face' property is hardcoded to `highlight' face 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

  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=MEEKKIABFKKDFJMPIOEBMEAECOAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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).