From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2504: 23.0.90; new-frame => "no font backend available." Date: Sat, 28 Feb 2009 19:45:07 -0500 Message-ID: <2DC11AB3-5E6B-4554-A372-32ADCF900D64@boostpro.com> References: <49A94BEB.80304@gnu.org> Reply-To: David Abrahams , 2504@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.4) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235869489 25176 80.91.229.12 (1 Mar 2009 01:04:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Mar 2009 01:04:49 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 2504@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 01 02:06:04 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lda7F-0005RW-WC for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Mar 2009 02:05:30 +0100 Original-Received: from localhost ([127.0.0.1]:34639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lda5u-0001aD-Op for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2009 20:03:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lda5o-0001Zy-OO for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 20:03:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lda5m-0001ZY-Lu for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 20:03:43 -0500 Original-Received: from [199.232.76.173] (port=55817 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lda5m-0001ZV-2T for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 20:03:42 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43595) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lda5l-0006RH-78 for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2009 20:03:41 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2113caB023916; Sat, 28 Feb 2009 17:03:38 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n210o52U020336; Sat, 28 Feb 2009 16:50:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: David Abrahams Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Sun, 01 Mar 2009 00:50:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2504 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Original-Received: via spool by 2504-submit@emacsbugs.donarmstrong.com id=B2504.123586833419993 (code B ref 2504); Sun, 01 Mar 2009 00:50:05 +0000 Original-Received: (at 2504) by emacsbugs.donarmstrong.com; 1 Mar 2009 00:45:34 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from boost-consulting.com (boost-consulting.com [206.71.190.141]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n210jVmh019987 for <2504@emacsbugs.donarmstrong.com>; Sat, 28 Feb 2009 16:45:32 -0800 Original-Received: from [192.168.188.145] (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com [207.172.223.249]) (Authenticated sender: dave) by boost-consulting.com (Postfix) with ESMTPSA id 55C0F1CC1F; Sat, 28 Feb 2009 16:33:41 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.930.4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 28 Feb 2009 20:03:43 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25871 gmane.emacs.pretest.bugs:24022 Archived-At: On Feb 28, 2009, at 5:12 PM, Stefan Monnier wrote: >>> I think MacOS Emacs isn't very resilient to customizations for other >>> platforms that should be ignored. For example, my >>> >>> default-frame-alist >>> >>> is >>> >>> ((menu-bar-lines . 1) (font-backend . "xft") (font . "Bitstream >>> Vera Sans Mono-10.5") (tool-bar-lines . 0)) >>> >>> But `M-x new-frame' causes emacs to report "no font backend >>> available" >>> without opening a new window. >>> > >> This is no different than setting (font-backend . "garbage") on any >> platform. If you have platform specific settings in your .emacs >> which you >> want to share between platforms, then you need to make them >> conditional. > > We could make it easier for the users by ignoring invalid font- > backends, > so a single setting can work on all platforms. Yes, that would be a start, and it's what I had in mind. Conditional things don't mesh too well with using the customization interface. If you are going to let people set up platform-specific things in customize, the first step would be to ignore them if they don't apply, and the next step would be to support platform-specific customizations directly, so I could use one font-backend on Linux and another on, say, MacOS. Regards, -- David Abrahams BoostPro Computing http://boostpro.com