unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: HZhou@pixelworks.com, 8003@debbugs.gnu.org
Subject: bug#8003: 23.1; Background of mouse is incorrect
Date: Sat, 28 Sep 2019 22:04:33 +0300	[thread overview]
Message-ID: <83a7aogs3i.fsf@gnu.org> (raw)
In-Reply-To: <87y2y8thh9.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat,  28 Sep 2019 20:15:30 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sat, 28 Sep 2019 20:15:30 +0200
> Cc: "'8003@debbugs.gnu.org'" <8003@debbugs.gnu.org>
> 
> Huafeng Zhou <HZhou@pixelworks.com> writes:
> 
> > Again. It is found that mouse-color is defined in default-frame-alist as following.
> > (setq default-frame-alist
> >       (append (list '(foreground-color . "black")
> >             '(mouse-color . "white")
> >             '(cursor-color . "black")
> >             '(width . 120)
> >             '(height . 50)
> >        default-frame-alist))
> > The above 'mouse-color' was effective although the following were defined in parallel.
> > '(mouse ((t (:background "blue" :foreground "black" :box (:line-width 2 :color "black" :style released-button) :underline "black")))))
> 
> Hm, I tried reproducing this now in Emacs 27, but then I realised I
> didn't know what to look for.  What is the `mouse' face used for?  It
> can't be the mouse pointer, I guess, and it's not used for
> highlighting.  I tried grepping, but the only usage I could find was in
> speedbar.el.

The 'mouse' face's background color is the color of the mouse pointer.
See the description of 'mouse-color' frame parameter in the node "Font
and Color Parameters" in the ELisp manual.





  reply	other threads:[~2019-09-28 19:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08  6:29 bug#8003: 23.1; Background of mouse is incorrect Huafeng Zhou
2011-02-08 18:54 ` Glenn Morris
2011-02-09  1:00   ` Huafeng Zhou
     [not found]   ` <2D2144648E51FB478DC9088FF4600CE00394BE33@sjcwin75.pixelworks.com>
2011-02-16 10:27     ` Huafeng Zhou
2019-09-28 18:15       ` Lars Ingebrigtsen
2019-09-28 19:04         ` Eli Zaretskii [this message]
2019-09-29 10:31           ` Lars Ingebrigtsen
2019-09-29 10:58             ` Eli Zaretskii
2019-09-29 11:56               ` Lars Ingebrigtsen
2019-09-29 12:33                 ` Eli Zaretskii
2019-09-30  4:17                   ` Lars Ingebrigtsen
2019-09-30  7:09                     ` Eli Zaretskii
2019-09-30 13:46                       ` Lars Ingebrigtsen
2019-09-30 14:19                         ` Eli Zaretskii

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=83a7aogs3i.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=8003@debbugs.gnu.org \
    --cc=HZhou@pixelworks.com \
    --cc=larsi@gnus.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).