From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: New feature-x-check-server Resent-From: "otadmor ." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jun 2019 17:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 36362@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156139607113854 (code B ref -1); Mon, 24 Jun 2019 17:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2019 17:07:51 +0000 Received: from localhost ([127.0.0.1]:57855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfSRa-0003bO-RW for submit@debbugs.gnu.org; Mon, 24 Jun 2019 13:07:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:38453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfSPw-0003Ya-12 for submit@debbugs.gnu.org; Mon, 24 Jun 2019 13:06:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41116) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfSPs-0004By-CN for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 13:06:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfSPo-0002eS-H9 for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 13:06:01 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:44787) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfSPj-0002Iw-EG for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 13:05:57 -0400 Received: by mail-lj1-x22d.google.com with SMTP id k18so13321418ljc.11 for ; Mon, 24 Jun 2019 10:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=j3oleVLWeDfgG39YIhte4E58Jm8VdTTBV6pF+QxiQtU=; b=dB65rIiupUDKH9JTv6hNLj2iEWT5hpu4BOtB5HEHCa8WljBK0FN6a2qaFJwhAUgj/S UFXNNVxU382gK6Jg2gddZvR8OOzKaaxUOcd5UlZUoXP8Sbtwlj3KS5Ah7XKv32rmB/Jg JemLlYlTt/0TfAIhSvky3lTI4eqH1jBCAFjVoTYeHlw9/vSbkk3TyeGzFL91mil7AHWJ 9EXCQzltt4ymXg/bk/CF4ywKlrQbm4UQQU22eNdlR9sftqwXToqth4ilD3wFu4wkZvW5 V88IOmDA4q+wKweIP9tJ1PVReg2BdQsHj6kL7r1UtQjUwBggaB9uo2znwFi6fLgWqd/9 j5jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=j3oleVLWeDfgG39YIhte4E58Jm8VdTTBV6pF+QxiQtU=; b=fznTUdvrTwhbZuBlU5T1D2FxW/aeDlP4KqFsdSOCqu8IEpIA5jEBjHnipV57mZN4LZ u2vzDe1jBR5TPJPYngQQuDV64L50kJ1F2EWIP22EgZuJn5XA49KHP8DYxNj0NHQvNFN4 Q7qzzbWHTfYwdVUtgpY2aoEU6415JlZdyfxtelQEcZnMwnvshGJlD1asQW5vvslYcf6q iuzjTjUhweCPb/FQK+WMGuvPcTnLv1P+F42EOivj6exT8U9mhknj/hHCjJesLoweTX+l duj+LPK1CxWKQzkCSyVqHt1GLvRgVgoyhzYqNlomkBsYfO0BZdf7w+kip1/iBbMRWlad DP6Q== X-Gm-Message-State: APjAAAWl+Cv6LWxlN5ljDkKNlmAUSNnpUWdi7+Id63CEj4Y8ixB/cimI reFREgpG9o+A8iJItE9ltyaYI6XFfSdWtXDiM7s9dUIK X-Google-Smtp-Source: APXvYqxSlnK3K7kia4+ibTe3cC0rF/GOScNQMGQ0Pg5rWbdGZm50Od5AIMqLkPozMj6halXfsX+2xxyP1Qfxy1KBCdU= X-Received: by 2002:a2e:12c8:: with SMTP id 69mr70497477ljs.189.1561395952029; Mon, 24 Jun 2019 10:05:52 -0700 (PDT) MIME-Version: 1.0 From: "otadmor ." Date: Mon, 24 Jun 2019 20:05:39 +0300 Message-ID: Content-Type: multipart/mixed; boundary="0000000000001339a5058c14d33a" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22d X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Mon, 24 Jun 2019 13:07:49 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000001339a5058c14d33a Content-Type: multipart/alternative; boundary="0000000000001339a2058c14d338" --0000000000001339a2058c14d338 Content-Type: text/plain; charset="UTF-8" A new native method to check connectivity of xserver. -- Gretz, Ofir Tadmor ICQ: 77685691 Mail: otadmor@gmail.com --0000000000001339a2058c14d338 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
A new native method to check connectivity of xserver.

--
Gretz,
Ofir Tadmor

