From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: po lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56372: 29.0.50; [PATCH] Avoid BadMatch X11 error Date: Mon, 04 Jul 2022 14:05:44 +0800 Message-ID: <87wnct9zuv.fsf@yahoo.com> References: <87czemtfv0.fsf@dick> <87y1x9u17n.fsf@yahoo.com> Reply-To: po lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35052"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 56372@debbugs.gnu.org To: dick.r.chiang@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 04 08:12:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8FJc-0008si-V8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Jul 2022 08:12:12 +0200 Original-Received: from localhost ([::1]:42080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8FJb-0000wM-Gs for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Jul 2022 02:12:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8FEd-00058t-Gl for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2022 02:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8FEd-0000O8-7x for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2022 02:07:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8FEc-0008So-Dq for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2022 02:07:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: po lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jul 2022 06:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56372 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56372-submit@debbugs.gnu.org id=B56372.165691476632471 (code B ref 56372); Mon, 04 Jul 2022 06:07:02 +0000 Original-Received: (at 56372) by debbugs.gnu.org; 4 Jul 2022 06:06:06 +0000 Original-Received: from localhost ([127.0.0.1]:45928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8FDh-0008Rf-VI for submit@debbugs.gnu.org; Mon, 04 Jul 2022 02:06:06 -0400 Original-Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:33505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8FDe-0008R8-7o for 56372@debbugs.gnu.org; Mon, 04 Jul 2022 02:06:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656914755; bh=m5zFuxONBD55orA1mNaErPK/tlNGiwiXQV/fTvAocrQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=pXT5xT1npZ1zpaxLuflpgbx7mmHZt0WxhpRcZ3RzdZ4NIqUTjVWwQElE/uo2bI023oEYAK2s8xi+UxTKBN2sTUjdEbHXqyhuPwJ3dC966sjvPIVQ9itIWcBdsJjKN2NQxdO2jWcm9zdrStetLAnIbDJKMEJKGa1IYj3C2CnanacrVbAdHwBBq/ngDXXDPHsWxeJvWGyrI83roztJDRO3ViUMvBZiGse2h3XgKpmW4o/XeWcYo5p1SNgzven642/njld/q/42J0+GRwBKzFCv94AUzmzXczdkEN6xYKn5bQoCMbgL6moZquYoscrAXPUlG6yZqeN1Jux4UyZFq+zQKA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656914755; bh=2ARkv99CHxeinsIsUnsqbUAcBHIM4xh0PYKFO9AOQm3=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=n3B5jQ2lyellzsQCB9di+n4jqa3vmmghgrhaiFcuHwkLnYRrNQBvisylzikaksI2iiGpaxrnDvr0d/pV6krcoYwPLZu1nK53lDeGDd7X6vMV1sPaFJaC990BjP/V+c+SMYa/tJO8I4Al8l+8nH9Y/IJM3stWR1CmpUbpmO9tqyYaNIys5Man29cAiXjCzViVJw46bxbwNeOa3tR0+6CyHNOPaRcl9RYwKmKYks0U1dC6fwS2UfI4FohP8hSRsfVCTj7yaiMZI2HNiOf8tW0QT4hyKVs0wqod6Iw/3idjH+gbEG+knTJbiFJScOBh/WdJ3d+f0+n0SHZBKdiiZqEjmA== X-YMail-OSG: tv9OVj8VM1m8Lm6XAnJfpXCR261NmJGZ8qxbYp.u7jhtk_zjjrud6SPRy.iDAzL uL35ZPd6hupFPAp6gcyTmnQ3WSwViRUw3hPxYwBzJPq9GmcQwqrl3efMtde1r1yeuS2B2bK4VDDf rR5Y7CXC_hu33wqr7QRqfd6WTM2xsEqcwLGqo7GIdnePAzY1LVTthPUAuna4A2wfFCkOScU5MTda 6sSzhLDGpSmSIAJL63zWYXjHOtjDzRKgtQjGXnwkOK5W7B9H_jfSRBa9r2RvZxvskhJxST2ogb3D sth_wX9C7GST5wRBFUO_Dja9ZVeDxZ0D4MCUxsvXlFGXrsYMFz4eIpoEjdMJWDo7TnBrCyHwyKaR azG2qlBu7pcrNIUcn7NgRQ41OvBz5nV0nM6mBbxrTLtNYdMAx7qQOWMBvSgT8FN1b6htlOfx6UVo wkYf1zDxPe4HLP_ZHBch3JXTXHarCGZjWHZ.uthAPHnWkNmuxIA_iVh0BO9zUDu5mMI4.wQDgcAO _SntRCf0MgLh.ENSHKv00ArwPENoOyu3WuNdYITBWD1eLKhtY7mPMIU1Duid5sgzY59.aTizdfga QqbMXSAtuiXH46vMR1l94.G1kErzm.JgGf_HdZE9D3H6oACII4hqOPTEgVgFj2jEOp7jc999b9ff 3mAjTGcyneKfLoTX1d2oaKzMXujkYqN3aULTum0Nm0Ebj1BNo28KBYFTB30CIueGhU5ZXM9.dM0q KOdFw7szeGDzjvy3zH2feGrcIzXaqRjT87fFjyifIyIif4pdIqxH8OYIElfpa2WZXtBiiyNIPOZm TxISMQ0lj56oAXv9q_TB1sq0ZZR46LIRQu.MOiPZam X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Mon, 4 Jul 2022 06:05:55 +0000 Original-Received: by hermes--canary-production-sg3-67975bbd4b-bp49d (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0b383d6d904d2ab3d445aad4c0b3b2b3; Mon, 04 Jul 2022 06:05:49 +0000 (UTC) In-Reply-To: <87y1x9u17n.fsf@yahoo.com> (Po Lu's message of "Mon, 04 Jul 2022 09:16:12 +0800") X-Mailer: WebService/1.1.20381 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:236032 Archived-At: Po Lu writes: > x_ignore_errors_for_next_request and x_stop_ignoring_errors don't call > XSync (unlike the usual error handling and checking functions) -- they > only make a note of the range of requests made inside them, so the > x_error_handler knows that it should ignore the error. This is done for > speed, since syncing is slow, especially over connections with high > latency. I reproduced the bug with a GTK build. It should be fixed now, please test.