Subject: bug#1032: foreground-color in default-frame-alist affects tooltips, while background-color does not

From: "Juanma Barranquero" <[email-masked]>
Date: Fri, 26 Sep 2008 21:03:41 +0200

On Fri, Sep 26, 2008 at 18:13, martin rudalics <[email-masked]> wrote:

> Can you produce a good tooltip by setting `tooltip-frame-parameters'
> appropriately?  Here I can't.  For example, the following gets always
> reset as
>
> (background-color . "systeminfowindow")

Same here:

*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP> tooltip-frame-parameters
((name . "tooltip")
 (internal-border-width . 2)
 (border-width . 1))

ELISP> (setq tooltip-frame-parameters (append '((background-color .
"lightyellow") (foreground-color . "black"))
tooltip-frame-parameters))
((background-color . "lightyellow")
 (foreground-color . "black")
 (name . "tooltip")
 (internal-border-width . 2)
 (border-width . 1))

;;; Show tooltip, then:

ELISP> tooltip-frame-parameters
((background-color . "systeminfowindow")
 (foreground-color . "systeminfotext")
 (name . "tooltip")
 (internal-border-width . 2)
 (border-width . 1))

             Juanma