From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17532: 24.4.50; Options > `set-frame-font' does not work as documented Date: Tue, 20 May 2014 19:44:00 +0300 Message-ID: <838upwbdtb.fsf@gnu.org> References: <718d27e5-9390-4581-9c8e-e11b86ba4e45@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1400604330 391 80.91.229.3 (20 May 2014 16:45:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 May 2014 16:45:30 +0000 (UTC) Cc: 17532@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 20 18:45:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WmnAC-0002zY-Cz for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 May 2014 18:45:16 +0200 Original-Received: from localhost ([::1]:54560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmnAC-00027D-0m for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 May 2014 12:45:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmnA4-00026l-Rc for bug-gnu-emacs@gnu.org; Tue, 20 May 2014 12:45:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wmn9z-0007tB-8C for bug-gnu-emacs@gnu.org; Tue, 20 May 2014 12:45:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wmn9z-0007rE-4t for bug-gnu-emacs@gnu.org; Tue, 20 May 2014 12:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wmn9y-0005OX-IA for bug-gnu-emacs@gnu.org; Tue, 20 May 2014 12:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 May 2014 16:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17532 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17532-submit@debbugs.gnu.org id=B17532.140060427920695 (code B ref 17532); Tue, 20 May 2014 16:45:02 +0000 Original-Received: (at 17532) by debbugs.gnu.org; 20 May 2014 16:44:39 +0000 Original-Received: from localhost ([127.0.0.1]:54485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wmn9a-0005Nj-Ef for submit@debbugs.gnu.org; Tue, 20 May 2014 12:44:38 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:55594) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wmn9X-0005NV-67 for 17532@debbugs.gnu.org; Tue, 20 May 2014 12:44:36 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N5V00M00T40P400@a-mtaout22.012.net.il> for 17532@debbugs.gnu.org; Tue, 20 May 2014 19:43:52 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5V00MKWT544H90@a-mtaout22.012.net.il>; Tue, 20 May 2014 19:43:52 +0300 (IDT) In-reply-to: <718d27e5-9390-4581-9c8e-e11b86ba4e45@default> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89289 Archived-At: > Date: Mon, 19 May 2014 13:34:52 -0700 (PDT) > From: Drew Adams > > emacs -Q > > M-: (setq default-frame-alist ' > ((font . "-outline-Lucida > Console-normal-normal-normal-mono-3-*-*-*-c-*-iso8859-1"))) > > or some other font that is different from the default emacs -Q font. > > Choose menu item Options > Set Default Font..., and choose yet another > font. > > C-x 4 d RET ; or another command to display another buffer > > The newly displayed buffer's font is not the font you chose using Set > Default Font. I cannot reproduce this with today's trunk: I get the same font as the one I've chosen from the menu using Set Default Font. > In any case, the doc for `set-frame-font' and the description of `Set > Default Font' tell users that the font specified will be used not only > for all current frames but also for future frames, and that it will act > as the default font from now on. I don't see this in the doc string, please show the relevant text. My interpretation of the doc string is that when that function is called interactively, it always sets font only of the currently selected frame. To do that for other frames, you need to call the function non-interactively to be able to pass it a non-nil last arg. > Note that the doc here includes (emacs) `Fonts'. That doesn't seem to imply the font is changed on all frames, either.