ICQ: 776= 85691
Mail: otadm= or@gmail.com
--0000000000001339a2058c14d338-- --0000000000001339a5058c14d33a Content-Type: application/octet-stream; name="0001-Add-x-check-frame-lisp-method-to-check-frame-x-serve.patch" Content-Disposition: attachment; filename="0001-Add-x-check-frame-lisp-method-to-check-frame-x-serve.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jxamtovm0 RnJvbSA0NDQ5MjgxODczZjEzOTA1NWZkZTgyYThhNTUzMTBhMjc0YzdlNWE3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBvdGFkbW9yIDxvdGFkbW9yQGdtYWlsLmNvbT4KRGF0ZTogTW9u LCAyNCBKdW4gMjAxOSAxOTo0Mzo1MCArMDMwMApTdWJqZWN0OiBbUEFUQ0hdIEFkZCB4LWNoZWNr LWZyYW1lIGxpc3AgbWV0aG9kIHRvIGNoZWNrIGZyYW1lIHgtc2VydmVyJ3MKIGNvbm5lY3Rpb24u CgotLS0KIHNyYy94dGVybS5jIHwgMTE4ICsrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCAxMTggaW5zZXJ0aW9ucygrKQoK ZGlmZiAtLWdpdCBhL3NyYy94dGVybS5jIGIvc3JjL3h0ZXJtLmMKaW5kZXggMWFjZmYyYWYwZC4u MDFmZjc5MDgzMSAxMDA2NDQKLS0tIGEvc3JjL3h0ZXJtLmMKKysrIGIvc3JjL3h0ZXJtLmMKQEAg LTIzNSw2ICsyMzUsMTE3IEBAICNkZWZpbmUgWHROaW5pdGlhbFN0YXRlICJpbml0aWFsU3RhdGUi CiAKIHN0YXRpYyBib29sIHhfZ2V0X2N1cnJlbnRfd21fc3RhdGUgKHN0cnVjdCBmcmFtZSAqLCBX aW5kb3csIGludCAqLCBib29sICopOwogCisKKyNkZWZpbmUgQ0xPQ0tJRCBDTE9DS19SRUFMVElN RQorI2RlZmluZSBDT05OX1NJRyAoU0lHUlRNQVgtMSkKKyNpbmNsdWRlIDxzaWduYWwuaD4KKyNp bmNsdWRlICJYMTEvWGxpYmludC5oIgorCitzdGF0aWMgaW50IGNvbm5lY3Rpb25fZmQgPSAtMTsK K3ZvaWQKK2Nvbm5lY3Rpb25fdGltZW91dF9oYW5kbGVyIChpbnQgc2lnbnVtKQoreworICAgIGlm IChjb25uZWN0aW9uX2ZkICE9IC0xKSB7CisgICAgICAgIGNsb3NlKGNvbm5lY3Rpb25fZmQpOwor ICAgICAgICBjb25uZWN0aW9uX2ZkID0gLTE7CisgICAgfQorfQorU3RhdHVzCitYQ2hlY2tDb25u ZWN0aW9uICgKKyAgICByZWdpc3RlciBEaXNwbGF5ICpkcHksCisgICAgRHJhd2FibGUgZCwgaW50 IGZkLCBkb3VibGUgdGltZW91dCkKK3sKKworICAgIHhHZXRHZW9tZXRyeVJlcGx5IHJlcDsKKyAg ICByZWdpc3RlciB4UmVzb3VyY2VSZXEgKnJlcTsKKyAgICBMb2NrRGlzcGxheShkcHkpOworICAg IEdldFJlc1JlcShHZXRHZW9tZXRyeSwgZCwgcmVxKTsKKyAgICBTdGF0dXMgcmVzID0gMDsKKwor ICAgIHNpZ3NldF90IG9yaWdtYXNrOworICAgIHNpZ3NldF90IHNpZ21hc2s7CisgICAgc2lnZW1w dHlzZXQoJnNpZ21hc2spOworICAgIHB0aHJlYWRfc2lnbWFzayhTSUdfU0VUTUFTSywgJnNpZ21h c2ssICZvcmlnbWFzayk7CisKKyAgICAvLyBDcmVhdGUgdGhlIHRpbWVyCisgICAgdGltZXJfdCB0 aW1lcmlkOworICAgIHN0cnVjdCBzaWdldmVudCBzZXY7CisgICAgc3RydWN0IGl0aW1lcnNwZWMg aXRzOworICAgIGxvbmcgbG9uZyBmcmVxX25hbm9zZWNzOworCisgICAgc3RydWN0IHNpZ2FjdGlv biBuZXdfYWN0aW9uLCBvbGRfYWN0aW9uOworCisgICAgbmV3X2FjdGlvbi5zYV9oYW5kbGVyID0g Y29ubmVjdGlvbl90aW1lb3V0X2hhbmRsZXI7CisgICAgc2lnZW1wdHlzZXQgKCZuZXdfYWN0aW9u LnNhX21hc2spOworICAgIG5ld19hY3Rpb24uc2FfZmxhZ3MgPSAwOworCisgICAgc2lnYWN0aW9u IChDT05OX1NJRywgJm5ld19hY3Rpb24sICZvbGRfYWN0aW9uKTsKKworICAgIHNldi5zaWdldl9u b3RpZnkgPSBTSUdFVl9TSUdOQUw7CisgICAgc2V2LnNpZ2V2X3NpZ25vID0gQ09OTl9TSUc7Cisg ICAgc2V2LnNpZ2V2X3ZhbHVlLnNpdmFsX3B0ciA9ICZ0aW1lcmlkOworICAgICh2b2lkKSB0aW1l cl9jcmVhdGUoQ0xPQ0tJRCwgJnNldiwgJnRpbWVyaWQpOworCisgICAgZnJlcV9uYW5vc2VjcyAg PSAobG9uZyBsb25nKSh0aW1lb3V0ICogMTAwMDAwMDAwMCk7CisgICAgaXRzLml0X3ZhbHVlLnR2 X3NlYyAgPSBmcmVxX25hbm9zZWNzIC8gMTAwMDAwMDAwMDsKKyAgICBpdHMuaXRfdmFsdWUudHZf bnNlYyA9IGZyZXFfbmFub3NlY3MgJSAxMDAwMDAwMDAwOworICAgIGl0cy5pdF9pbnRlcnZhbC50 dl9zZWMgPSAwOworICAgIGl0cy5pdF9pbnRlcnZhbC50dl9uc2VjID0gMDsKKworICAgICh2b2lk KSB0aW1lcl9zZXR0aW1lKHRpbWVyaWQsIDAsICZpdHMsIE5VTEwpOworICAgIGNvbm5lY3Rpb25f ZmQgPSBmZDsKKworICAgIHJlcyA9IF9YUmVwbHkgKGRweSwgKHhSZXBseSAqKSZyZXAsIDAsIHhU cnVlKTsKKworICAgIGNvbm5lY3Rpb25fZmQgPSAtMTsKKyAgICAodm9pZCkgdGltZXJfZGVsZXRl KHRpbWVyaWQpOworICAgIHB0aHJlYWRfc2lnbWFzayhTSUdfU0VUTUFTSywgJm9yaWdtYXNrLCBO VUxMKTsKKyAgICBzaWdhY3Rpb24gKENPTk5fU0lHLCAmb2xkX2FjdGlvbiwgTlVMTCk7CisKKyAg ICBVbmxvY2tEaXNwbGF5KGRweSk7CisgICAgU3luY0hhbmRsZSgpOworICAgIHJldHVybiAoaW50 KXJlczsKK30KKworaW50IGNoZWNrX2ZyYW1lX2Nvbm5lY3Rpb24oc3RydWN0IGZyYW1lICogZnJh bWUsIGRvdWJsZSB0aW1lb3V0KQoreworICAgIGJsb2NrX2lucHV0ICgpOworICAgIGludCBmZCA9 IENvbm5lY3Rpb25OdW1iZXIgKEZSQU1FX1hfRElTUExBWSAoZnJhbWUpKTsKKyAgICBpbnQgcmVz ID0gWENoZWNrQ29ubmVjdGlvbiAoCisgICAgICAgIEZSQU1FX1hfRElTUExBWSAoZnJhbWUpLCBG UkFNRV9PVVRFUl9XSU5ET1cgKGZyYW1lKSwgZmQsIHRpbWVvdXQpOworICAgIHVuYmxvY2tfaW5w dXQgKCk7CisgICAgcmV0dXJuIHJlczsKK30KKworREVGVU4gKCJ4LWNoZWNrLWZyYW1lIiwgRnhf Y2hlY2tfZnJhbWUsCisgICAgICAgU3hfY2hlY2tfZnJhbWUsIDEsIDEsIDAsCisgICAgICAgZG9j OiAvKiBjaGVjayB0aGUgY29ubmVjdGlvbiB3aXRoIHRoZSBkaXNwbGF5IG9mIHRoZSBnaXZlbiBm cmFtZS4gICovKQorICAoTGlzcF9PYmplY3QgZikKK3sKKyAgICBpZiAoIWYpCisgICAgICAgIHJl dHVybiBRbmlsOworCisgICAgaWYgKE5JTFAgKGYpKQorICAgICAgICByZXR1cm4gUW5pbDsKKwor ICAgIGlmIChGZnJhbWVwKGYpICE9IFF4KQorICAgICAgICByZXR1cm4gUW5pbDsKKworICAgIGlm ICghRkxPQVRQIChWeF9jaGVja19mcmFtZV90aW1lb3V0KSkKKyAgICAgICAgcmV0dXJuIFFuaWw7 CisKKyAgICAvKiBEZWZhdWx0IHRpbWVvdXQgaXMgMC41IHNlY29uZC4gVGhpcyB0aW1lb3V0IHdp bGwgb2NjdXIKKyAgICAgICBvbmx5IHdoZW4gdGhlIGxpYngxMSBkaWQgbm90IG5vdGljZWQgdGhl IGZyYW1lIHdhcworICAgICAgIGRpc2Nvbm5lY3RlZC4gKi8KKyAgICBkb3VibGUgdGltZW91dCA9 IFhGTE9BVF9EQVRBIChWeF9jaGVja19mcmFtZV90aW1lb3V0KTsKKworICAgIHN0cnVjdCBmcmFt ZSAqZnJhbWUgPSBYRlJBTUUgKGYpOworICAgIGludCByZXQgPSBjaGVja19mcmFtZV9jb25uZWN0 aW9uIChmcmFtZSwgdGltZW91dCk7CisgICAgcmV0dXJuIHJldCA/IFF0IDogUW5pbDsKK30KKwor CisKIC8qIEZsdXNoIGRpc3BsYXkgb2YgZnJhbWUgRi4gICovCiAKIHN0YXRpYyB2b2lkCkBAIC0x MzY0MSw0ICsxMzc1MiwxMSBAQCBzeW1zX29mX3h0ZXJtICh2b2lkKQogY29uc3VtaW5nIGZyYW1l IHBvc2l0aW9uIGFkanVzdG1lbnRzLiAgSW4gbmV3ZXIgdmVyc2lvbnMgb2YgR1RLLCBFbWFjcwog YWx3YXlzIHVzZXMgZ3RrX3dpbmRvd19tb3ZlIGFuZCBpZ25vcmVzIHRoZSB2YWx1ZSBvZiB0aGlz IHZhcmlhYmxlLiAgKi8pOwogICB4X2d0a191c2Vfd2luZG93X21vdmUgPSB0cnVlOworCisgIGRl ZnN1YnIgKCZTeF9jaGVja19mcmFtZSk7CisKKyAgREVGVkFSX0xJU1AgKCJ4LWNoZWNrLWZyYW1l LXRpbWVvdXQiLCBWeF9jaGVja19mcmFtZV90aW1lb3V0LAorICAgIGRvYzogLyogSG93IGxvbmcg dG8gd2FpdCBhIGRpc3BsYXkgdG8gcmVzcG9uc2UuICovKTsKKyAgVnhfY2hlY2tfZnJhbWVfdGlt ZW91dCA9IG1ha2VfZmxvYXQgKDAuNSk7CisKIH0KLS0gCjIuMTcuMQoK --0000000000001339a5058c14d33a-- From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: Patch for the current 26.2 version References: In-Reply-To: Resent-From: "otadmor ." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 36362@debbugs.gnu.org Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.156164607010372 (code B ref 36362); Thu, 27 Jun 2019 14:35:02 +0000 Received: (at 36362) by debbugs.gnu.org; 27 Jun 2019 14:34:30 +0000 Received: from localhost ([127.0.0.1]:39188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgVTp-0002h9-5U for submit@debbugs.gnu.org; Thu, 27 Jun 2019 10:34:29 -0400 Received: from mail-lf1-f46.google.com ([209.85.167.46]:39507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgRA0-0005Wk-GB for 36362@debbugs.gnu.org; Thu, 27 Jun 2019 05:57:45 -0400 Received: by mail-lf1-f46.google.com with SMTP id p24so1145995lfo.6 for <36362@debbugs.gnu.org>; Thu, 27 Jun 2019 02:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4MEjNl3584qa7vwyYQod6+qCLFRPN5oHEMTXqS9mTdA=; b=X75NppCnUZ8Vyy7I0+phftIxe/RDGjwFD3O8m/Gl8bDDa+aFFJThpuiBJDkNdEEx3I JfUFDEdUoRuYfpHMRjXmaJkwcmGlo5n3oaXd4ArlnkSq2+fwnL7dquoX8vbCw3CsxFVo huDuQislyq9nMclK8tQIS1dMPv9P37TmEGLmrGjng8lRF33Lkrme5GpkBvn6AXv6POVl OkeSt8/WsWwcRDDTtoBHG+VuGKcMcnOi27ac12PjB76bVGf60zt070E5Pr+cfXI/zumt foCNX8izUuKOe30gUGL67vsnYb3zU+wDouAL4kpVg6MHOFJuyJ7Wg/0PitK8QAaPYif4 ie3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4MEjNl3584qa7vwyYQod6+qCLFRPN5oHEMTXqS9mTdA=; b=CqElQ3QKHlYsCC2BNFlX9R+JZZvP4bqnuA8rknMcFLvderXMVrHK+WHr9I4AQVI78p MKGdlKDqyiA3KA1/tJaTZ7LQG1JLJgbThNztcC11DuThEu8cziyz5QRznj8swl7BSu5z QXmNtr4kPchPvkEJ3T78853z/y30ikABwuSjAF61zeQUrKGWeVA9Twaf6Q+xzRBzHEIE 7JJF/jc3C77seJPllYmSCfWWSS4SyMRMIlBpFzja1zzczzlIMU8G4Om5k2myjR+ckrik 5n6gfpqTE5wHEQoTabUsVAgd7XBQaLf4+i6NtEOy+YhH7ORKIeoBIrcaOK4141bT8/gq mUng== X-Gm-Message-State: APjAAAW94ouSWMcZiw96PPcPxYLEH/j04SqGrg83n5gq6LXqJXDzNdd6 o1cISxSc90rJ3k3+d2La52Ciy3fNjaBxXbYT33NDaA== X-Google-Smtp-Source: APXvYqzsCyOJWSNjhgQjyBb6hgQzq1++2NUpIKUivR91hrM2tFhx8+wvCMucX/NBQTGWiBmJDsMIJ2I9z5eEKlFzMww= X-Received: by 2002:a19:5515:: with SMTP id n21mr1577111lfe.26.1561629457743; Thu, 27 Jun 2019 02:57:37 -0700 (PDT) MIME-Version: 1.0 From: "otadmor ." Date: Thu, 27 Jun 2019 12:57:25 +0300 Message-ID: Content-Type: multipart/alternative; boundary="0000000000001985ce058c4b3102" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Thu, 27 Jun 2019 10:34:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000001985ce058c4b3102 Content-Type: text/plain; charset="UTF-8" Patch for version 26.2 can be found here: https://raw.githubusercontent.com/otadmor/emacs-conf/master/xterm.c.patch Patch for the current master branch in git on the original message. --0000000000001985ce058c4b3102 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Patch for version 26.2 can be found here:
Patch for the current master bra= nch in git on the original message.
--0000000000001985ce058c4b3102-- From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: New feature-x-check-server Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 15:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "otadmor ." Cc: 36362@debbugs.gnu.org Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.156164823530989 (code B ref 36362); Thu, 27 Jun 2019 15:11:03 +0000 Received: (at 36362) by debbugs.gnu.org; 27 Jun 2019 15:10:35 +0000 Received: from localhost ([127.0.0.1]:39236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgW2k-00083k-UY for submit@debbugs.gnu.org; Thu, 27 Jun 2019 11:10:35 -0400 Received: from mail-io1-f44.google.com ([209.85.166.44]:37236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgW2j-00083X-AS for 36362@debbugs.gnu.org; Thu, 27 Jun 2019 11:10:33 -0400 Received: by mail-io1-f44.google.com with SMTP id e5so5511519iok.4 for <36362@debbugs.gnu.org>; Thu, 27 Jun 2019 08:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=jtL1rw975eWirjBr1U53+prOUiSo92QZhfV0rLop3YI=; b=erRN8Ub7bGNmH/IiPX6SdVJnXouUoJmvH8jXvwKn0CxJkXSXO/nKXo4roDsc9v/nP4 IFH+ez30e3OUwfCk9ZDjPoQ9Qdw31T/hmjvDokfX4+ua22nXuccA4IDEUdqAw+4dclg1 Qfiw9TYwyas0lq3eLLzLsbEg+C1UrEqiOVNRNepcbEzm+QUS5FDBhIosFuOXopHXhK0G 8Bkb2Wg2LsLi8C7f+HQ4hjGKVfwOScsZE6fQydQM4T0eySO1pnh63JjH0PZSBHAV2kI7 5SQLxmbWap7qB8SagH4nxT+W4akHWYA5mp7t06EBNq92IM69Km8YkolH3HrK0WcvnYki V77w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=jtL1rw975eWirjBr1U53+prOUiSo92QZhfV0rLop3YI=; b=X5Jwi1o3FOHZuoLDkmfqmVNskGu0d3Y35X0apnVh9nJC5yGrjD5G8Zvlkk+Jjfbwuz Fg9rWS+j9c5F4YQ5IqwG5vPz2nXsR/1roUkY2iPrBKyuA9cqjxgyvqIFSV4QcFUIjeI9 jpJ4ufd366ZdZpa+EBVL9QiQWKPwzzB6oTYZMFzFpmOqemt6Y7gCmL4LulN6vsGOeEHj Qxnndw74pcPFTOHdp8QyYv/N1zhT+rHSFN0lRHXeXComvBG7u3XXb4b4vv/fJkvwhaTI DP2Z18AAo/VkoLrQ+hPshTffT2OeX3Lc5l9G0OCVedlIvHp8n4ycqeoA8b91h9Wfz14X DWbg== X-Gm-Message-State: APjAAAXB1CczgekHES61BQVPoWXnQedjU4AdJ6hCoWXqNWStlGGv7IQy YQTG/HAlpM6o59W+gYvyzMoVZKGk X-Google-Smtp-Source: APXvYqypPUZP7vnFh5e3NpXzT4ZLXPN6MSjlRfyb5rAAxdyc8ornvbdT677T4uqm9OO8MZdUJgjBhA== X-Received: by 2002:a02:3c07:: with SMTP id m7mr5607262jaa.64.1561648223260; Thu, 27 Jun 2019 08:10:23 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id v26sm1820076iom.88.2019.06.27.08.10.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Jun 2019 08:10:22 -0700 (PDT) From: Noam Postavsky References: Date: Thu, 27 Jun 2019 11:10:22 -0400 In-Reply-To: (otadmor .'s message of "Mon, 24 Jun 2019 20:05:39 +0300") Message-ID: <85v9wr5ajl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "otadmor ." writes: > A new native method to check connectivity of xserver. Can you explain a bit when/why this is useful? As it stands this patch is rather "apropos of nothing"... From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: New feature-x-check-server References: In-Reply-To: Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Jun 2019 00:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 36362@debbugs.gnu.org Cc: "otadmor ." Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.1561682094947 (code B ref 36362); Fri, 28 Jun 2019 00:35:02 +0000 Received: (at 36362) by debbugs.gnu.org; 28 Jun 2019 00:34:54 +0000 Received: from localhost ([127.0.0.1]:40086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgeqs-0000FD-2S for submit@debbugs.gnu.org; Thu, 27 Jun 2019 20:34:54 -0400 Received: from mail-io1-f45.google.com ([209.85.166.45]:37881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgeqq-0000Ez-8y for 36362@debbugs.gnu.org; Thu, 27 Jun 2019 20:34:52 -0400 Received: by mail-io1-f45.google.com with SMTP id e5so8837881iok.4 for <36362@debbugs.gnu.org>; Thu, 27 Jun 2019 17:34:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version; bh=2Rg2VJ51yNAByk/vc0x7DuX8s4EjNbZGwIhenxRG0d4=; b=tPEXIxoMiVb7WP7qUNC0ZipOyV+84OopEAwMkOC8Nz3tweWl6JOCLh8u70l62nyD62 +uTKQdmFqDJCz3bvskVEiK+LYAS+exlsxS70GtH43tngTCoSijX3hTM1qAYSe80tS3j+ XhqRyJRgeMrfONnOVybeha632pFHLvnXbM/VZPppUfX7xTNfgzzmS/YVdjstb0v0VLaj Y8DP/Yu2D4Mbabf/IYd35/WfBtQs+0pkrgxbnaRE8GO+ul7/QqYGyArtvFIhmc8BIKq7 hMj31lFGh+a+VEFqMkdzxQgrgoXRLHJbonB/EVuvHm+aapzXqZKXY2BX6LOoi3rXKzRR VKwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=2Rg2VJ51yNAByk/vc0x7DuX8s4EjNbZGwIhenxRG0d4=; b=BF4jK3PJJOhnHbKGbnuD0irttPMgX2pmQK9/SuvaujRb0q2O/+sRK217a+4k8vI2C6 Hg9K3Jgem2y8L3XzGvFSRb47XFa8gez9P8Z64bx7F4bAPxOEbfT3U5sfBRcjUhjJoh8A j7ZEiL1YcbjCDJToXmRDx42490UAC0K5BNwEo/k7889PfjpjmeALiyQ4H7tM8pXVLnZX LTzXVjcVZPFUSa68uKfgo8UCi2pm7tZALZlDupdZ+/iCye/S8iJGBuXp5sZwrF19eeSd JPXDWLjG3ivmtI5SlLWS8GYeSA2tKxyxhdal/wA6EXOrbUGCTd8ysCsRaMXbP5XVprOF 3F4Q== X-Gm-Message-State: APjAAAVp81BTdkwOe15FCCyCpFGMvpr1gVCw6R2CYQfLWNojBI1cCd9H MSfP8575CvnEszzktnJ1wVQ= X-Google-Smtp-Source: APXvYqyltX2Fjesk/IduY4GyMFsTLAMQyEYjFGTLA5girkp9nD/IZ/o+6+wznlBsuBUuN0nVcRfeuA== X-Received: by 2002:a6b:ed01:: with SMTP id n1mr1918830iog.255.1561682086584; Thu, 27 Jun 2019 17:34:46 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id k2sm551568iom.50.2019.06.27.17.34.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Jun 2019 17:34:45 -0700 (PDT) From: Noam Postavsky Date: Thu, 27 Jun 2019 20:34:45 -0400 Message-ID: <8736ju7dju.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain [forwarding to list, please use "Reply All" to keep 36362@debbugs.gnu.org on Cc] --=-=-= Content-Type: message/rfc822 Content-Disposition: inline References: <85v9wr5ajl.fsf@gmail.com> In-Reply-To: <85v9wr5ajl.fsf@gmail.com> From: "otadmor ." Date: Thu, 27 Jun 2019 22:12:56 +0300 Message-ID: Subject: Re: bug#36362: New feature-x-check-server To: Noam Postavsky MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="====-=-=" --====-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline I have some non consistency of the terms client and server. Some refer to the emacs client/daemon, some refer to the xserver, emacs as x11 client. Hi, I have this scenerio: 1. Laptop with Windows 10 host and Ubuntu 1804 vm.putty and xming (latest versions) are installed on host and emacs 26.2 on the vm. 2. Connect with putty via sshx to the vm and run emacsclient -c. Doest really matter how emacs deamon is started (with the ex, via the ssh as emacs -daemon, directly in the vm, as sysctl -user start emacs). 3. Close the laptop lid so it goes to sleep. 4. Open the lid and reconnect with sshx and emacs client -c. 5. The second emacs client causes emacs daemon to stuck on xcb select (they have no timeout). The emacs client is still running correctly before the second emacs client. The propose is to have this connectivity check native function + timer which executes it on all existing frames every few seconds. This native function closes the fd of the xcb and causes the select to return EINTR. xcb have internal infinate loop Incase of EINTR, so closing the fd is necessary to get out of this infinite loop. Closing the fd also causes libx11 to realize the connection was closed and call the error handler of emacs for x11 failures for a clean termination of the resources in emacs. This native function is consist of a a native timer with a signal handler to handle when this timer expires. I have set the native timer for 0.5 seconds and it is configurable using an elisp variable. When the server was not disconnected this timer don't expires, doesnt close the fd and returned immediately without waiting 0.5 seconds. When the client crashed because of sleep, the native code will have to wait before realizing it. I have selected GetGeomerty arbitrarly. This is usually used by emacs and I don't believe it has an extra side effect. The xcb knows the sequence numbers of the requests and should not be confused with other GetGeomerty/other non-GetGeomerty requests. Shalom. On Thu, Jun 27, 2019, 18:10 Noam Postavsky wrote: > "otadmor ." writes: > > > A new native method to check connectivity of xserver. > > Can you explain a bit when/why this is useful? As it stands this patch > is rather "apropos of nothing"... > > --====-=-=-- --=-=-=-- From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: The elisp timer References: In-Reply-To: Resent-From: "otadmor ." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jun 2019 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 36362@debbugs.gnu.org Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.156193217014119 (code B ref 36362); Sun, 30 Jun 2019 22:03:02 +0000 Received: (at 36362) by debbugs.gnu.org; 30 Jun 2019 22:02:50 +0000 Received: from localhost ([127.0.0.1]:47423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhhuL-0003ff-Lf for submit@debbugs.gnu.org; Sun, 30 Jun 2019 18:02:50 -0400 Received: from mail-lj1-f179.google.com ([209.85.208.179]:34394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhgeC-0005uH-3B for 36362@debbugs.gnu.org; Sun, 30 Jun 2019 16:42:04 -0400 Received: by mail-lj1-f179.google.com with SMTP id p17so10926458ljg.1 for <36362@debbugs.gnu.org>; Sun, 30 Jun 2019 13:42:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=a3FddDMJGz+nbw0KAsWo8/LiAfVM7keexyjImNaeHwI=; b=tfstEBUDAR9PveKTSvcsZQc+voIeNWp09hvrvp8q13n/33EWf9O0QwJ1FGeW0p5KP5 Lv2qzi7DhHmImkhs4NTsNBlE/zwS+lcPOPQWLpwhlu8mNpt1+Fyu+itiJSd8Ru8Q6XmO sf3QYMkhXdEOJzWc9jHi16XVB2Za58NaU4yIPpvQCW4pV986nWujEc5wLgW03/n34N9U Eo4ZusvvDBmdJldTLXPTVyAmQeTv7i3IUkpl0OgUYphRVicg21m83/awyUYi6VHQz03l iS9eJRUIdBJtuQNLWMB6CXwMDmxwH8oD3zsWQFN6phyKXgssg7JQFkqujWCNFZ5q23FM vnTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=a3FddDMJGz+nbw0KAsWo8/LiAfVM7keexyjImNaeHwI=; b=EuPgJMB7anh+SOSuzk8jqz9M1aJSKUyVjMqsU2kDcEw+27BAtHIV9GjkEYBJcJ6RPC yL8mNK62qb4nJtRwlw9W5d1kzctRkwO7s8fOS3Fe6v91Zn+fokTN9ivKJp8e/GFM+JRD R+Yr56ELvFsp6UVdF2Ir1O/kUXlFJaTkxNglECSahr26tWqrQXCuBbCe/3c1VU1o10nK kdEzsglobsON4ia6nXy9CAD8W+OdXSlP2O0zu/hs3KVc2ytEPr6c9W+j9jy8qR6hrsKN 4CXKHQeICfwPECCI9mIQmY3mByncJFScOBylHKj00kE6rz4x5CasJyCEc55F9rE4z2Qv zuIQ== X-Gm-Message-State: APjAAAXc5xKHywqFvTMf78V4H8Rmv6o96gK4lSzYpHuylEyAxNuc8Bia XseiKJEgxUWsncSijYbpdz9zIuc0FGgm2e8qNfGrVw== X-Google-Smtp-Source: APXvYqxy6+jDeW1Qb0WdyMh9NHcQNPwqr6Q1Zur4lkmvKQcTAobVpYuHFcGrzgEgu3SgBoqqq3L3wl8qeJOfhNEV5nQ= X-Received: by 2002:a2e:4e12:: with SMTP id c18mr11941271ljb.211.1561927317507; Sun, 30 Jun 2019 13:41:57 -0700 (PDT) MIME-Version: 1.0 From: "otadmor ." Date: Sun, 30 Jun 2019 23:41:45 +0300 Message-ID: Content-Type: multipart/alternative; boundary="000000000000ecd163058c908ae3" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Sun, 30 Jun 2019 18:02:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000ecd163058c908ae3 Content-Type: text/plain; charset="UTF-8" This is the code of the elisp timer. This is actually a bug fix. (defun check-frames-connection-timer () (safe-check-frames-connection) (run-at-time 2 nil 'check-frames-connection-timer)) (run-at-time 2 nil 'check-frames-connection-timer) (defun safe-x-check-frame (frame) (condition-case nil (x-check-frame frame) (error nil))) (defun safe-check-frames-connection () (when (functionp 'x-check-frame) (dolist (frame (frame-list)) (when (eq (framep frame) 'x) (safe-x-check-frame frame))))) --000000000000ecd163058c908ae3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is the code of the elisp timer. This is actually a b= ug fix.

=
(defun check-frames-connec= tion-timer ()
(sa= fe-check-frames-connection)
run-at-time 2 nil 'check-frames-connection-timer))
(run-at-time 2<= /span> nil 'check-frames-connection-timer)
(defun safe-x-chec= k-frame (frame)
<= /td> (condition-case nil
(x-check-frame frame)=
(error nil= )))
(defun safe-check-= frames-connection ()
when (functionp 'x= -check-frame)
(= dolist (frame (frame-list))
(when (eq (framep frame) 'x= )
(safe-x-check-fr= ame frame)))))

--000000000000ecd163058c908ae3-- From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: Tag this report as bug References: In-Reply-To: Resent-From: "otadmor ." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2019 20:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 36362@debbugs.gnu.org Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.15645187449222 (code B ref 36362); Tue, 30 Jul 2019 20:33:02 +0000 Received: (at 36362) by debbugs.gnu.org; 30 Jul 2019 20:32:24 +0000 Received: from localhost ([127.0.0.1]:51260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsYnH-0002Of-Hi for submit@debbugs.gnu.org; Tue, 30 Jul 2019 16:32:23 -0400 Received: from mail-lf1-f47.google.com ([209.85.167.47]:45041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsYCu-0001G6-9y for 36362@debbugs.gnu.org; Tue, 30 Jul 2019 15:54:48 -0400 Received: by mail-lf1-f47.google.com with SMTP id r15so28642595lfm.11 for <36362@debbugs.gnu.org>; Tue, 30 Jul 2019 12:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=O5nuRy3hvbLiK1iWoo1P/aWxKz1v/JWG3YGuKw5ee8k=; b=jXGcr2il3gikQp63oaxBAk8CjkpVfFMJeu8U+iOJSkDQ4sEH/IElodlMezxz1ivKTD 8SdPZb0sgL4kBzI3UszDAlq+zJUPSf2bWlQtN96busSRscUFoUiCXBHEVOoirtz+kaKL lVKLGZAnp2yuA969/YHl9rMMK0WtGUZV+iApgS/askYHnXLDwQZRzXzD1aRTtzncN0dg 3ToE+cg68a9D3S5Przt98Zs7abpobvVHx6PpcL4k8Vgvk15wXKWLbcb5nF2Ss1ftFff8 VrhG1LhHwnaX/bImBIFM5UPI1AKybqagH6JihdSLlN0OhAHei6dzOCj6Nm5vGpLSMOed 42wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=O5nuRy3hvbLiK1iWoo1P/aWxKz1v/JWG3YGuKw5ee8k=; b=OPoDoNZ5WmGcILZtFB2YM/piVV66tpFKtzSlnqO1s3o7N3QzedffrXeHPKOsnqAGck xy9ItQBy8UJ+YT5WNWbtgvC0ss5tqemLSx5c/Dv8dhbSiC/DA2g8LgdmsNMyogs2N5WH bvaiXWsr/GEshzzDQHII8nXd313N+IXcCgXuuo7KulUE+5fouYJ5Zr2zRSAmnmDbXGUU ELr5HiSLrl4g8PNf3Y9B3Be5bjs+R6zGEibTaU+1Zy/iz+3U4WnihYUYDItcdmSakQ6t 1EUAqyGR6zr5DnywjcaTd9aZD6HKACUJIX4mZOKKV4wMvAczG4KdEEJcCMsU9tekOh9q LGoQ== X-Gm-Message-State: APjAAAVAgSsQFmn5aELDfhKI1sU+yxUnD++KOaFIlrqphD05akn2xRmr 3h/OQfPiI06hq2s2LLaKpE+12wY3WxRrncy86eOE+Q== X-Google-Smtp-Source: APXvYqzUCi3+om7sX0YBEnuxfgiAj1veTPLzYqSRSTcbMG7/dCjvN40kO26kxbvBGzYeIH+Z3I2v8nZi26C9ZWbjDes= X-Received: by 2002:a05:6512:484:: with SMTP id v4mr37175404lfq.66.1564516481703; Tue, 30 Jul 2019 12:54:41 -0700 (PDT) MIME-Version: 1.0 From: "otadmor ." Date: Tue, 30 Jul 2019 22:54:29 +0300 Message-ID: Content-Type: multipart/alternative; boundary="00000000000023228e058eeb6190" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Tue, 30 Jul 2019 16:32:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000023228e058eeb6190 Content-Type: text/plain; charset="UTF-8" Hey, How can this be escalated to be a bug and be placed in the bug list? Thanks. --00000000000023228e058eeb6190 Content-Type: text/html; charset="UTF-8"
Hey,
How can this be escalated to be a bug and be placed in the bug list?

Thanks.
--00000000000023228e058eeb6190-- From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: Tag this report as bug Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jul 2019 02:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "otadmor ." Cc: 36362@debbugs.gnu.org Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.156454006430078 (code B ref 36362); Wed, 31 Jul 2019 02:28:01 +0000 Received: (at 36362) by debbugs.gnu.org; 31 Jul 2019 02:27:44 +0000 Received: from localhost ([127.0.0.1]:51423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hseLA-0007p4-87 for submit@debbugs.gnu.org; Tue, 30 Jul 2019 22:27:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hseL8-0007or-9M for 36362@debbugs.gnu.org; Tue, 30 Jul 2019 22:27:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hseL2-00054Q-JM; Tue, 30 Jul 2019 22:27:37 -0400 Received: from [176.228.60.248] (port=1127 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hseKz-0003zr-Q3; Tue, 30 Jul 2019 22:27:35 -0400 Date: Wed, 31 Jul 2019 05:27:22 +0300 Message-Id: <83o91bhrat.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (otadmor@gmail.com) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "otadmor ." > Date: Tue, 30 Jul 2019 22:54:29 +0300 > > How can this be escalated to be a bug A request for a new feature cannot be a bug. > and be placed in the bug list? It's already there. From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: Tag this report as bug Resent-From: "otadmor ." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jul 2019 08:03:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 36362@debbugs.gnu.org Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.15645601496976 (code B ref 36362); Wed, 31 Jul 2019 08:03:04 +0000 Received: (at 36362) by debbugs.gnu.org; 31 Jul 2019 08:02:29 +0000 Received: from localhost ([127.0.0.1]:51516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsjZ6-0001oL-H4 for submit@debbugs.gnu.org; Wed, 31 Jul 2019 04:02:28 -0400 Received: from mail-lf1-f54.google.com ([209.85.167.54]:43619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsica-00006p-Ja for 36362@debbugs.gnu.org; Wed, 31 Jul 2019 03:02:01 -0400 Received: by mail-lf1-f54.google.com with SMTP id c19so46629103lfm.10 for <36362@debbugs.gnu.org>; Wed, 31 Jul 2019 00:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=F+Y3+Hspd3gQ8mVu9Y2+yIAmQKpcgQ5hs7277/VnTLc=; b=HsiNhZ3ocjwn1DPYPISA0hDsmNTEYUKfYrhQXV/LDykgJO+k/sjvxbqZG3Qup/grt1 GGj4MxFs6AuEoeRd3sAnlDeMkv9XepqiU8/C/YW218S5+N/yDQrcoSxg589D/pJYXvEE lNjCnUDWM7D3781YI5SrleYsszP0fcCpHWLLSeEAedFB6ttjNPobEig1Jp7ugCwb3mzy uB5dyj2hMZFv5aIdwSUXtKEIxVOZhIqQXH4evcsfl+TNBZiLuyKO9V8cXspCYRtokmOv 5MpYfNpa14k4t4fYH/+nQrkqR3vUm9Kz4ssMQN8cVAMldNuyuclcxawfzw1GFvQbZ709 LsjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F+Y3+Hspd3gQ8mVu9Y2+yIAmQKpcgQ5hs7277/VnTLc=; b=ePlSxWNQ3zQAKa4LNUoCKiYKxuKZGVEJCBQilV4bm6Q+LOiNIEBanNYI3STfP70yxc Ab8vzZxCGn4k8OkXmc27Op3DeMwdFCY6qL/2ah8zNOVHstAhyK9XA+8DEZivRAVTKj26 saVjq8OSG3tFMim0cRsREDsawlZWukWBUMDtWEZFeGTThlbcqiWy30no1ZeN34iVlfqR VuNwrsFQif0wKVxfNEfT8SK22db/Q6KDWI3rgQ5H3iJcQVg5g7gPZGToMRknST0jco4X BcHdhw7ODGVPmBgLE/MBBmI9aZwEJ2kjrnQMvNvpTf3lWIKEAw1fGgI3AXjjqm2mNt52 k/TQ== X-Gm-Message-State: APjAAAWRDu0BpaR+/Rie+glx03Sj9F0pUpMOGOXT+bS6ytqE0I5QSu82 xSxmJELu33zcBLxF7XlUMmaxJ4s4f6QGiVFnw8g= X-Google-Smtp-Source: APXvYqwtEllUL+N2d64v02xSHUNRS7iA4RJoOSnVrKDiqgfTxC5vlwg0jN2EeFWjZW8iAr8Y7Jfz64X+cCaxT3gm9CA= X-Received: by 2002:ac2:5a01:: with SMTP id q1mr13558593lfn.46.1564556514281; Wed, 31 Jul 2019 00:01:54 -0700 (PDT) MIME-Version: 1.0 References: <83o91bhrat.fsf@gnu.org> In-Reply-To: <83o91bhrat.fsf@gnu.org> From: "otadmor ." Date: Wed, 31 Jul 2019 10:01:41 +0300 Message-ID: Content-Type: multipart/alternative; boundary="00000000000043d0e0058ef4b3f1" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Wed, 31 Jul 2019 04:02:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000043d0e0058ef4b3f1 Content-Type: text/plain; charset="UTF-8" This so called feature fixes the DOS bug I have described on previous messages. It can be easily reproduced by the steps I wrote there. On Wed, Jul 31, 2019, 05:27 Eli Zaretskii wrote: > > From: "otadmor ." > > Date: Tue, 30 Jul 2019 22:54:29 +0300 > > > > How can this be escalated to be a bug > > A request for a new feature cannot be a bug. > > > and be placed in the bug list? > > It's already there. > --00000000000043d0e0058ef4b3f1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This so called feature fixes the DOS bug I have described= on previous messages. It can be easily reproduced by the steps I wrote the= re.

On Wed, Jul 31, 2019, 05:27 Eli Zaretskii <eliz@gnu.org> wrote:
&= gt; From: "otadmor ." <otadmor@gmail.com>
> Date: Tue, 30 Jul 2019 22:54:29 +0300
>
> How can this be escalated to be a bug

A request for a new feature cannot be a bug.

> and be placed in the bug list?

It's already there.
--00000000000043d0e0058ef4b3f1-- From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: Tag this report as bug Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jul 2019 11:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "otadmor ." Cc: 36362@debbugs.gnu.org, Eli Zaretskii Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.15645738505061 (code B ref 36362); Wed, 31 Jul 2019 11:51:02 +0000 Received: (at 36362) by debbugs.gnu.org; 31 Jul 2019 11:50:50 +0000 Received: from localhost ([127.0.0.1]:51606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsn86-0001JZ-I3 for submit@debbugs.gnu.org; Wed, 31 Jul 2019 07:50:50 -0400 Received: from mail-io1-f43.google.com ([209.85.166.43]:33261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsn83-0001JL-Vh for 36362@debbugs.gnu.org; Wed, 31 Jul 2019 07:50:48 -0400 Received: by mail-io1-f43.google.com with SMTP id z3so16691457iog.0 for <36362@debbugs.gnu.org>; Wed, 31 Jul 2019 04:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hcel5gcXnMMNSVT/4Kul3zYt1SEwYxEnSDkSAnPpFpE=; b=fvYE1gEaf0YPtqpbINJ6Jvw5LdFGbxJaj3MtmCu0MOcKIgl1Vo02+INIIUkRQqLsH+ HAYCHrxL3u8pcHlMxB5Vli1Qoogi1d3j+/TBGqw0ptT8yqaXqEujGgzjm+6Rgr20/ifI X+1sqevh7Eyb7dFaU9D8ZrFQPSFDfzImaZ6I9UbXJbFZWiykv1dDVNI531smp+vrMsXe HwnNbij1I8Gz7ZTYSO+0r0zK15TSDhPVkSOQY8F7xlglC5SNvQVnbJzF2y4lDoR/c9IG h4xqbnZNYIMc7F2aLSbVIJSCMBaTNhB3VBEFHDsCVU8Cx0q1n68RerS50A/mW3N6qCM4 4pwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hcel5gcXnMMNSVT/4Kul3zYt1SEwYxEnSDkSAnPpFpE=; b=fFBEdwaPyQhZNUPhGEiUcFVk0KaarwnzAATequfDmGq2uhb/SFPBXgND8GKeHeE+Jg X+hsITRlAnp4lewX6q6aSSznURB5vmRsEpkL+cLrjqzHkfJ15+ULZdO63NJWcru3+VHx MQyPtwvFEIZQm/QTd5OPi6jVxYfQQSPNZzionfb9ie1obXWx1FkNNTamhV1AI07VOq7l /OHIKzX8zn2Yk1ZQ5WvKuGkH8s7O6c8oAxdOWEC1yOwK3aoPdKZv5+L3fOYyCoGBRVln xZeOz+XlB8p/jxQvXb9frj6J2lGEVIb48Ill8+cS6/GM9/Hl5m3C1gM3hAY0uPVsh4gu psKA== X-Gm-Message-State: APjAAAVeEGCFdk03twZj6wX7un6KoAa5v2o9nL/5BNnxDT/sPoLpBpNb D1gxEKG8o4MvUe6CLTJCKGJ40l6V X-Google-Smtp-Source: APXvYqzffmge6IFiJDZ4NJwAc5gRAUOjZOyvR6G+eduzyTy4kf0fSZ3RKVcQWT41nGxAQO//XHbTig== X-Received: by 2002:a6b:b497:: with SMTP id d145mr4336758iof.17.1564573842069; Wed, 31 Jul 2019 04:50:42 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id n2sm70848429ioa.27.2019.07.31.04.50.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jul 2019 04:50:40 -0700 (PDT) From: Noam Postavsky References: <83o91bhrat.fsf@gnu.org> Date: Wed, 31 Jul 2019 07:50:39 -0400 In-Reply-To: (otadmor .'s message of "Wed, 31 Jul 2019 10:01:41 +0300") Message-ID: <87pnlqtoc0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "otadmor ." writes: > This so called feature fixes the DOS bug I have described on previous > messages. It can be easily reproduced by the steps I wrote there. The line between bug and feature request can sometimes be fuzzy (in this case, you framed the solution as a new feature so it looks like a feature request). But there's no such thing as "escalation" here anyway, we don't have extra people waiting to be assigned to solving non-wishlist bugs. You might want to ask on emacs-devel, maybe someone there will understand the problem better and have some useful feedback about it. From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: Tag this report as bug Resent-From: "otadmor ." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jul 2019 17:17:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 36362@debbugs.gnu.org, Eli Zaretskii Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.156459340121494 (code B ref 36362); Wed, 31 Jul 2019 17:17:03 +0000 Received: (at 36362) by debbugs.gnu.org; 31 Jul 2019 17:16:41 +0000 Received: from localhost ([127.0.0.1]:53020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hssDQ-0005aX-Vk for submit@debbugs.gnu.org; Wed, 31 Jul 2019 13:16:41 -0400 Received: from mail-lf1-f53.google.com ([209.85.167.53]:35904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsryS-00057F-Pt for 36362@debbugs.gnu.org; Wed, 31 Jul 2019 13:01:13 -0400 Received: by mail-lf1-f53.google.com with SMTP id q26so47990790lfc.3 for <36362@debbugs.gnu.org>; Wed, 31 Jul 2019 10:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nAdyWj0XPnzxqmhHeUC0zfNadUSlL2Nf4G736G4iRvY=; b=mNS343ujy76syGQGBKaPSiB3Rw9lPPibef/gZMZI4lkGRACWeP9gwJIOUNxRxaQ1EM CqaBGp1QTvyJRosvJnzAjUDz8sZ8ZrsdrXd2G3wRC/smY3fs+NBMNDHFj+D+PRyTiSzJ j50KiFuMEZJtRXU8UAEGl86Ia++gbEbANAplNisS/AXB6w7XjuMs87tCUV0Cif1rtX2h 7pMdTRwizIIAJz5gmm+6h18oGYm8SLreFCQc9bPspDvMxpGGLZVWte7BiTOhh3TcOHk7 hYXnAJzcD1qeBjcKbCbSbqaMw/zRlq8BfLNfTYF4dvVwMuOc9rGkoeHndTOplqHrR2BE lSOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nAdyWj0XPnzxqmhHeUC0zfNadUSlL2Nf4G736G4iRvY=; b=pPwCHXaLBkLXPUYPZE6mH5w3P6mHzWlwmDQHT4Rl+M2n7+XAPf9t5JO7cwedGFh16v xBV+iQwHSh4ZBZBgPm4GyOJiVu28Z1+JrI6TGxS0DmX5AHxcPksXbf/OSF80oRa7lK9F GGDxGfXmwOg4dKJGSUJl9I7kO1dTisBw41K2qdqm9+wVqI0baaVvhGTu0I669XTViTbJ u5HfqgIegkyoIPLbAf11nW3I6QxiZGPoK6jr9ypE6GgdjpldR8F5ocoRZP0neXz8dIES NO/6SxZBv1KHQh/JEI3wDMo1BcpaVQv/80qlTU+kEH2tdyH5Ca1vnAT4zKUNzuqaOTKX GvKw== X-Gm-Message-State: APjAAAX4AjCBTXg+Wvpi1nxL4iEAhjeqcXmdJW5HdjbGBcH7xL73425A 0utZAyAraLhqsInN0D2DbW/sBS/itXNWOpwMshc= X-Google-Smtp-Source: APXvYqy62o/qzGG1H/PEd+ipWm64d/+jy+TYD9YPdk6cQ8ItMWRStWZZJP8BaPj9Y98q3HhC3GSaYN9Fc5fsR/W6HXk= X-Received: by 2002:ac2:5a01:: with SMTP id q1mr15141926lfn.46.1564592466733; Wed, 31 Jul 2019 10:01:06 -0700 (PDT) MIME-Version: 1.0 References: <83o91bhrat.fsf@gnu.org> <87pnlqtoc0.fsf@gmail.com> In-Reply-To: <87pnlqtoc0.fsf@gmail.com> From: "otadmor ." Date: Wed, 31 Jul 2019 20:00:54 +0300 Message-ID: Content-Type: multipart/alternative; boundary="00000000000032aeec058efd12a3" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Wed, 31 Jul 2019 13:16:39 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000032aeec058efd12a3 Content-Type: text/plain; charset="UTF-8" How can I forward this to emacs devel? On Wed, Jul 31, 2019, 14:50 Noam Postavsky wrote: > "otadmor ." writes: > > > This so called feature fixes the DOS bug I have described on previous > > messages. It can be easily reproduced by the steps I wrote there. > > The line between bug and feature request can sometimes be fuzzy (in this > case, you framed the solution as a new feature so it looks like a > feature request). But there's no such thing as "escalation" here > anyway, we don't have extra people waiting to be assigned to solving > non-wishlist bugs. > > You might want to ask on emacs-devel, maybe someone there will > understand the problem better and have some useful feedback about it. > --00000000000032aeec058efd12a3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
How can I forward this to emacs devel?

On Wed, Jul 31, 201= 9, 14:50 Noam Postavsky <npostavs@= gmail.com> wrote:
"ot= admor ." <otadmor@gmail.com> writes:

> This so called feature fixes the DOS bug I have described on previous<= br> > messages. It can be easily reproduced by the steps I wrote there.

The line between bug and feature request can sometimes be fuzzy (in this case, you framed the solution as a new feature so it looks like a
feature request).=C2=A0 But there's no such thing as "escalation&q= uot; here
anyway, we don't have extra people waiting to be assigned to solving non-wishlist bugs.

You might want to ask on emacs-devel, maybe someone there will
understand the problem better and have some useful feedback about it.
--00000000000032aeec058efd12a3-- From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: Tag this report as bug Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jul 2019 17:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "otadmor ." Cc: 36362@debbugs.gnu.org, Eli Zaretskii Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.156459353621779 (code B ref 36362); Wed, 31 Jul 2019 17:19:02 +0000 Received: (at 36362) by debbugs.gnu.org; 31 Jul 2019 17:18:56 +0000 Received: from localhost ([127.0.0.1]:53029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hssFc-0005fD-Kb for submit@debbugs.gnu.org; Wed, 31 Jul 2019 13:18:56 -0400 Received: from mail-ot1-f43.google.com ([209.85.210.43]:40950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hssFa-0005eu-WF for 36362@debbugs.gnu.org; Wed, 31 Jul 2019 13:18:55 -0400 Received: by mail-ot1-f43.google.com with SMTP id l15so13747649oth.7 for <36362@debbugs.gnu.org>; Wed, 31 Jul 2019 10:18:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mngwAo2MkGhajCxn8BiOIs1waw7iVtf1mXGEFYjxclU=; b=Hf/GESTISWjom8In9JeQDA1OIgY8VmXV+qdHZJ+/J16InVR3St9a84TpomDErHCVs2 lakFee6H9NLxsSNCb4AtuzYYbmUVu3159t/iJ8B23b2imdvaosZg2cKrbMniCB8yDrAp 29HEw3dJ3ltxe82+8EtadLnl0xpDD6VgS38A/pY3VICXDcI5/kc3ToE1eqMVkZS7PDqc FJ+zm9KtXhlH/QNmdScrNis9HB6T6ORpRK/+eg/IU4taw2SYHWHQPIEDKGNffCwudZpD MRBa5dvlL8D88M/Q6k1g4/CAyZTu0vsNw5UYJWJpw+299dW2l1SR/IOGNMrluHtowICA VBxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mngwAo2MkGhajCxn8BiOIs1waw7iVtf1mXGEFYjxclU=; b=FgfOqZQhEwu6rWDzjtRDhTxNbAjtD4Y0LqDxB2aIeBsDHUUiGuKj/i08xbZffT+/U+ LQO8zd2C7/3pTjT5csmRlSl/GAP5alp85AfcQHSPbYLXg9tQ8oIsFjjMFz5XKKU7ytIH Ou6yQ/yuMmLETWHUL3L8Kf1gIG9yNbUoHJJKykX8AJQjoRnXDIDEMnDbT6OhJM2EkM8G c4nUuPnLrnMeVc0BBS89nRg8UB/QQQlAICSZuBXLlo/kKvqKKIrCltZMMXz5XQ1Cz8xj Q7AXVMkiketOjBYV2mAWbxwQ9k9O4a8Oio0/wIdSANzbSFpz7/y8BGBEDu9CP3NmuSCc ieHg== X-Gm-Message-State: APjAAAW6HJFXSGuRG0EA8trwjhEK8yMJHhwI0muKPuEzcYyJD6HaC+A3 wdibw7M8v4BjTyi5OfPWb5Gpy5+dnhkOgdASgEc= X-Google-Smtp-Source: APXvYqyV+Mbofmv8jaKn04qnrsDS2ompVBnwaZ0jMzYAT15jTAZMUMa5jVQbvtO4JFpXVv+q30Dyt6TIWHiEEHcVvxw= X-Received: by 2002:a05:6830:1cd:: with SMTP id r13mr1298636ota.99.1564593529197; Wed, 31 Jul 2019 10:18:49 -0700 (PDT) MIME-Version: 1.0 References: <83o91bhrat.fsf@gnu.org> <87pnlqtoc0.fsf@gmail.com> In-Reply-To: From: Noam Postavsky Date: Wed, 31 Jul 2019 13:18:34 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, 31 Jul 2019 at 13:01, otadmor . wrote: > > How can I forward this to emacs devel? Just send a new message to emacs-devel@gnu.org. You can put a link to https://debbugs.gnu.org/36362 in the message so people can read it for more background info. From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: New feature-x-check-server Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2022 08:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Noam Postavsky Cc: 36362@debbugs.gnu.org, "otadmor ." Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.164465393124351 (code B ref 36362); Sat, 12 Feb 2022 08:19:02 +0000 Received: (at 36362) by debbugs.gnu.org; 12 Feb 2022 08:18:51 +0000 Received: from localhost ([127.0.0.1]:33351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIncA-0006KY-UH for submit@debbugs.gnu.org; Sat, 12 Feb 2022 03:18:51 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nInc9-0006KJ-C6 for 36362@debbugs.gnu.org; Sat, 12 Feb 2022 03:18:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wO+GL8iEGhhrYG1x/r/nAofe/FmxTAWvyBPDuKp89rY=; b=Mbeqd7PrDm28t/D1obKCmhywnH 7OIHVbI5dASa2sju+h0r0PEPjhWMczy6O3uS2/xsdCo2SCd34moHCewqZr14hF5GSSYf4dtuzL1H3 Q3O0AgpfWKis4S3VPkBKfl0DjakObPipqSgP09AcMMxkP6PT9ngpiu7xRp3TYmLatRkQ=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nInc0-0005Jx-MQ; Sat, 12 Feb 2022 09:18:35 +0100 From: Lars Ingebrigtsen References: <8736ju7dju.fsf@gmail.com> X-Now-Playing: CCCP's _The World_: "Made In Russia" Date: Sat, 12 Feb 2022 09:18:32 +0100 In-Reply-To: <8736ju7dju.fsf@gmail.com> (Noam Postavsky's message of "Thu, 27 Jun 2019 20:34:45 -0400") Message-ID: <8735ko4hwn.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: > This native function closes the fd of the xcb and causes the select to > return EINTR. xcb have internal infinate loop Incase of EINTR, so closing > the fd is necessary to get out of this infinite l [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > This native function closes the fd of the xcb and causes the select to > return EINTR. xcb have internal infinate loop Incase of EINTR, so closing > the fd is necessary to get out of this infinite loop. Closing the fd also > causes libx11 to realize the connection was closed and call the error > handler of emacs for x11 failures for a clean termination of the resources > in emacs. (I'm going through old bug reports that unfortunately weren't resolved at the time.) I don't think it would be appropriate to add a function like this to the C level of Emacs, because the use case is very limited. And I think you can basically get the same functionality by using the xelb package (which talks to the X servers from Lisp). So I'm closing this bug report as a "wontfix". -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 12 03:18:53 2022 Received: (at control) by debbugs.gnu.org; 12 Feb 2022 08:18:53 +0000 Received: from localhost ([127.0.0.1]:33354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIncL-0006Kv-9s for submit@debbugs.gnu.org; Sat, 12 Feb 2022 03:18:53 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIncJ-0006Kc-C2 for control@debbugs.gnu.org; Sat, 12 Feb 2022 03:18:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QjVi9Dx36K3abxvIqHURIyyrcTvK+BuRuCWIaOzNiHA=; b=GcvlAJ2WarGGuWM4WGUdo0dd+m 92zj70vU89ClAJ1rQvUdj/WwZbgRTk+llc64s2rH+yBAkOqsk9O0w3sdFKC9FC6gEpIupP+TVnhoU C8KbHR/ypvlg2tVSVOT077ALPhme/8xqHXsfLfPTQETLNVA2KwlWu8GlP3XFVjpccpgY=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIncB-0005K8-Fm for control@debbugs.gnu.org; Sat, 12 Feb 2022 09:18:45 +0100 Date: Sat, 12 Feb 2022 09:18:38 +0100 Message-Id: <871r084hwh.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #36362 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 36362 wontfix close 36362 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 36362 wontfix close 36362 quit From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: New feature-x-check-server Resent-From: otadmor Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2022 09:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: Lars Ingebrigtsen Cc: 36362@debbugs.gnu.org, Noam Postavsky Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.164465722723950 (code B ref 36362); Sat, 12 Feb 2022 09:14:02 +0000 Received: (at 36362) by debbugs.gnu.org; 12 Feb 2022 09:13:47 +0000 Received: from localhost ([127.0.0.1]:33472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIoTT-0006EE-B7 for submit@debbugs.gnu.org; Sat, 12 Feb 2022 04:13:47 -0500 Received: from mail-wr1-f49.google.com ([209.85.221.49]:44843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIoTR-0006Dw-O7 for 36362@debbugs.gnu.org; Sat, 12 Feb 2022 04:13:46 -0500 Received: by mail-wr1-f49.google.com with SMTP id u1so5100133wrg.11 for <36362@debbugs.gnu.org>; Sat, 12 Feb 2022 01:13:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g1k56ym1fThxqS51p/TyyH2rCTlkJZdambV7BsWb+YU=; b=JGTwjZZ5MSKhbEPomaag2y+mgAX/xdf/slxq73TwCn9Qx3E+cTJst0TelM7bBejJ8Y Kfu90rEkKdYU7BOuHvCJVA+wRlA5aEkRWV8V3c0ps0kcAMbCbMlo53v7TVGm8iwnxlbt 8DfMVJhsZEkgqsMCFMkj/YK6tHBuh30f2mbXTsPa9pY932iE5enZvT8pE5YjdYzzUchA 3YCqIkVARsX0qWRrwh0g/RwLLc3I1to3fRW78JPALun0CXfvbW7ENIt1FX6ygTaC+ZmF uE5Txlax+3NkWj+WNb+sk5ImDSQMs8Xni8FpucW4e0Cr0FAxbqCQGd72gT8hXG4wqz36 b3Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=g1k56ym1fThxqS51p/TyyH2rCTlkJZdambV7BsWb+YU=; b=avmBBB2v8cY/cYc0YppUyXXHIXjqLlvws9CM3vjjprSM3IWC7nzirdojkl0R4aUUWh 34IXIOiV2zYpkMWXoyg/OwfvAaSYMdVSNM9z7k12v9JI7AMKm7y7/yvY0Tj6jhrvW/5L JJhHqpu8ZpHoAxcddXLnfAcdIZPvlc3hfZ2h2BZKBgNXuye/EUxQzteBB+MmEbXhdAfT GQEiazqP2g5ypWl2D1Nz1ojnF2/OOQqGSwszCPEj30/3crvXYtAm2B8xCq9tFo3SagRF cmH5nfJgazaOAVfZbfF0Nfo+YaC3W5rTOWm7zmo5aqesk2gLoGMPcdlYHGEWctZcsNgN 4jZQ== X-Gm-Message-State: AOAM533bPQgebipOXlslkbCQ2mSO7LYX2EksPBryaqONQ6uhoAW8mOtF HmYoH1/e+AXOuXDaJyuYuiWFtY8ppiu5ir4pBOI= X-Google-Smtp-Source: ABdhPJzSrOR6D0rgUqAMZpLLTtddOL8LLGHfxxR+PEWNdQEVTzisnOFvaSWvwwAoZM7whMPG62NMcqBXcMskT87Ymcw= X-Received: by 2002:a5d:4fc4:: with SMTP id h4mr4324127wrw.481.1644657219542; Sat, 12 Feb 2022 01:13:39 -0800 (PST) MIME-Version: 1.0 References: <8736ju7dju.fsf@gmail.com> <8735ko4hwn.fsf@gnus.org> In-Reply-To: <8735ko4hwn.fsf@gnus.org> From: otadmor Date: Sat, 12 Feb 2022 10:13:28 +0100 Message-ID: Content-Type: multipart/alternative; boundary="00000000000059222405d7ce99cf" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000059222405d7ce99cf Content-Type: text/plain; charset="UTF-8" When running xlb function the code gets stuck in a native endless loop. The patch I have added closes the fd of the xserver, which as a side effect ends the endless loop. Some would say this patch is fixing a bug of a dependency of emacs and not emacs itself (it is just that emacs uses it in a certain way...). This solution uses native timer (using signals) to detect the timeout. Upon reaching a timeout it closes an the fd on the same thread as the xlb code (this is because of how signals works). To do this is lisp we need to answer the following: 1. How to find the fd of the current xserver using lisp? 2. How to call syscall close using lisp? 3. How to create native timers using lisp? 4. Is it even allowed to run lisp code while the main thread is in xlb native code (stack frame is deep inside other library and this other library was called from lisp). On Sat, Feb 12, 2022, 09:18 Lars Ingebrigtsen wrote: > > This native function closes the fd of the xcb and causes the select to > > return EINTR. xcb have internal infinate loop Incase of EINTR, so closing > > the fd is necessary to get out of this infinite loop. Closing the fd also > > causes libx11 to realize the connection was closed and call the error > > handler of emacs for x11 failures for a clean termination of the > resources > > in emacs. > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > I don't think it would be appropriate to add a function like this to the > C level of Emacs, because the use case is very limited. And I think you > can basically get the same functionality by using the xelb package > (which talks to the X servers from Lisp). > > So I'm closing this bug report as a "wontfix". > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --00000000000059222405d7ce99cf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When running xlb function the code gets= stuck in a native endless loop. The patch I have added closes the fd of th= e xserver, which as a side effect ends the endless loop. Some would say thi= s patch is fixing a bug of a dependency of emacs and not emacs itself (it i= s just that emacs uses it in a certain way...).
This= solution uses native timer (using signals) to detect the timeout. Upon rea= ching a timeout it closes an the fd on the same thread as the xlb code (thi= s is because of how signals works).
To do this is li= sp we need to answer the following:
1. How to find the fd of the curre= nt xserver using lisp?
2. How to call syscall close using = lisp?
3. How to create native timers using lisp?
4. Is it even allowed to run lisp code while the main t= hread is in xlb native code (stack frame is deep inside other library and t= his other library was called from lisp).

On Sat, Feb 12, 2022, 09:18 L= ars Ingebrigtsen <larsi@gnus.org&g= t; wrote:
> This native function= closes the fd of the xcb and causes the select to
> return EINTR. xcb have internal infinate loop Incase of EINTR, so clos= ing
> the fd is necessary to get out of this infinite loop. Closing the fd a= lso
> causes libx11 to realize the connection was closed and call the error<= br> > handler of emacs for x11 failures for a clean termination of the resou= rces
> in emacs.

(I'm going through old bug reports that unfortunately weren't resol= ved
at the time.)

I don't think it would be appropriate to add a function like this to th= e
C level of Emacs, because the use case is very limited.=C2=A0 And I think y= ou
can basically get the same functionality by using the xelb package
(which talks to the X servers from Lisp).

So I'm closing this bug report as a "wontfix".

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--00000000000059222405d7ce99cf-- From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: New feature-x-check-server Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2022 09:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: otadmor Cc: 36362@debbugs.gnu.org, Lars Ingebrigtsen , Noam Postavsky Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.164465982328467 (code B ref 36362); Sat, 12 Feb 2022 09:58:02 +0000 Received: (at 36362) by debbugs.gnu.org; 12 Feb 2022 09:57:03 +0000 Received: from localhost ([127.0.0.1]:33521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIp9K-0007P5-Ky for submit@debbugs.gnu.org; Sat, 12 Feb 2022 04:57:02 -0500 Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:38837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIp9I-0007OZ-4L for 36362@debbugs.gnu.org; Sat, 12 Feb 2022 04:57:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644659813; bh=uSDxJaNbHWAvD06miLpwgBohP1hpEYbN7fr6KUipVxc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=bcxO9zPZI8sgk1Nzbxwctf6Met8vnkejjZCbjPRiJpHKKKcJL064coi5z5qY0VmnjLJ/XdYirGWt7FFA19DIC7z7hAebwMVWoQ9ei07cArJuRwWk/26htnsd4W9jJKU3LpTC9rjQlVuF6ri6oh1+B9TXyYYZypt8cRpluLBm4u1MmUsEUIY/BNBJ9qdKsXjf3sy22aaTbUEBkbFdvhlkEws8Ts0ghtooSH8HJoaM6TcH0rYv7yUFPxS3arM7RU5IoLCMxRV51DeXCEvoIZH545yeNX6jnXWH9fAxGq1ikfuqJ2iEna5czHn8ArAvGnLJptsfTWVu75Z5ni6X2KiCAw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644659813; bh=0op9wCKNtV5OZezcWzmaQ1lK1er/rh9Zd7KfmpwnNy1=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Wjoo5thC2WnS4u1mXe6qv3nCwyIKgnuUnTjlNMYXr+FFLhfuwrMtjBA/j0wtunDdo8vl7jPV1zsGoZM+fOqamh6Z2+OBpuQ+3TcPEEqNXg4XyOrata/FfDq5vDZV3YkmfGw5JqIKi8zA6W70PCl02XIrPOphKF89Aut2AES4Ju6yRRivc4oONlnhCAJG2PCwYYG6bT6tgtNLcd4MmaMk/ACgRaEe7mk8VK1wg8A32bgupDBKPnwVsCPQEk/eEs5eu5aK3kXpfuqcAmagLIw3SxkIx1IGzBX4aJc3n7w40MmDK49xvCvHQOpcr83sT0LntDCHPaIK5x2TZIETWxCR6Q== X-YMail-OSG: 0ZB46DIVM1n8MQFOUiFu6YeK_wSUT0E0ipIcOVD6OrYpzgbXkzxVTtCtm2XRiPe TZF.wVuBQ2HTBBszt7KyECnmTYXCPRScjBQdzgcZ2xuzKsL8JgbUPeNRXmHVXeuPfnHap93505eL E47E8_RyqJ0HyWM_LkT6gKltEpGg1mIUblQOXzt39..gZrmB4GAhKGEaBZ7El1lhr1TbM0zdOvGz Nyeg5CsBYWj67q9lYo8.mPoVI7g3tBtwnSMD16R7Jz6PMzbJmFlDkJ6Ad3bQ887SOhFhqW_fgSVK WHjjsFm2G6C43ldl_CnNrq1TNqF62bDCpX.2Fj6OJUCQCzhsXy.QYT0iXpz1YfpddVhxdR8NHlCR HtHnXn6b.svIzZHSIu887wWB8xbSNDoixTt7lhAf8g9DX8bUSl2XYGtKR.h9Wh9kPzVuM4lacpH6 xHSg33YzMDqKaQMi6zusKhvGXAuZu1l7HClob.GQwLRqSqe_j2GobvaCPU1Cv0kKv3Y_f3ebtG0j rNBKqYckZDBhIYyuDQGwB6bhjujptSpcRiksowN921vHFteo4o4k3uyG196NcDZa99BRi4OPPvya rd_bNioDSvS0eL6NVp0R914zMkLq8L54JYPtKcgMTjkC.siCPYmdQCT6GC86J44jgaWJ1Z1xl.ei CyaRtSOMkZ52rBzAIfkLejqPxO2yQuQticqL0QUw538bh3tqEstybTWT8uuwbUgYuI8ObGNJ59md UV_fO3leY5xzY_InEhqpONcjIHL723hMeg2P1a22QkUMzJYJ1nQnjdLUpu930wpKv9QiU6vdr43B htms8eHQWtXL8AqRml52ctNy9pRse2n7OqHW4GD4qcvcWucIt6yOF0QGRA9_94DQXGvh8NLvM_d8 U5umbyg1y832K3IfZsPVAI0wM3LDmIpEvi0q2puuhQIs4qOEVzJlqqMNj5_xSWJYZE5QY9kdtXqw t75xXjGgrLWt.K7YzPlA55T2N9oUeJJokVhkGoJkqFMeWM.K9MNxzc4T0WrT43oPrPHCSJeMohuf JheAWd33W_2pyOp3z5gPQzdsd.SCQuwM_7sUYLbYIEfHRlTds1boKyL7vagAqLucQaJgJZn1n787 w4vmWlPlhUq0hBvgoSFexJ5vCM8XOgj_nIFE6maXPNADROgG7UPoSMhJywV7XlfiAoCqneCiGoXn s.ZA33tQ.9vZ7fr9GtZLl_uW9MLZBcbXkM5qQxMVbMt8MXTWnNmP1LMmJ2dEMqcVsp0NdBhd9tJj EOvJb4krF2H8lrTXgTOkCdgOj0cAhnLvXgZlO9rFq3Qsi9VBSWFGrjQk96GBoedvU8I9k3qC9Frb 4c_tdFUyVH5t_yZE5GK_llShd_oZmGfziYYgLr.jFpX2dJz7glOcJDB2L4KLy0ehD8OYaxOg49P2 oAJyf8ZX2YZ9thjwEuG2nPCdi60T9uHps2BBza65sWYJrOBUwtm0XqnrtB0GT7HauzQWjUz4DFpK bb5tuP7hQo3NU1ShbILCOUc5nxSIyKnxq3hdYSbRY7lij9Ox.mZyEu_WK9._W9xT2ctlW2WcJhM0 PecTellE2KBjWArN8ovc2ZbwrbACl22LrMZ4UtgvPucNYpdcGPc5JIc.s.mQ1SLXE.hyjG631T4V poUqWFZsXhsCh.g7FC6bQ1c01aVsKZGm5_dwHkR86w6zV4Iir6uGXWDQQT9ftYkQ15vQXTuMCMOg 2WwnaXCBKlmu81Nb.mvRuL5QhXyhbQ.vDSgjGSw_z0h2hv4bWk39AUUidRoHhQrE2VABApBiStrs M0RjI5ZPQ86e6zmuVCyicIHyfEeFWSVQL.bYFDQsZPuA5iaiFF1rVfZQZFGzjNPTnXtCauqFTrKE skZXGeQF72MhFG6WCCVA7ISQyuv4tCPsdlOeYbad_NJ7M25KO5F0Ev8.arIjILe9Dtmt6gwZDg3P F96mXsY9nIGeMOodcuOxUNaxHCqCcmwLnWN6JCc1uaqsxxo1iVoNtkggsZJwHB8fiVGdaJ.nbkak 2qupcsBNXfl9CAG0.pqlFpNecT.HRY3xZucdIxxAQiaRuY43KL48Ws.rcxqjxbXzlEjspifrCErC gz7NH.bpwOJYL_6GY0mWjh_5e6E5MfkYq3k7xhrcdrSUn4Cu.naxt5whoq2yOquOJp8mdupFhE_x vMbyGrW3Plar3Ew33OamJeeBl2Bz9kaZS9zavTiR9eG1997Eyf_f6lGq3YIs8PoiN7kiyA5drhxz XrYY9ZfYgiWruUxTzxMn6LsUIXLS61.dnaM9VXUsNISaylOEs.uO3mQeSbGw- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Sat, 12 Feb 2022 09:56:53 +0000 Received: by kubenode517.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f237ece28eaa96112d20d3fdbf54475a; Sat, 12 Feb 2022 09:56:49 +0000 (UTC) From: Po Lu References: <8736ju7dju.fsf@gmail.com> <8735ko4hwn.fsf@gnus.org> Date: Sat, 12 Feb 2022 17:56:45 +0800 In-Reply-To: (otadmor@gmail.com's message of "Sat, 12 Feb 2022 10:13:28 +0100") Message-ID: <87leygs90i.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19724 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 2016 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) otadmor writes: > When running xlb function the code gets stuck in a native endless > loop. The patch I have added closes the fd of the xserver, which as a > side effect ends the endless loop. Some would say this patch is > fixing a bug of a dependency of emacs and not emacs itself (it is just > that emacs uses it in a certain way...). This solution uses native > timer (using signals) to detect the timeout. Upon reaching a timeout > it closes an the fd on the same thread as the xlb code (this is > because of how signals works). I am not happy with your change. Firstly, it is not portable and makes very specific assumptions about the internals of Xlib, while we support any Xlib from X11R6 in the past to the foreseeable future, along with some alternative implementations. We do not use any part of Xlib that forms part of the interface for protocol extensions, since Emacs is not an X11 protocol extension. Secondly, Emacs supports connecting multiple X displays at the same time. Your code does not try to support that at all. Thirdly, I cannot understand what is returning EINTR: that error occurs only when the read from the X connection was interrupted by a signal. If the X server goes down (such as when your laptop goes to sleep), the connection eventually times out and closes, which then triggers an IO error that Emacs does handle correctly. If it does not, then that is a bug in xcb and should be reported to their developers. I suggest to add an entry to etc/PROBLEMS describing your specific use case instead. > To do this is lisp we need to answer the following: > 1. How to find the fd of the current xserver using lisp? That is not possible, and I wouldn't agree to such a function. > 4. Is it even allowed to run lisp code while the main thread is in xlb > native code (stack frame is deep inside other library and this other > library was called from lisp). Yes, but not inside a signal handler (unless it is an IO signal, see block_input and friends.) From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: New feature-x-check-server Resent-From: otadmor Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2022 10:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: Po Lu Cc: 36362@debbugs.gnu.org, Lars Ingebrigtsen , Noam Postavsky Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.16446632881916 (code B ref 36362); Sat, 12 Feb 2022 10:55:01 +0000 Received: (at 36362) by debbugs.gnu.org; 12 Feb 2022 10:54:48 +0000 Received: from localhost ([127.0.0.1]:33585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIq3D-0000Uq-HC for submit@debbugs.gnu.org; Sat, 12 Feb 2022 05:54:47 -0500 Received: from mail-wm1-f43.google.com ([209.85.128.43]:33521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIq3B-0000Ud-U8 for 36362@debbugs.gnu.org; Sat, 12 Feb 2022 05:54:46 -0500 Received: by mail-wm1-f43.google.com with SMTP id y6-20020a7bc186000000b0037bdc5a531eso3835850wmi.0 for <36362@debbugs.gnu.org>; Sat, 12 Feb 2022 02:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cRwFqGqvYjABKOoUr2rXO17rJcHru5X5DwR/ZD7O9+A=; b=fpiVH27iMiex3OWTIO/f+SrIn4UaSTERnbHDtnmDgBGy3U4xqbDL8qRF+PAzMzEhGj IaSerETlaq3RYYNZMdlCyXYMkarfTYyU0f/GEeqXuv05BpRcQu/lhC18ISHfX0+m782m MesJELXnmKjKuoQciC5YIJjwaCteLwPATSr0/H3uxelgqHkoBUFCbVuM5Ps/CkrGuw4l DX7nmWOQUb+n4ldQegyoZn1Go2Ws1pQM+YA1vwHFf5pLbwMkdCND/HBfI+mqNnuUCEOh QjZ+Vxlxkdxc6oBD6NQX3ib5VF/5p/tDBsFhVgZTKKukPx9kR36etZiSCWtfeqlqE7zb pv9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cRwFqGqvYjABKOoUr2rXO17rJcHru5X5DwR/ZD7O9+A=; b=00HMGX/1VvkDn9zWe4JSWUQTnkbwUEkUYRzvf5dotsKXUtYY6K661cmviy53YmA3rF uSLgjrtHn+lRFHmcAAY7yIZMkx4DZmLT2nbNa3SQaa6Qh3ik8Yj7XNZFdYRyAIHMk2uM os15XApYG4slAVw9JwvvExdjFPTGNLJv6t+iDhVIyRn6UYk60Hl8DSqzewUzipx/hdUe 2PztWdVOhfGiAUCXvdw140xyPl437kxRiNz62FHzeGd+LyIDUgd9mxlVlXBObkdY6Kj9 AGpkbBMG0F04A4ayOaUJ7I/y1x960S2nRdx3cnakKoELpS2pt9o2dw9hqTbt8CDwP3iB Gs6w== X-Gm-Message-State: AOAM533zwSg+kaXntbbBmac5SkBJ2DFhf3k17EPfOdwnksAe/+alPiee WbW9nzb1/A29G24teirqMM4EZdV7CEw988r8hqY= X-Google-Smtp-Source: ABdhPJyb5GhShQc3PyhFZt4gSZdgQb3SyUgsgmokB846wARjVJTWzkAoce4dXMxF+ew4SbLSwdt4BjrV/Mp3HBpGAy0= X-Received: by 2002:a05:600c:1914:: with SMTP id j20mr3740381wmq.41.1644663279714; Sat, 12 Feb 2022 02:54:39 -0800 (PST) MIME-Version: 1.0 References: <8736ju7dju.fsf@gmail.com> <8735ko4hwn.fsf@gnus.org> <87leygs90i.fsf@yahoo.com> In-Reply-To: <87leygs90i.fsf@yahoo.com> From: otadmor Date: Sat, 12 Feb 2022 11:54:29 +0100 Message-ID: Content-Type: multipart/alternative; boundary="00000000000090036805d7d00293" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000090036805d7d00293 Content-Type: text/plain; charset="UTF-8" As for your firat comment - this patch adds a lisp function to check if the xserver is responsive. It does not run automatically for everyone, so only those who are interested should call this function from their lisp configuration. Personally I added run-at-time to call the exported function from the patch. The patch was design to not change existing behaviour of emacs. If you see somewhere this is not the case I could fix that. I can add ifdef to make this code compile only with this specific xlib. Would that be ok in your opinion? Secondly, the exported function gets the frame you wish to check. Thirdly, this what I saw when I debugged it. On Sat, Feb 12, 2022, 10:56 Po Lu wrote: > otadmor writes: > > > When running xlb function the code gets stuck in a native endless > > loop. The patch I have added closes the fd of the xserver, which as a > > side effect ends the endless loop. Some would say this patch is > > fixing a bug of a dependency of emacs and not emacs itself (it is just > > that emacs uses it in a certain way...). This solution uses native > > timer (using signals) to detect the timeout. Upon reaching a timeout > > it closes an the fd on the same thread as the xlb code (this is > > because of how signals works). > > I am not happy with your change. Firstly, it is not portable and makes > very specific assumptions about the internals of Xlib, while we support > any Xlib from X11R6 in the past to the foreseeable future, along with > some alternative implementations. We do not use any part of Xlib that > forms part of the interface for protocol extensions, since Emacs is not > an X11 protocol extension. > > Secondly, Emacs supports connecting multiple X displays at the same > time. Your code does not try to support that at all. > > Thirdly, I cannot understand what is returning EINTR: that error occurs > only when the read from the X connection was interrupted by a signal. > > If the X server goes down (such as when your laptop goes to sleep), the > connection eventually times out and closes, which then triggers an IO > error that Emacs does handle correctly. If it does not, then that is a > bug in xcb and should be reported to their developers. > > I suggest to add an entry to etc/PROBLEMS describing your specific > use case instead. > > > To do this is lisp we need to answer the following: > > 1. How to find the fd of the current xserver using lisp? > > That is not possible, and I wouldn't agree to such a function. > > > 4. Is it even allowed to run lisp code while the main thread is in xlb > > native code (stack frame is deep inside other library and this other > > library was called from lisp). > > Yes, but not inside a signal handler (unless it is an IO signal, see > block_input and friends.) > --00000000000090036805d7d00293 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
As for your firat comment - this patch adds a lisp f= unction to check if the xserver is responsive. It does not run automaticall= y for everyone, so only those who are interested should call this function = from their lisp configuration. Personally I added run-at-time to call the e= xported function from the patch.
The patch was desig= n to not change existing behaviour of emacs. If you see somewhere this is n= ot the case I could fix that.=C2=A0
I can add ifdef = to make this code compile only with this specific xlib. Would that be ok in= your opinion?
Secondly, the exported function gets = the frame you wish to check.=C2=A0
Thirdly, this wha= t I saw when I debugged it.


On Sat, Feb 12, 2022, 10:56 Po Lu <luangruo@yahoo.com>= wrote:
otadmor <otadm= or@gmail.com> writes:

> When running xlb function the code gets stuck in a native endless
> loop. The patch I have added closes the fd of the xserver, which as a<= br> > side effect ends the endless loop.=C2=A0 Some would say this patch is<= br> > fixing a bug of a dependency of emacs and not emacs itself (it is just=
> that emacs uses it in a certain way...).=C2=A0 This solution uses nati= ve
> timer (using signals) to detect the timeout. Upon reaching a timeout > it closes an the fd on the same thread as the xlb code (this is
> because of how signals works).

I am not happy with your change.=C2=A0 Firstly, it is not portable and make= s
very specific assumptions about the internals of Xlib, while we support
any Xlib from X11R6 in the past to the foreseeable future, along with
some alternative implementations.=C2=A0 We do not use any part of Xlib that=
forms part of the interface for protocol extensions, since Emacs is not
an X11 protocol extension.

Secondly, Emacs supports connecting multiple X displays at the same
time.=C2=A0 Your code does not try to support that at all.

Thirdly, I cannot understand what is returning EINTR: that error occurs
only when the read from the X connection was interrupted by a signal.

If the X server goes down (such as when your laptop goes to sleep), the
connection eventually times out and closes, which then triggers an IO
error that Emacs does handle correctly.=C2=A0 If it does not, then that is = a
bug in xcb and should be reported to their developers.

I suggest to add an entry to etc/PROBLEMS describing your specific
use case instead.

> To do this is lisp we need to answer the following:
> 1. How to find the fd of the current xserver using lisp?

That is not possible, and I wouldn't agree to such a function.

> 4. Is it even allowed to run lisp code while the main thread is in xlb=
> native code (stack frame is deep inside other library and this other > library was called from lisp).

Yes, but not inside a signal handler (unless it is an IO signal, see
block_input and friends.)
--00000000000090036805d7d00293-- From unknown Fri Jun 20 20:07:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36362: New feature-x-check-server Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2022 11:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36362 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: otadmor Cc: 36362@debbugs.gnu.org, Lars Ingebrigtsen , Noam Postavsky Received: via spool by 36362-submit@debbugs.gnu.org id=B36362.16446646734055 (code B ref 36362); Sat, 12 Feb 2022 11:18:01 +0000 Received: (at 36362) by debbugs.gnu.org; 12 Feb 2022 11:17:53 +0000 Received: from localhost ([127.0.0.1]:33595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIqPZ-00013L-3p for submit@debbugs.gnu.org; Sat, 12 Feb 2022 06:17:53 -0500 Received: from sonic315-20.consmr.mail.ne1.yahoo.com ([66.163.190.146]:41003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIqPW-000136-Sr for 36362@debbugs.gnu.org; Sat, 12 Feb 2022 06:17:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644664663; bh=xY9zbEgdnwmFIk85yL1w7QoQ/iZfgungXe82qWDNU5c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=JV45vk/4xeyvVSLYTvHBXpfTz3OWVrnbMyUybOsYjczfCAjE3hVn9yiPpz9BqkYCSxVTNdU/3DrXi4Mo7Bt1pwHM1xM2iRlYsM7wTibm//FuKnzImbPMkVReD6nvaclfPt8DfbqQF4WftFGbyqbqoQGnsm+X4FfVoCscqwJgPcf+Z09xPPMT7062Bc9zWdG/bK7j7SGHCazG0SeGM3q1607W/6Vcnbkxv/6Qx09ISU1XP1TYv0lI81JiKgiGat9WZ0h/L7ieYjkdJfCykaj1xbZYPStBdajProqXmCMGbhv9PIufLZVkguyJz6x77PcfTS0a8XLKad6CTHwZGfrYEw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644664663; bh=ZIodMO2mqmInvBO8ilZZ7hHU7TE78wKrMjFSu20q18G=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=a6oQDthA2o5bc8BRrsHNkfs2VnZORBvC8p5Zn3mpOOg/BOclc2sdWNJuAOAOHdaU2g5QXP5F5seHdmEQaRwpbew2fr4ikFo3W4DbQSvtXXhPIieLltm25yIzfbRHSyxMTfQOOTJLJ+clWIbyNHbos5rdN4GHVURoiLAZ0wOWA/WpBBJFh9Y7HtBluQlETQ/tPfcrWZa3zhLnROhzZVMst6/cCHb6EWSUljKTgcHsxI1iD3wpSXtPn44FeAtSHEjCLwNEWgZPXAlHs1/Fpi0P0xECoy7LPgLwuaPRx+2G3MqYxD62a4YIRapLbq6jO76X61E5tbqrWS//NbVWUYGkow== X-YMail-OSG: 4vmd82kVM1mWOAdFqAD72MAn0buT0.OUwCaRtLZnYcUEedCfj8Am_1m1EK61RjZ O_3rBm7PFrfQ8UMU.F1_R_ReHR.2BXwgipC5dsG4YoAaOdwMnefPWR0Cdz41iV8gHDgYbNnK3DEv j3koCR95WGs1kHpf4JhBG.KnPuL_H_EgEt41ISA8RVi6rdlHa.54z4lO5k5pw2pGo24ZmF1HBqDB EGPjo3qE4z3LFcKlpewmuXUo3nW0yMGMuGv43uzOPaVfkIi5gHrY87IlLhxfwu.aLOTLmwRXnfEP 7uChkF6Y_MP437YU0F2gsN1W00SQvNcH0hOsOXpT0LekrZF3E0yfCKF91in4Fy.IXESd83CHosuu GZ8HQDJiEwhNSKrKv90zG1Auni1yBNQvxZqoQcmwvMJSPlbsfm9mwmtvP5CDD2XWH_SCmY54oq1_ Ce3TGBb0IsMhe5.8RrSMCs3vJIgpz_UUnkDLH.vY84agt8OBpMm2g2hIZPxz9HIxFgiB7yNbxZMY 69Ik8eFkD4DAhRzAmJj6MNO4zFDVgr8vkuFpdhMsezffTOJGTzOn8y4NAyqBjzAxFubWCD3uiI6D RN.yRxavBmPnVxpYEfkORRE3CgbP.DmMF4vikonRCqVcIo_IgNriHozJc5on_H5Yvjx_useio_AD 1woQlEJsEtytd2PN9_4eXdqIUUFJ27Iqr7JWm_QseqEhyWB1tbJjxwpKZ6ntrE2WXZ4uy40XAAXp i7NZxUhLcc58XT_XHQ0XdZc_8UHciTPIpjXdJzUTjS_PTIzX8oDxx7iDTikIMyRfLkTj2TB5dxGp oG6Or3nC0G3zpIU0u9J3kgz28GVrR_OWkY4WiowVleqcgLrVAfFf.BY4zJdHCUw0hZzlFt7OAIKM kwiO5QoliWgCLBF1Ex0RVfMgROjFttUf3ov2Na2WMK0865QOvJq8v4LXyegDs9YHyL2mX6Yhrgjw NfvOuedfXhDYB4TG5dgRuRXEdUSpAblcoy31TOCVI96gTHXme8f8Ps7gDWSijoQxCdaaN_5DFVyb jmrNnWfmGDtne6nBf_OpwM7fsM9sPjvC_4_Wh6NhC.ax8kqV8ivme31GgB9IHevVi0kVcrNXz1UJ .lQAiPZ7x1iVDehKhWAJTaAiTmcGQmRdt3PZpLctD2JVHY1pXMaZrxrU0oPBj4SmwOuYBEdfmeKn 0KRYhRryb1TMdW6KnahdYwSUgXd_hgx3w4PnvNNKlXoQVEk2xJM0prVkdbk8coKubt9sHMiQ5S6L Vc7zEdrEntBl_CpoE8XXv5Ey2zFXiMmfmqZ7HjtMBpCiEp02e91_PyN_QmzJhzutLHrOZOJa.Te7 ZMdLMn0e7ZcaYGMzhovWIBjju_4Pv8sEDnmcrylTwVqQcIa.fdQtioi9Rje_c3pDtw34QpKNM_7S NrqmYeMFR0_LxGBsNEXmtvZJHNMvgRItoNuECKzleKP5WHAM5QzQWcebnVKxxYlXzlIsrLZtROF1 mJw3KTB9iH4LU8YK7TKQh9FppBH7RbqmunCOQo7kVoDy2OcMoUzlZpNWV4T2JheyIfeNMHfrQ955 Mu.PgSm7T4P9gqvbDN5V9cFSBl0Tzt.k5BdD8Xd_lIMGqJMzHhDFe2Tesm4cKLTr6mpMlmg_feh7 Q3Dy9mUvQ_CMrbm810uFBg8oYI8yFfqvIBzmMEmVHO3gp7Dq_nSdN7s6Syfw9xmBTleMwHyL_uKU H6TSVEj45NYUd_JbP8FpTdPWEdE0Q6sy6hgxmiB18SG9GFn.sc0Wqc2NCVzRqhSonAXDtyN1VuPt hK1YAN80vMRti09ozWo_fqChZvo2sybC8VGY8.7zicS4OQ7qQjqBMC95ALn07.VL._zJV.Ls4gc1 NuUcn5W.gAjeeKr3AjJDNV.kGcDQBnxAAm9gjNaF2yx60G.omILaqGClGBMGY5V9EW2qCxCaWVir k68XhblH_JYbaT5qwZ7VmC2cLeeQkwctDWTvv5YocATxnznrDVc.WnL1sYlDNM0EmtDiNoJClcQe d1PIxhCx1nw4MuzrkJE3O7IQuzBc7ojJY_Hs1bDRbya3irPRhjb.XgXaByJW5KURV1JenXV6ZwKQ pYZF0PoDwTKQMxq_bx3xkr7eiGsZKosebj2pgAutagZebyB0jcgCqhhtHeetpq0I0ynBRbypmLhA YABd7s8tmgzyd_34NldarRsOzQaNYG0v8aNt_kSstp8iHCbrYQyOi3jeBuk.wJAmuAmqu_wfkB7w HpjJHljJzeSaJ_8d9WxOr0yX4OsIbHSoul8W1NG79oqJBdptuPfx8lDWHiA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Sat, 12 Feb 2022 11:17:43 +0000 Received: by kubenode509.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7c84db1ec0283e53572ac38c6c719b31; Sat, 12 Feb 2022 11:17:35 +0000 (UTC) From: Po Lu References: <8736ju7dju.fsf@gmail.com> <8735ko4hwn.fsf@gnus.org> <87leygs90i.fsf@yahoo.com> Date: Sat, 12 Feb 2022 19:17:29 +0800 In-Reply-To: (otadmor@gmail.com's message of "Sat, 12 Feb 2022 11:54:29 +0100") Message-ID: <87sfsonxkm.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19724 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1046 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) otadmor writes: > As for your firat comment - this patch adds a lisp function to check > if the xserver is responsive. It does not run automatically for > everyone, so only those who are interested should call this function > from their lisp configuration. Personally I added run-at-time to call > the exported function from the patch. No, it's only to solve a niche problem and will lead to constant maintenance hassle with updates to Xlib. > The patch was design to not change existing behaviour of emacs. If you > see somewhere this is not the case I could fix that. I can add ifdef > to make this code compile only with this specific xlib. Would that be > ok in your opinion? No, see above. > Thirdly, this what I saw when I debugged it. Then the solution is to report the bug to the developers of whatever component is causing the bug, and then to ack so we can describe it in PROBLEMS with whatever workaround they might recommend. Of course, you are free to keep using your change yourself. Thanks in advance.