From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: antialiasing for emacs Date: Mon, 28 Jul 2003 16:04:09 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200307282004.h6SK49wP016439@rum.cs.yale.edu> References: <87u19bbr02.fsf@chicolini.ods.org> <871xwes9vq.fsf@chicolini.ods.org> <87ispnwqez.fsf@tc-1-100.kawasaki.gol.ne.jp> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1059423280 21836 80.91.224.249 (28 Jul 2003 20:14:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2003 20:14:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jul 28 22:14:38 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19hEJz-0005HE-00 for ; Mon, 28 Jul 2003 22:10:15 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19hEL7-0006a6-00 for ; Mon, 28 Jul 2003 22:11:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hEJZ-0004Ag-F7 for emacs-devel@quimby.gnus.org; Mon, 28 Jul 2003 16:09:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19hEIE-0003I3-Tc for emacs-devel@gnu.org; Mon, 28 Jul 2003 16:08:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19hEHx-00036k-Qe for emacs-devel@gnu.org; Mon, 28 Jul 2003 16:08:10 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hEE5-0001AY-ST; Mon, 28 Jul 2003 16:04:09 -0400 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h6SK494Z016441; Mon, 28 Jul 2003 16:04:09 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h6SK49wP016439; Mon, 28 Jul 2003 16:04:09 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Miles Bader X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15722 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15722 > Chris Gray writes: > > Yep. It happens when I start gnus too. I really don't know why, and > > these "async errors" seem very hard to debug. > > Hmmm, actually, come to think of it, there's a function to make emacs > use X `synchronously', which might make debugging easier... > > x-synchronize is a built-in function. > (x-synchronize ON &optional DISPLAY) > > If ON is non-nil, report errors as soon as the erring request is made. > If ON is nil, allow buffering of requests. > This is a noop on Mac OS systems. > The optional second argument DISPLAY specifies which display to act on. > DISPLAY should be either a frame or a display name (a string). > If DISPLAY is omitted or nil, that stands for the selected frame's display. > > -Miles I don't think it's going to help. The `async error' is generally due to missing BLOCK_INPUT statements that lead to Xlib functions being called from the signal handler while we're already inside an Xlib function. My patch that makes the signal handler trivial (and handles "async" signals from the QUIT macro instead) should solve this problem once and for all. Stefan