unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* set-face-font and new frames
@ 2004-04-28 23:03 Jesse Sheidlower
  0 siblings, 0 replies; only message in thread
From: Jesse Sheidlower @ 2004-04-28 23:03 UTC (permalink / raw)


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 bug-gnu-emacs@gnu.org 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
<jester@panix.com>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-28 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28 23:03 set-face-font and new frames Jesse Sheidlower

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).