From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Failed assertion on make-frame-on-display Date: Tue, 21 Nov 2006 02:48:00 -0500 Message-ID: References: <87vel9ub4k.fsf@cyd.mit.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1164095355 11517 80.91.229.2 (21 Nov 2006 07:49:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Nov 2006 07:49:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 21 08:49:13 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GmQNU-000231-EU for ged-emacs-devel@m.gmane.org; Tue, 21 Nov 2006 08:49:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmQNT-0004W9-CQ for ged-emacs-devel@m.gmane.org; Tue, 21 Nov 2006 02:49:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmQMX-0003n5-8i for emacs-devel@gnu.org; Tue, 21 Nov 2006 02:48:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmQMW-0003m2-Ds for emacs-devel@gnu.org; Tue, 21 Nov 2006 02:48:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmQMV-0003lH-KT for emacs-devel@gnu.org; Tue, 21 Nov 2006 02:48:11 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GmQMV-00078M-Lm for emacs-devel@gnu.org; Tue, 21 Nov 2006 02:48:11 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GmQMK-0005va-7r; Tue, 21 Nov 2006 02:48:02 -0500 Original-To: Chong Yidong In-reply-to: <87vel9ub4k.fsf@cyd.mit.edu> (message from Chong Yidong on Mon, 20 Nov 2006 15:16:43 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62589 Archived-At: I can't test this, but probably the way to fix this is to make it an error to try to make a frame on a display that doesn't support the default font; i.e., x-create-frame should try to load the default font on the new display if it is not already loaded, and do an Ferror if the load fails. WDYT? I can't think of anything better, and it is certainly better than crashing. So please do it.