GNU bug report logs - #8003
23.1; Background of mouse is incorrect

Previous Next

Package: emacs;

Reported by: Huafeng Zhou <HZhou <at> pixelworks.com>

Date: Tue, 8 Feb 2011 08:19:02 UTC

Severity: normal

Tags: unreproducible

Found in version 23.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: HZhou <at> pixelworks.com, 8003 <at> debbugs.gnu.org
Subject: bug#8003: 23.1; Background of mouse is incorrect
Date: Sat, 28 Sep 2019 22:04:33 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Sat, 28 Sep 2019 20:15:30 +0200
> Cc: "'8003 <at> debbugs.gnu.org'" <8003 <at> debbugs.gnu.org>
> 
> Huafeng Zhou <HZhou <at> 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.




This bug report was last modified 5 years and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.