From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#505: 23.0.60; Font for fixed-pitch not resolved Date: Wed, 15 Oct 2008 17:34:48 -0400 Message-ID: <871vyhy22v.fsf@cyd.mit.edu> References: <87myh5a902.fsf@cyd.mit.edu> <8763nt1ruz.fsf@maru.md5i.com> Reply-To: Chong Yidong , 505@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224107418 10523 80.91.229.12 (15 Oct 2008 21:50:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2008 21:50:18 +0000 (UTC) Cc: 505@emacsbugs.donarmstrong.com To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 15 23:51:18 2008 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 1KqEGv-0006k5-HF for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 23:51:13 +0200 Original-Received: from localhost ([127.0.0.1]:39095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqEFq-0002SU-Ne for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 17:50:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqEFn-0002S1-QF for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2008 17:50:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqEFm-0002RG-79 for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2008 17:50:02 -0400 Original-Received: from [199.232.76.173] (port=54135 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqEFl-0002RA-UP for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2008 17:50:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56914) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KqEFl-0005SI-NZ for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2008 17:50:01 -0400 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 m9FLnxiA032094; Wed, 15 Oct 2008 14:49:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9FLe3lt029778; Wed, 15 Oct 2008 14:40:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 15 Oct 2008 21:40:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 505 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 505-submit@emacsbugs.donarmstrong.com id=B505.122410648528538 (code B ref 505); Wed, 15 Oct 2008 21:40:03 +0000 Original-Received: (at 505) by emacsbugs.donarmstrong.com; 15 Oct 2008 21:34:45 +0000 Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9FLYgnU028532 for <505@emacsbugs.donarmstrong.com>; Wed, 15 Oct 2008 14:34:43 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id AD0D757E055; Wed, 15 Oct 2008 17:34:48 -0400 (EDT) In-Reply-To: <8763nt1ruz.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Wed, 15 Oct 2008 17:16:36 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 15 Oct 2008 17:50:02 -0400 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:21508 Archived-At: Michael Welsh Duggan writes: >> Actually, the last patch I sent you is bad. Could you try using this >> one instead, and see if the problem goes away? > > It does not go away. Before I added the patch I tried inserting a > breakpoint on the x_clear_errors line. Emacs never reached that line. > I then made the patch and ran again, in case you were testing something > different. In each case, the behavior is as I described in the bug > report. How about the call to x_had_errors_p earlier, on line xfont.c:536? Is there any effect if we ignore the error by calling x_clear_errors and not resetting xfont to NULL? xfont = XLoadQueryFont (display, name); if (x_had_errors_p (display)) { /* This error is perhaps due to insufficient memory on X server. Let's just ignore it. */ x_clear_errors (display); xfont = NULL; }