--- Begin Message ---
Subject: |
23.0.92; Cannot customize tootip font |
Date: |
Sat, 04 Apr 2009 11:05:45 +0300 |
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I don't like the default size of the font used by tooltips, so I
customize it to a smaller size by the following expression in my
~/.emacs:
(setq tooltip-frame-parameters
'((name . "tooltip")
(internal-border-width . 2)
(border-width . 1)
(font . "-*-*-light-r-*-*-10-*-*-*-*-*-*")))
This copies all the default parameters from tooltip.el, but adds a
font specification to the alist.
In Emacs 23, this doesn't seem to work, though: if you evaluate the
above expression in "emacs -Q" and move the mouse pointer to some
tool-bar button, you will see that the first tooltip is popped using
the smaller font, but the next and all the following tooltips somehow
revert to using the original font.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
d:/gnu/emacs/etc/DEBUG for instructions.
In GNU Emacs 23.0.92.1 (i386-mingw-nt5.1.2600)
of 2009-04-04 on HOME-C4E4A596F7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
value of $XMODIFIERS: nil
locale-coding-system: cp1255
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<help-echo> <help-echo> C-y C-j <help-echo> M-x r e
p o r t - e m <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#2885: 23.0.92; Cannot customize tootip font |
Date: |
Sat, 04 Apr 2009 17:51:45 +0300 |
> From: Stephen Berman <stephen.berman@gmx.net>
> Cc: 2885@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org
> Date: Sat, 04 Apr 2009 16:30:29 +0200
>
> I cannot reproduce this in GNU Emacs 23.0.91.5 (i686-pc-linux-gnu, GTK+
> Version 2.14.4) of 2009-03-30 on escher: for me the font parameter has
> no effect
Well, them having no effect was what I reported, so you _can_
reproduce that.
> Note that font and color parameters are ignored, and the attributes
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> of the `tooltip' face are used instead.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Thanks for the pointer. This isn't in NEWS, so I presumed the
previous behavior was still supported. I now added a suitable entry
in NEWS, so this bug report can be closed.
> Can you get what you want with set-face-attribute?
Yes, thanks.
--- End Message ---