GNU bug report logs -
#8003
23.1; Background of mouse is incorrect
Previous Next
Full log
Message #22 received at 8003 <at> debbugs.gnu.org (full text, mbox):
> 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.