unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jesse Sheidlower <jester@jessesword.com>
Subject: set-face-font and new frames
Date: Wed, 28 Apr 2004 19:03:54 -0400 (EDT)	[thread overview]
Message-ID: <20040428230354.9AC2F5419D9@vasty.jessesword.com> (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>

                 reply	other threads:[~2004-04-28 23:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040428230354.9AC2F5419D9@vasty.jessesword.com \
    --to=jester@jessesword.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).