bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set-face-font and new frames


From: Jesse Sheidlower
Subject: set-face-font and new frames
Date: Wed, 28 Apr 2004 19:03:54 -0400 (EDT)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386--freebsd, X toolkit, Xaw3d scroll bars)
 of 2004-04-01 on vasty.jessesword.com
configured using `configure  --x-libraries=/usr/X11R6/lib 
--x-includes=/usr/X11R6/include --prefix=/usr/local i386--freebsd'
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: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

The set-face-font command does not re-set the font
used for new frames.

Specifically, I have the following in my .emacs:

(when (display-multi-font-p)
      (set-face-font 'default 
"-B&H-LucidaTypewriter-Medium-R-Normal-Sans-12-120-75-75-M-70-ISO8859-1"))

This sets the default font in my main frame to the specified font.
However, if I open up a new frame with C-x 5-2, this frame does 
_not_ open in this font, but rather with the system default font.

The doc string for set-face-font says, "FRAME nil or not
specified means change face on all frames", which suggests
to me that it means 'all frames, current and future'. If it
really means 'all existing frames, but future frames will
not be affected', the docs should make this clear.

I'd suggest that set-face-font should set the face for all
frames, current and future, until reset by some other
method. But if not this, the docs should be changed.

Thank you.

Jesse Sheidlower
<address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]