From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesse Sheidlower Newsgroups: gmane.emacs.bugs Subject: set-face-font and new frames Date: Wed, 28 Apr 2004 19:03:54 -0400 (EDT) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040428230354.9AC2F5419D9@vasty.jessesword.com> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1083193738 16191 80.91.224.253 (28 Apr 2004 23:08:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Apr 2004 23:08:58 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 29 01:08:47 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIyAY-00032A-00 for ; Thu, 29 Apr 2004 01:08:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BIyAI-0005Fc-66 for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Apr 2004 19:08:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BIy7X-0002cG-Rs for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2004 19:05:39 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BIy61-0001sh-K3 for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2004 19:04:37 -0400 Original-Received: from [66.65.126.178] (helo=vasty.jessesword.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BIy5v-0001nr-Jv for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2004 19:03:59 -0400 Original-Received: by vasty.jessesword.com (Postfix, from userid 1001) id 9AC2F5419D9; Wed, 28 Apr 2004 19:03:54 -0400 (EDT) Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:7787 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:7787 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