From unknown Mon Jun 16 23:47:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#21671 <21671@debbugs.gnu.org> To: bug#21671 <21671@debbugs.gnu.org> Subject: Status: [PATCH] fix python.el hanging up during fontification #21657 Reply-To: bug#21671 <21671@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:47:55 +0000 retitle 21671 [PATCH] fix python.el hanging up during fontification #21657 reassign 21671 emacs submitter 21671 immerrr again severity 21671 normal tag 21671 patch fixed confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 12 07:48:58 2015 Received: (at submit) by debbugs.gnu.org; 12 Oct 2015 11:48:58 +0000 Received: from localhost ([127.0.0.1]:36910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlbb7-0007Ft-Uv for submit@debbugs.gnu.org; Mon, 12 Oct 2015 07:48:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36927) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlbb5-0007Fk-CJ for submit@debbugs.gnu.org; Mon, 12 Oct 2015 07:48:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zlbb3-0005qQ-Q4 for submit@debbugs.gnu.org; Mon, 12 Oct 2015 07:48:54 -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.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlbb3-0005qL-Ns for submit@debbugs.gnu.org; Mon, 12 Oct 2015 07:48:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlbb2-0001z7-HH for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2015 07:48:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zlbb1-0005pt-81 for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2015 07:48:52 -0400 Received: from mail-yk0-x233.google.com ([2607:f8b0:4002:c07::233]:33166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlbb1-0005pp-2i for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2015 07:48:51 -0400 Received: by ykoo7 with SMTP id o7so17856947yko.0 for ; Mon, 12 Oct 2015 04:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=zUVFTSc0VgKtlkfCzIGuXFxs98nEtTJJNuMk9fnRkHY=; b=JTouzni+uTz2kqT0c6CldofYzdPhF0gW08jILAs+AtQoUqhvdRndDfW/x62Vqq/7lU YZR+7WULC8s0w4W/O9FP/FmafGf23lFlfOVMmUCRVYU9LGr2Rr0LcAnJh0xeYI0lUTDg cYAxD0qGVAm34QXKhIq4TOlTvBEy6e+94zQGQHJwiMYnhUjvGobTl/TEsxqBJC3WX6Ja CEKJIec9W1PB1LjSUnPS/tWWw+o8WdPRA2Cip6xx5N6C1rKXZAViHE5oS3S7Y/9hQLdY 9Mhg27106BmS3IZTPZpNkaomB/k42M9CIcO67hv1jocGw8WS83Bwuar5sLnC+a9J9rIa KmkA== MIME-Version: 1.0 X-Received: by 10.129.124.8 with SMTP id x8mr19854402ywc.44.1444650530405; Mon, 12 Oct 2015 04:48:50 -0700 (PDT) Received: by 10.13.212.197 with HTTP; Mon, 12 Oct 2015 04:48:50 -0700 (PDT) Date: Mon, 12 Oct 2015 14:48:50 +0300 Message-ID: Subject: [PATCH] fix python.el hanging up during fontification #21657 From: immerrr again To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary=001a11493a2cb0bd810521e6e9a7 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) --001a11493a2cb0bd810521e6e9a7 Content-Type: text/plain; charset=UTF-8 Two patches are included. One fixes the fact that for some reason syntax-propertize--done has ceased to be buffer-local after commit [1] and for some reason commit [2] did not help. I did it the way other buffer-local variables are initialized and it worked. The change fixes #21657 that was failing because syntax-propertize--done was inherited from scratch buffer and docstring boundaries were not propertized as a result. The other infinite loop I found accidentally when adding a whitespace before module docstring. I have fixed one corner-case of it, but in other circumstances I'd argue that whatever smart extensions python-mode adds to forward-sexp, those extensions should never move point less than the normal forward-sexp should. Cheers, immerrr 1. https://github.com/emacs-mirror/emacs/commit/3928ef2dd5b8febf3b1d9c1bfb22af3698d16bea 2. https://github.com/emacs-mirror/emacs/commit/0360b7f2c4f0358106e229de4dfe91a67445a50c --001a11493a2cb0bd810521e6e9a7 Content-Type: text/x-patch; charset=US-ASCII; name="0002-Prevent-infinite-loop-in-python-info-docstring-p.patch" Content-Disposition: attachment; filename="0002-Prevent-infinite-loop-in-python-info-docstring-p.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ifnv6bjs0 RnJvbSAxNDkwNjZkYmZjN2YxMWM0MGY2ZGJlZDcwYTMyNzkxNTNiZjNhYjdhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBpbW1lcnJyIDxpbW1lcnJyQGdtYWlsLmNvbT4KRGF0ZTogTW9u LCAxMiBPY3QgMjAxNSAxNDoxNzoxNiArMDMwMApTdWJqZWN0OiBbUEFUQ0ggMi8yXSBQcmV2ZW50 IGluZmluaXRlIGxvb3AgaW4gcHl0aG9uLWluZm8tZG9jc3RyaW5nLXAKCnB5dGhvbi1pbmZvLWRv Y3N0cmluZy1wIGRpZCBub3QgZXhwZWN0IHRoYXQKcHl0aG9uLW5hdi1iZWdpbm5pbmctb2Ytc3Rh dGVtZW50IGNvdWxkIGxlYXZlIHBvaW50IGludGFjdCBub3QgYXQgdGhlCmJlZ2lubmluZyBvZiBi dWZmZXIgd2hpY2ggaGFwcGVuZWQgaWYgdGhlIGZpcnN0IHN0YXRlbWVudCBpbiB0aGUgZmlsZQp3 YXMgaW5kZW50ZWQgKGl0IGlzIGEgUHl0aG9uIHN5bnRheCBlcnJvcikuCgoqIHB5dGhvbi5lbCAo cHl0aG9uLW5hdi0tZm9yd2FyZC1zZXhwKTogaWYgYmFja3dhcmQtc2V4cCBicm91Z2h0IHBvaW50 CnRvIHRoZSBiZWdpbm5pbmcgb2YgdGhlIGJ1ZmZlciwgbGVhdmUgaXQgdGhlcmUKLS0tCiBsaXNw L3Byb2dtb2Rlcy9weXRob24uZWwgfCA2ICsrKysrLQogMSBmaWxlIGNoYW5nZWQsIDUgaW5zZXJ0 aW9ucygrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2xpc3AvcHJvZ21vZGVzL3B5dGhv bi5lbCBiL2xpc3AvcHJvZ21vZGVzL3B5dGhvbi5lbAppbmRleCA2ZmYxMmI1Li43Y2NkMjA0IDEw MDY0NAotLS0gYS9saXNwL3Byb2dtb2Rlcy9weXRob24uZWwKKysrIGIvbGlzcC9wcm9nbW9kZXMv cHl0aG9uLmVsCkBAIC0xNzEyLDcgKzE3MTIsMTEgQEAgZXhwcmVzc2lvbnMgd2hlbiBsb29raW5n IGF0IHRoZW0gaW4gZWl0aGVyIGRpcmVjdGlvbi4iCiAgICAgICAgICAgICAgICAgICAgKHB5dGhv bi1uYXYtYmVnaW5uaW5nLW9mLWJsb2NrKSkKICAgICAgICAgICAgICAgICAgICgobWVtcSBjb250 ZXh0ICcoc3RhdGVtZW50LXN0YXJ0IGJsb2NrLXN0YXJ0KSkKICAgICAgICAgICAgICAgICAgICAo Z290by1jaGFyIG5leHQtc2V4cC1wb3MpCi0gICAgICAgICAgICAgICAgICAgKHB5dGhvbi1uYXYt YmVnaW5uaW5nLW9mLXN0YXRlbWVudCkpCisgICAgICAgICAgICAgICAgICAgKHVubGVzcyAoYm9i cCkKKyAgICAgICAgICAgICAgICAgICAgIDs7IElmIGJhY2t3YXJkLXNleHAgYnJvdWdodCB0aGUg cG9pbnQgdG8KKyAgICAgICAgICAgICAgICAgICAgIDs7IGJlZ2lubmluZy1vZi1idWZmZXIsIGJl Z2lubmluZy1vZi1zdGF0ZW1lbnQKKyAgICAgICAgICAgICAgICAgICAgIDs7IHdpbGwgb25seSBi cmluZyBpdCBiYWNrLgorICAgICAgICAgICAgICAgICAgICAgKHB5dGhvbi1uYXYtYmVnaW5uaW5n LW9mLXN0YXRlbWVudCkpKQogICAgICAgICAgICAgICAgICAgKHQgKGdvdG8tY2hhciBuZXh0LXNl eHAtcG9zKSkpKSkpKSkpKQogCiAoZGVmdW4gcHl0aG9uLW5hdi1mb3J3YXJkLXNleHAgKCZvcHRp b25hbCBhcmcgc2FmZSBza2lwLXBhcmVucy1wKQotLSAKMi42LjEKCg== --001a11493a2cb0bd810521e6e9a7 Content-Type: text/x-patch; charset=US-ASCII; name="0001-Fix-syntax-propertize-done-to-be-buffer-local.patch" Content-Disposition: attachment; filename="0001-Fix-syntax-propertize-done-to-be-buffer-local.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ifnv6bkl1 RnJvbSBhMDg3OGFiZDY5MWU5Y2MzNmVlNzI5OGIyNDk1OTNhNzljZGQ2MDI5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBpbW1lcnJyIDxpbW1lcnJyQGdtYWlsLmNvbT4KRGF0ZTogTW9u LCAxMiBPY3QgMjAxNSAxNDoxNjo0OCArMDMwMApTdWJqZWN0OiBbUEFUQ0ggMS8yXSBGaXggc3lu dGF4LXByb3BlcnRpemUtLWRvbmUgdG8gYmUgYnVmZmVyLWxvY2FsCgoqIHNyYy9zeW50YXguYyAo c3ltc19vZl9zeW50YXgpOiBmaXggc3ludGF4LXByb3BlcnRpemUtLWRvbmUgdG8gYmUKYnVmZmVy LWxvY2FsCi0tLQogc3JjL3N5bnRheC5jIHwgMyArKy0KIDEgZmlsZSBjaGFuZ2VkLCAyIGluc2Vy dGlvbnMoKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9zcmMvc3ludGF4LmMgYi9zcmMv c3ludGF4LmMKaW5kZXggNmJmYjNiNy4uNGY3ZGNkNyAxMDA2NDQKLS0tIGEvc3JjL3N5bnRheC5j CisrKyBiL3NyYy9zeW50YXguYwpAQCAtMzY2OCwxMSArMzY2OCwxMiBAQCBPdGhlcndpc2UsIHRo YXQgdGV4dCBwcm9wZXJ0eSBpcyBzaW1wbHkgaWdub3JlZC4KIFNlZSB0aGUgaW5mbyBub2RlIGAo ZWxpc3ApU3ludGF4IFByb3BlcnRpZXMnIGZvciBhIGRlc2NyaXB0aW9uIG9mIHRoZQogYHN5bnRh eC10YWJsZScgcHJvcGVydHkuICAqLyk7CiAKKyAgREVGU1lNIChRc3ludGF4X3Byb3BlcnRpemVf X2RvbmUsICJzeW50YXgtcHJvcGVydGl6ZS0tZG9uZSIpOwogICBERUZWQVJfSU5UICgic3ludGF4 LXByb3BlcnRpemUtLWRvbmUiLCBzeW50YXhfcHJvcGVydGl6ZV9fZG9uZSwKIAkgICAgICBkb2M6 IC8qIFBvc2l0aW9uIHVwIHRvIHdoaWNoIHN5bnRheC10YWJsZSBwcm9wZXJ0aWVzIGhhdmUgYmVl biBzZXQuICAqLyk7CiAgIHN5bnRheF9wcm9wZXJ0aXplX19kb25lID0gLTE7CiAgIERFRlNZTSAo UWludGVybmFsX19zeW50YXhfcHJvcGVydGl6ZSwgImludGVybmFsLS1zeW50YXgtcHJvcGVydGl6 ZSIpOwotICBGbWFrZV92YXJpYWJsZV9idWZmZXJfbG9jYWwgKGludGVybiAoInN5bnRheC1wcm9w ZXJ0aXplLS1kb25lIikpOworICBGbWFrZV92YXJpYWJsZV9idWZmZXJfbG9jYWwgKFFzeW50YXhf cHJvcGVydGl6ZV9fZG9uZSk7CiAKICAgd29yZHNfaW5jbHVkZV9lc2NhcGVzID0gMDsKICAgREVG VkFSX0JPT0wgKCJ3b3Jkcy1pbmNsdWRlLWVzY2FwZXMiLCB3b3Jkc19pbmNsdWRlX2VzY2FwZXMs Ci0tIAoyLjYuMQoK --001a11493a2cb0bd810521e6e9a7-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 12 16:38:10 2015 Received: (at control) by debbugs.gnu.org; 12 Oct 2015 20:38:11 +0000 Received: from localhost ([127.0.0.1]:37547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZljrG-0004he-K3 for submit@debbugs.gnu.org; Mon, 12 Oct 2015 16:38:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55140) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZljrE-0004hW-54 for control@debbugs.gnu.org; Mon, 12 Oct 2015 16:38:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZljrD-0004uj-2t for control@debbugs.gnu.org; Mon, 12 Oct 2015 16:38:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZljrC-0004uf-Vw for control@debbugs.gnu.org; Mon, 12 Oct 2015 16:38:07 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZljrC-0005MH-Q3 for control@debbugs.gnu.org; Mon, 12 Oct 2015 16:38:06 -0400 Subject: control message for bug 21671 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 12 Oct 2015 16:38:06 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) merge 21657 21671 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 03:37:43 2015 Received: (at 21671) by debbugs.gnu.org; 13 Oct 2015 07:37:43 +0000 Received: from localhost ([127.0.0.1]:37721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlu9W-0000N8-HI for submit@debbugs.gnu.org; Tue, 13 Oct 2015 03:37:42 -0400 Received: from mail-yk0-f178.google.com ([209.85.160.178]:33787) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlu9T-0000Mr-KT for 21671@debbugs.gnu.org; Tue, 13 Oct 2015 03:37:40 -0400 Received: by ykoo7 with SMTP id o7so8712853yko.0 for <21671@debbugs.gnu.org>; Tue, 13 Oct 2015 00:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FmAGld64ZR6Kx4NUq5Hjpm+wTJ1wwvtoXjncgxktPyQ=; b=JdzCW8OIEcSOYmja4TT7cWtqFMJXiwNjIZJ2Z3yPNilG2KGsJ4o2P9SoMAOdOTQPfy IuB+BO/o3LUe0tZqBMaTGewV/lK2ydOkxsWI4wUkT9VKpEHBDBoYdunIHXmtRWaGZf6j G6h8Ke7DJHHwahlTVdP+CTWSRftNaC0UQq3K7CK/Y0EyEZJz1hv0mP+7yJWPw1uIl4Si Q4waP4zn6/27lZMw9Ji3YdkWLXtxzZsXFEW+PfNplajI4ITeN0a7a/8Qdfk8bk4aKzx0 fNVoXsXNxmKVsuOf6yRH1Nl/LgmakMwKgRsSOq2PTbUjjeuAf3niclzWshsEyj/UpTKB mAyQ== MIME-Version: 1.0 X-Received: by 10.129.40.79 with SMTP id o76mr24901985ywo.251.1444721859038; Tue, 13 Oct 2015 00:37:39 -0700 (PDT) Received: by 10.13.212.197 with HTTP; Tue, 13 Oct 2015 00:37:38 -0700 (PDT) In-Reply-To: References: Date: Tue, 13 Oct 2015 10:37:38 +0300 Message-ID: Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 From: immerrr again To: 21671@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21671 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.7 (/) FTR, 0001-Fix-syntax-propertize-done.. patch seems unnecessary as commit [1] does its job. 1. https://github.com/emacs-mirror/emacs/commit/0360b7f2c4f0358106e229de4dfe91a67445a50c On Mon, Oct 12, 2015 at 2:48 PM, immerrr again wrote: > Two patches are included. > > One fixes the fact that for some reason syntax-propertize--done has > ceased to be buffer-local after commit [1] and for some reason commit > [2] did not help. I did it the way other buffer-local variables are > initialized and it worked. The change fixes #21657 that was failing > because syntax-propertize--done was inherited from scratch buffer and > docstring boundaries were not propertized as a result. > > The other infinite loop I found accidentally when adding a whitespace > before module docstring. I have fixed one corner-case of it, but in > other circumstances I'd argue that whatever smart extensions > python-mode adds to forward-sexp, those extensions should never move > point less than the normal forward-sexp should. > > Cheers, > immerrr > > 1. https://github.com/emacs-mirror/emacs/commit/3928ef2dd5b8febf3b1d9c1bfb22af3698d16bea > > 2. https://github.com/emacs-mirror/emacs/commit/0360b7f2c4f0358106e229de4dfe91a67445a50c From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 04:44:01 2015 Received: (at submit) by debbugs.gnu.org; 13 Oct 2015 08:44:01 +0000 Received: from localhost ([127.0.0.1]:37765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZlvBh-0003xT-3s for submit@debbugs.gnu.org; Tue, 13 Oct 2015 04:44:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39717) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZlvBe-0003xG-U4 for submit@debbugs.gnu.org; Tue, 13 Oct 2015 04:43:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlvBd-00089B-L5 for submit@debbugs.gnu.org; Tue, 13 Oct 2015 04:43:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlvBd-000897-IR for submit@debbugs.gnu.org; Tue, 13 Oct 2015 04:43:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlvBc-0007c3-Op for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 04:43:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlvBZ-00088g-JO for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 04:43:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:60158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlvBZ-00087k-DN for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 04:43:53 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZlvBW-00054H-NG for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 10:43:50 +0200 Received: from ip-176-199-175-106.hsi06.unitymediagroup.de ([176.199.175.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Oct 2015 10:43:50 +0200 Received: from bronger by ip-176-199-175-106.hsi06.unitymediagroup.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Oct 2015 10:43:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Torsten Bronger Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 Date: Tue, 13 Oct 2015 10:43:20 +0200 Organization: Phoenix Foundation Lines: 15 Message-ID: <87y4f7upjr.fsf@physik.rwth-aachen.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-176-199-175-106.hsi06.unitymediagroup.de X-PGP-Fingerprint: C5C8 D6E2 79D2 EFE9 8C0F 6D77 D5E3 CEFC 9F51 6B77 X-PGP-Affinity: will accept encrypted message for GPG X-Home-Page: http://www.wikipedia.org/wiki/User:Bronger X-Face: +wpw"|jN2Fde|7_lKBa0\7!_6suIE_m! x)'S9ytBu8tkt'k779jbzQ4o|p+@H_DCrIdnKG]E*w X-Binford: 6100 (more power) X-Accept-Language: de, en Jabber-ID: torsten.bronger@jabber.rwth-aachen.de Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:lmm2z4rK6hYnR8NV/ZZGErdMzEk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.1 (----) Hallöchen! immerrr again writes: > FTR, 0001-Fix-syntax-propertize-done.. patch seems unnecessary as commit [1] > does its job. Does this mean that the infinite loop thingy is gone for Python docstrings? Tschö, Torsten. -- Torsten Bronger Jabber ID: torsten.bronger@jabber.rwth-aachen.de From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 04:56:51 2015 Received: (at submit) by debbugs.gnu.org; 13 Oct 2015 08:56:51 +0000 Received: from localhost ([127.0.0.1]:37776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZlvO6-0004du-VM for submit@debbugs.gnu.org; Tue, 13 Oct 2015 04:56:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43203) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZlvO4-0004di-OV for submit@debbugs.gnu.org; Tue, 13 Oct 2015 04:56:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlvO3-0003Gf-SE for submit@debbugs.gnu.org; Tue, 13 Oct 2015 04:56:48 -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.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlvO3-0003GW-P9 for submit@debbugs.gnu.org; Tue, 13 Oct 2015 04:56:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlvO2-0005VQ-VA for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 04:56:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlvO2-0003EX-52 for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 04:56:46 -0400 Received: from mail-yk0-x22c.google.com ([2607:f8b0:4002:c07::22c]:35013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlvO2-0003EN-1P for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2015 04:56:46 -0400 Received: by ykec126 with SMTP id c126so10092803yke.2 for ; Tue, 13 Oct 2015 01:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=+zIrc4gNuvpLC1+7XkYccH8MpAYT/fHdJwoE50NnpKI=; b=PJgti7htl/ZZ2vx8PCQoeOJWPdiRXfho1zc9ZO3vtj76VV1fiJI16V8LMdSG2scHtD Gd2KkVtrw2nVXDlgNfJdI4sZArM6DXXPpOSz80Hc9qe+UhI1hmuUNNXuIAr7PAjPm4Dm B9pYWUxMgqx6Q1b8NkNK/L31MFuOUxwH05iX+ep4ioXuyVFto+2SoypAVhm/X1qrg9hu JXle4vwAzvShdRkGzcFeGS/TaF5846n8io9G8UcEEi1UffeVAtzbhnQhMHSJuTteOkqZ /DNc94eThiDxjNRui4+Iz6Wd7tdn0SquRoJpB98Pyk9NqG5eTJi+T/dCA3Dcbu26FZtc xoEQ== MIME-Version: 1.0 X-Received: by 10.129.79.129 with SMTP id d123mr23296555ywb.159.1444726605529; Tue, 13 Oct 2015 01:56:45 -0700 (PDT) Received: by 10.13.212.197 with HTTP; Tue, 13 Oct 2015 01:56:45 -0700 (PDT) In-Reply-To: <87y4f7upjr.fsf@physik.rwth-aachen.de> References: <87y4f7upjr.fsf@physik.rwth-aachen.de> Date: Tue, 13 Oct 2015 11:56:45 +0300 Message-ID: Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 From: immerrr again To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) Works for me. I'd still change a thing or two in python.el code, but triplequoted strings are propertized, so it does not inf-loop anymore. On Tue, Oct 13, 2015 at 11:43 AM, Torsten Bronger wrote: > Hall=C3=B6chen! > > immerrr again writes: > >> FTR, 0001-Fix-syntax-propertize-done.. patch seems unnecessary as commit= [1] >> does its job. > > Does this mean that the infinite loop thingy is gone for Python > docstrings? > > Tsch=C3=B6, > Torsten. > > -- > Torsten Bronger Jabber ID: torsten.bronger@jabber.rwth-aachen.de > > > > From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 12:05:06 2015 Received: (at 21671) by debbugs.gnu.org; 24 Oct 2015 16:05:07 +0000 Received: from localhost ([127.0.0.1]:37013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zq1Ja-0005Xl-A0 for submit@debbugs.gnu.org; Sat, 24 Oct 2015 12:05:06 -0400 Received: from mail-yk0-f177.google.com ([209.85.160.177]:35748) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zq1JF-0005Wc-73 for 21671@debbugs.gnu.org; Sat, 24 Oct 2015 12:05:03 -0400 Received: by ykaz22 with SMTP id z22so148661736yka.2 for <21671@debbugs.gnu.org>; Sat, 24 Oct 2015 09:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=x4GpYvVHpuhFFyZsUmkwcvDIgSxB2vQMu2m5BE+n8jk=; b=yJCK7DIAxft71S5krIF9CmFoPknQOn/tDOz0CU8sU6r4ZiMG1Dug7ZiCZnL5bFvAqd v6YIIPTz649scJHSx6pe18HI0OLGO/2GcU83B/IMvys2nx2PQ1EZGdK1zMyHZNUVWOnR YxWOijxofjj13IpalLdrFur+vnhotP2QO/utPC7DK+/SKatunv/+8IhCtMXAmzsAIVxO G1KS7QHZkkxcQNaj3IzBGcczE51s7xmKLhanfhNk8UJG+FuZIpXSHxLs4jDzkgDjt8Ji I4XffLjzHudk9v2YKVprEzLCZCFZIcLJ6k+ugoAvsoa2qRlAeEhcVJyRTOQDFU4w5xjo 7uZw== MIME-Version: 1.0 X-Received: by 10.129.50.71 with SMTP id y68mr19559924ywy.3.1445702684691; Sat, 24 Oct 2015 09:04:44 -0700 (PDT) Received: by 10.13.212.197 with HTTP; Sat, 24 Oct 2015 09:04:44 -0700 (PDT) In-Reply-To: References: Date: Sat, 24 Oct 2015 19:04:44 +0300 Message-ID: Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 From: immerrr again To: 21671@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21671 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.7 (/) On Mon, Oct 12, 2015 at 2:48 PM, immerrr again wrote: > Two patches are included. > Is there anything that prevents merging the second patch (0002-Prevent-infinite-...) that fixes the situation described below? > > The other infinite loop I found accidentally when adding a whitespace > before module docstring. I have fixed one corner-case of it, but in > other circumstances I'd argue that whatever smart extensions > python-mode adds to forward-sexp, those extensions should never move > point less than the normal forward-sexp should. Cheers, immerrr From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 06:44:44 2016 Received: (at 21671) by debbugs.gnu.org; 7 Feb 2016 11:44:44 +0000 Received: from localhost ([127.0.0.1]:36507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSNlk-0007Kv-Dq for submit@debbugs.gnu.org; Sun, 07 Feb 2016 06:44:44 -0500 Received: from mail-yw0-f178.google.com ([209.85.161.178]:36020) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSNlj-0007Kj-Cg for 21671@debbugs.gnu.org; Sun, 07 Feb 2016 06:44:43 -0500 Received: by mail-yw0-f178.google.com with SMTP id q190so84499069ywd.3 for <21671@debbugs.gnu.org>; Sun, 07 Feb 2016 03:44:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jKHJmOXpVo40hn5UIgbUsbL9ctQ2lHVPtaeljViyyGE=; b=zx4Cjyf5EWN8H8bTiyyyseMZ02v63Wklpm0qyXSXdt+OkOUn4t5dEb9eHKtjTNJjQP +x1zLW9dk94feFoMSouvog+ZFGEXL5nGL4US1X0MT6/BxAUMHxFsMRMEsewa978Nu/RF 6ahfDery9EeKO75FEihQ08DSf4IXfaA4Dfx/Sm5ouFgdvOucYbUD0drqJo+KNQjpeTPr e+KL1BtnjlfEBqqLwr957TEsaubqdEZ5XzHtZdR1QJD7KVZlYqQVTnYEw/883fE9yQ96 drQZSD2fxiwsGj2lKTjK9zi5r3rZhlDvKGQ9kgpn23F/vJSxTSxr3lNQOWErIddqosNJ k3Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=jKHJmOXpVo40hn5UIgbUsbL9ctQ2lHVPtaeljViyyGE=; b=SrEl1m2am9brjmPYY1/B6+cpx89MhAs9KdnX0SVv5bnoI7oFTiAzI8YnEC6rinljq9 lWfli+eBlwj7SyD5VVPqT0Pz95AReJvYGTOAIW1j+U0V3pkVRUtZf7qlE4RlaCXKPTN4 69PGar729TJevrf20bkeCqhw9Mcljy5jjVLwArUnwH1I8oS8KTK+6TWyU70/VOJItSd1 NUwBh5nW+mX/Oa7hR8aQs+bsSY2l3f8KLs6n8ZNXh2LpajozQpG7x0B/WshL63xDF/P6 bsDCpO1gmMtYbAChXgkVoTgh9pvKe1w8ODHX/xgsa4c1oLeVv0Kr0CfX7N7wqlJt9Uif GwBQ== X-Gm-Message-State: AG10YOSBN9B481U4X69PwfvCm6kNCqoOcBeNnFVEHF2XocgiW6Q5mgpNe/l24yKi9sCnPRXxsjMKs+aY+mB2/A== MIME-Version: 1.0 X-Received: by 10.129.88.136 with SMTP id m130mr11546307ywb.81.1454845477901; Sun, 07 Feb 2016 03:44:37 -0800 (PST) Received: by 10.13.239.195 with HTTP; Sun, 7 Feb 2016 03:44:37 -0800 (PST) In-Reply-To: References: Date: Sun, 7 Feb 2016 13:44:37 +0200 Message-ID: Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 From: immerrr again To: 21671@debbugs.gnu.org, =?UTF-8?Q?Fabi=C3=A1n_Ezequiel_Gallina?= Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 21671 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: -0.0 (/) On Sat, Oct 24, 2015 at 7:04 PM, immerrr again wrote: > On Mon, Oct 12, 2015 at 2:48 PM, immerrr again wrote: >> Two patches are included. >> >> snip >> >> The other infinite loop I found accidentally when adding a whitespace >> before module docstring. I have fixed one corner-case of it, but in >> other circumstances I'd argue that whatever smart extensions >> python-mode adds to forward-sexp, those extensions should never move >> point less than the normal forward-sexp should. Any comments about the five-line patch that fixes the situation described above? Cheers, immerrr From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 04:06:31 2016 Received: (at 21671) by debbugs.gnu.org; 23 Feb 2016 09:06:31 +0000 Received: from localhost ([127.0.0.1]:39000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY8vP-0001te-JI for submit@debbugs.gnu.org; Tue, 23 Feb 2016 04:06:31 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:41602) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY8vN-0001tP-3B; Tue, 23 Feb 2016 04:06:29 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY8uz-0008PO-L7; Tue, 23 Feb 2016 10:06:06 +0100 From: Lars Ingebrigtsen To: immerrr again Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 References: <87y4f7upjr.fsf@physik.rwth-aachen.de> Date: Tue, 23 Feb 2016 20:06:01 +1100 In-Reply-To: (immerrr again's message of "Tue, 13 Oct 2015 11:56:45 +0300") Message-ID: <871t83yex2.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aY8uz-0008PO-L7 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456823166.84241@+m7au7osywiwbTwH9JAlyw X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21671 Cc: 21671@debbugs.gnu.org, 21628@debbugs.gnu.org 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: 0.0 (/) immerrr again writes: > Works for me. I'd still change a thing or two in python.el code, but > triplequoted strings are propertized, so it does not inf-loop anymore. Ok; closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 04:06:46 2016 Received: (at control) by debbugs.gnu.org; 23 Feb 2016 09:06:46 +0000 Received: from localhost ([127.0.0.1]:39003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY8vd-0001uB-RW for submit@debbugs.gnu.org; Tue, 23 Feb 2016 04:06:45 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:41608) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY8vc-0001u2-2r for control@debbugs.gnu.org; Tue, 23 Feb 2016 04:06:44 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY8vB-0008QC-97 for control@debbugs.gnu.org; Tue, 23 Feb 2016 10:06:17 +0100 Date: Tue, 23 Feb 2016 20:06:13 +1100 Message-Id: <87ziurx0ca.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21628 X-MailScanner-ID: 1aY8vB-0008QC-97 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456823178.14717@x4LOAGNv7yhn2h1kUyFbUg X-Spam-Status: No X-Spam-Score: 0.0 (/) 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: 0.0 (/) tags 21628 fixed close 21628 25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 04:18:06 2016 Received: (at 21671) by debbugs.gnu.org; 23 Feb 2016 09:18:07 +0000 Received: from localhost ([127.0.0.1]:39036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY96c-0003rb-7w for submit@debbugs.gnu.org; Tue, 23 Feb 2016 04:18:06 -0500 Received: from mail-yk0-f174.google.com ([209.85.160.174]:33410) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY96W-0003qx-IP for 21671@debbugs.gnu.org; Tue, 23 Feb 2016 04:18:04 -0500 Received: by mail-yk0-f174.google.com with SMTP id z13so73187088ykd.0 for <21671@debbugs.gnu.org>; Tue, 23 Feb 2016 01:18:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AUYIUS87hfTfbZtE/mlG8dsNh8yL3pw9CLYIst70TN4=; b=fCuZOuqysSPV3O+ZCYxf8BaG6vrY2lqgU4inLjiJn/ZCDtZs+pscnBZDmVQEU3KMZz ebRsSCczSs7sP9n0UB+DmkxQK4jWBMWBvoZBdlycIFAccy+seQOfV50rguRmGJGyUNUY HKuoCMHdxE4bM8Ckqhyy2l3tXRUEiADAeOLrH0yyBI5ThroO7iSASkWGA46a8cEOIK4L 6/257Ya3XC1XnYOn23819Eg5avh2gpXtjfjG4ltdhS2V0VtTF+8VJAD8sr3C/7UyVInn 8B/vPYdlFMraXLhZRLC7O0HoqxJmi7pcBPITEmqn+RYKUlVCbV+ZZK1Z0tNdLNUOwM// n24Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=AUYIUS87hfTfbZtE/mlG8dsNh8yL3pw9CLYIst70TN4=; b=VdS7efurdNXfY6w4MsvflW5ayxjVD4N10rf/HUMzwK1PFkoOI4EagQvsEixSjTki9C Y61SjXGwpGEJGTC0ingEcnF+KFviSZzZCATMdaBiuFyeKpdSOPpvGfLlddFGvjgMVfY2 r1sF6ZyN5lX+NgY0kjtm/c1kH+73Y1EI1SAAW+TtBj8HGwZr5TaxZ/NFJVQpAtmomKR1 4ZznvJZC/3lggVg/5/UTBXRBixn9d7e8Ztjo7shEdNS5j7N+Qhw5d0CSgcbl+4uZwxMW 6UXfhiOT0/tzRjjxUmevtDA0lEy9M5h4ObGzmdD9yHdfP6inytQ9umyOhY5Vl7XXLLwa GvkA== X-Gm-Message-State: AG10YOSPItUN8nzDUPyqJcH1AP/5JvdO6/kGGVw6KEzg3049DYgqH7usCaTuL8BB+ZHDCOog1VtVIhu/wNy+6w== MIME-Version: 1.0 X-Received: by 10.37.11.206 with SMTP id 197mr4506805ybl.107.1456219075174; Tue, 23 Feb 2016 01:17:55 -0800 (PST) Received: by 10.13.239.195 with HTTP; Tue, 23 Feb 2016 01:17:55 -0800 (PST) In-Reply-To: <871t83yex2.fsf@gnus.org> References: <87y4f7upjr.fsf@physik.rwth-aachen.de> <871t83yex2.fsf@gnus.org> Date: Tue, 23 Feb 2016 11:17:55 +0200 Message-ID: Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 From: immerrr again To: Lars Ingebrigtsen Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21671 Cc: 21671@debbugs.gnu.org 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: -0.7 (/) On Tue, Feb 23, 2016 at 11:06 AM, Lars Ingebrigtsen wrote: > > Ok; closing this bug report. > There were two patches in the original message, one contained a fix for an issue fixed otherwise, the other can still infloop (as of 25.0.50.1), albeit in a rather unusual situation: when a python-mode buffer starts with a whitespace followed by a quote. What about the second patch? Cheers, immerrr From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 04:50:19 2016 Received: (at 21671) by debbugs.gnu.org; 23 Feb 2016 09:50:19 +0000 Received: from localhost ([127.0.0.1]:39128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY9bn-000818-Md for submit@debbugs.gnu.org; Tue, 23 Feb 2016 04:50:19 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:40583) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY9bm-000811-4Q for 21671@debbugs.gnu.org; Tue, 23 Feb 2016 04:50:18 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY9bE-0001Yj-5A; Tue, 23 Feb 2016 10:49:44 +0100 From: Lars Ingebrigtsen To: immerrr again Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 References: <87y4f7upjr.fsf@physik.rwth-aachen.de> <871t83yex2.fsf@gnus.org> Date: Tue, 23 Feb 2016 20:49:27 +1100 In-Reply-To: (immerrr again's message of "Tue, 23 Feb 2016 11:17:55 +0200") Message-ID: <87a8mrvjrs.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aY9bE-0001Yj-5A X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456825784.87882@xBfAQERCNk0tT4dh894OZw X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21671 Cc: 21671@debbugs.gnu.org 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: 0.0 (/) immerrr again writes: > There were two patches in the original message, one contained a fix > for an issue fixed otherwise, the other can still infloop (as of > 25.0.50.1), albeit in a rather unusual situation: when a python-mode > buffer starts with a whitespace followed by a quote. > > What about the second patch? Could you repost the second patch? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 05:01:08 2016 Received: (at 21671) by debbugs.gnu.org; 23 Feb 2016 10:01:08 +0000 Received: from localhost ([127.0.0.1]:39189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY9mC-0000hY-Mm for submit@debbugs.gnu.org; Tue, 23 Feb 2016 05:01:08 -0500 Received: from mail-yw0-f180.google.com ([209.85.161.180]:35872) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY9m8-0000YX-0n for 21671@debbugs.gnu.org; Tue, 23 Feb 2016 05:01:03 -0500 Received: by mail-yw0-f180.google.com with SMTP id e63so141830900ywc.3 for <21671@debbugs.gnu.org>; Tue, 23 Feb 2016 02:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=B0BuQBw5RFl82AaMHx5rv1hceBgga4+eiUyHE2prsgk=; b=ga1SC3NpmY7kbxndwry/88NQq9LAf/LNR4xnCgJMTMTLtCmaFe5BudfQe4ubJXtmXw 0nCM9RiTy7N3SWYupUyYxmNl/1oFxYW1XBzb3DHGFrQ6lGQPdozJN5K99grCjkPXJQyG jbzzvJActmdzT1fhpGiNWn1z9hk/QMEyPxezXT4b9ZnK10n20HVXWKj4VLfYULCm5Nct G4LyR19TZsAlDIQAzTADER7FTLVbOCPJ01tIqBZ+AYmIm4Z55/cAh8bhSn95WdpgYZvA tvraLx9eBhxubcjt74hv9QYZPZpX/ZUDx165YcToweZpVGlW+gjnEk3damU94F9MoYGg vU4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=B0BuQBw5RFl82AaMHx5rv1hceBgga4+eiUyHE2prsgk=; b=AW5nXLhftAZBdG8yw88Z/Y9OQ2t6lU1l82X28lb+01WCy2tbc6TbSlqL4R/g6zgBuf 4R1oJIVk8TkixT+HsKIFF1Jh0xULvXYOfe7BslDEI5JYrmCQp7A182UbdNQaK8dbZjrS Ww31gaMKbfUwXKuVuILUv3ukAOnw7mxp3Suqt3/HGM2GQntRtR3IqIa8unoeq2hQfpxe 4iJfbEH4Hs+82exQ0uvmbJVQavCsvkog/Ae/aJafD+tBTuB6RdZrkgGE23KgW5HPCY5Q csqJjGM+xkkLTpQPvXd4PuIhjgtcZgFL5b7ZiaS0SnwNUP/lEzFsHoIM7DEWs7wsTCtA 9RDA== X-Gm-Message-State: AG10YORRnepxe8IxOIuqz+YaBYiGM+mFQm/7FAH9iJs++jz2uPiCQUJ0Isv1X84GYRDnmRfABsuzv6WXqlLKMg== MIME-Version: 1.0 X-Received: by 10.13.247.70 with SMTP id h67mr15546039ywf.3.1456221654624; Tue, 23 Feb 2016 02:00:54 -0800 (PST) Received: by 10.13.239.195 with HTTP; Tue, 23 Feb 2016 02:00:54 -0800 (PST) In-Reply-To: <87a8mrvjrs.fsf@gnus.org> References: <87y4f7upjr.fsf@physik.rwth-aachen.de> <871t83yex2.fsf@gnus.org> <87a8mrvjrs.fsf@gnus.org> Date: Tue, 23 Feb 2016 12:00:54 +0200 Message-ID: Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 From: immerrr again To: Lars Ingebrigtsen Content-Type: multipart/mixed; boundary=94eb2c0802f87066e0052c6d06a3 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 21671 Cc: 21671@debbugs.gnu.org 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: -0.0 (/) --94eb2c0802f87066e0052c6d06a3 Content-Type: text/plain; charset=UTF-8 On Tue, Feb 23, 2016 at 11:49 AM, Lars Ingebrigtsen wrote: > immerrr again writes: > > Could you repost the second patch? > Sure, attaching it. Cheers, immerrr --94eb2c0802f87066e0052c6d06a3 Content-Type: text/x-patch; charset=US-ASCII; name="0002-Prevent-infinite-loop-in-python-info-docstring-p.patch" Content-Disposition: attachment; filename="0002-Prevent-infinite-loop-in-python-info-docstring-p.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ikz8rp4w0 RnJvbSAxNDkwNjZkYmZjN2YxMWM0MGY2ZGJlZDcwYTMyNzkxNTNiZjNhYjdhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBpbW1lcnJyIDxpbW1lcnJyQGdtYWlsLmNvbT4KRGF0ZTogTW9u LCAxMiBPY3QgMjAxNSAxNDoxNzoxNiArMDMwMApTdWJqZWN0OiBbUEFUQ0ggMi8yXSBQcmV2ZW50 IGluZmluaXRlIGxvb3AgaW4gcHl0aG9uLWluZm8tZG9jc3RyaW5nLXAKCnB5dGhvbi1pbmZvLWRv Y3N0cmluZy1wIGRpZCBub3QgZXhwZWN0IHRoYXQKcHl0aG9uLW5hdi1iZWdpbm5pbmctb2Ytc3Rh dGVtZW50IGNvdWxkIGxlYXZlIHBvaW50IGludGFjdCBub3QgYXQgdGhlCmJlZ2lubmluZyBvZiBi dWZmZXIgd2hpY2ggaGFwcGVuZWQgaWYgdGhlIGZpcnN0IHN0YXRlbWVudCBpbiB0aGUgZmlsZQp3 YXMgaW5kZW50ZWQgKGl0IGlzIGEgUHl0aG9uIHN5bnRheCBlcnJvcikuCgoqIHB5dGhvbi5lbCAo cHl0aG9uLW5hdi0tZm9yd2FyZC1zZXhwKTogaWYgYmFja3dhcmQtc2V4cCBicm91Z2h0IHBvaW50 CnRvIHRoZSBiZWdpbm5pbmcgb2YgdGhlIGJ1ZmZlciwgbGVhdmUgaXQgdGhlcmUKLS0tCiBsaXNw L3Byb2dtb2Rlcy9weXRob24uZWwgfCA2ICsrKysrLQogMSBmaWxlIGNoYW5nZWQsIDUgaW5zZXJ0 aW9ucygrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2xpc3AvcHJvZ21vZGVzL3B5dGhv bi5lbCBiL2xpc3AvcHJvZ21vZGVzL3B5dGhvbi5lbAppbmRleCA2ZmYxMmI1Li43Y2NkMjA0IDEw MDY0NAotLS0gYS9saXNwL3Byb2dtb2Rlcy9weXRob24uZWwKKysrIGIvbGlzcC9wcm9nbW9kZXMv cHl0aG9uLmVsCkBAIC0xNzEyLDcgKzE3MTIsMTEgQEAgZXhwcmVzc2lvbnMgd2hlbiBsb29raW5n IGF0IHRoZW0gaW4gZWl0aGVyIGRpcmVjdGlvbi4iCiAgICAgICAgICAgICAgICAgICAgKHB5dGhv bi1uYXYtYmVnaW5uaW5nLW9mLWJsb2NrKSkKICAgICAgICAgICAgICAgICAgICgobWVtcSBjb250 ZXh0ICcoc3RhdGVtZW50LXN0YXJ0IGJsb2NrLXN0YXJ0KSkKICAgICAgICAgICAgICAgICAgICAo Z290by1jaGFyIG5leHQtc2V4cC1wb3MpCi0gICAgICAgICAgICAgICAgICAgKHB5dGhvbi1uYXYt YmVnaW5uaW5nLW9mLXN0YXRlbWVudCkpCisgICAgICAgICAgICAgICAgICAgKHVubGVzcyAoYm9i cCkKKyAgICAgICAgICAgICAgICAgICAgIDs7IElmIGJhY2t3YXJkLXNleHAgYnJvdWdodCB0aGUg cG9pbnQgdG8KKyAgICAgICAgICAgICAgICAgICAgIDs7IGJlZ2lubmluZy1vZi1idWZmZXIsIGJl Z2lubmluZy1vZi1zdGF0ZW1lbnQKKyAgICAgICAgICAgICAgICAgICAgIDs7IHdpbGwgb25seSBi cmluZyBpdCBiYWNrLgorICAgICAgICAgICAgICAgICAgICAgKHB5dGhvbi1uYXYtYmVnaW5uaW5n LW9mLXN0YXRlbWVudCkpKQogICAgICAgICAgICAgICAgICAgKHQgKGdvdG8tY2hhciBuZXh0LXNl eHAtcG9zKSkpKSkpKSkpKQogCiAoZGVmdW4gcHl0aG9uLW5hdi1mb3J3YXJkLXNleHAgKCZvcHRp b25hbCBhcmcgc2FmZSBza2lwLXBhcmVucy1wKQotLSAKMi42LjEKCg== --94eb2c0802f87066e0052c6d06a3-- From unknown Mon Jun 16 23:47:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug No longer marked as fixed in versions 25.1 and reopened. Date: Tue, 23 Feb 2016 10:05:01 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug No longer marked as fixed in versions 25.1 and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 05:05:15 2016 Received: (at 21671) by debbugs.gnu.org; 23 Feb 2016 10:05:15 +0000 Received: from localhost ([127.0.0.1]:39198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY9qF-0001dl-2r for submit@debbugs.gnu.org; Tue, 23 Feb 2016 05:05:15 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:59443) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY9qD-0001dd-OW for 21671@debbugs.gnu.org; Tue, 23 Feb 2016 05:05:14 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY9pf-00023l-MK; Tue, 23 Feb 2016 11:04:40 +0100 From: Lars Ingebrigtsen To: immerrr again Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 References: <87y4f7upjr.fsf@physik.rwth-aachen.de> <871t83yex2.fsf@gnus.org> <87a8mrvjrs.fsf@gnus.org> Date: Tue, 23 Feb 2016 21:04:34 +1100 In-Reply-To: (immerrr again's message of "Tue, 23 Feb 2016 12:00:54 +0200") Message-ID: <87oab7u4i5.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aY9pf-00023l-MK X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456826680.69856@eNzYincpKSrMABuhcfDOiw X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21671 Cc: 21671@debbugs.gnu.org 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: 0.0 (/) immerrr again writes: > @@ -1712,7 +1712,11 @@ expressions when looking at them in either direction." > (python-nav-beginning-of-block)) > ((memq context '(statement-start block-start)) > (goto-char next-sexp-pos) > - (python-nav-beginning-of-statement)) > + (unless (bobp) > + ;; If backward-sexp brought the point to > + ;; beginning-of-buffer, beginning-of-statement > + ;; will only bring it back. > + (python-nav-beginning-of-statement))) > (t (goto-char next-sexp-pos)))))))))) I'm not a Python mode user, so I can't really review this patch. I've reopened the bug -- could somebody else have a peek at this? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 28 20:05:22 2017 Received: (at 21671) by debbugs.gnu.org; 1 Mar 2017 01:05:22 +0000 Received: from localhost ([127.0.0.1]:60736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cishi-0007VB-Md for submit@debbugs.gnu.org; Tue, 28 Feb 2017 20:05:22 -0500 Received: from mail-io0-f194.google.com ([209.85.223.194]:36022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cishY-0007Uk-Eu; Tue, 28 Feb 2017 20:05:12 -0500 Received: by mail-io0-f194.google.com with SMTP id w10so3234293iod.3; Tue, 28 Feb 2017 17:05:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VkteYwO3fpMskzsuu0/vXxA6DM33UT4W0qNf+WBL0y4=; b=gIAMKH1/2T1QzY6PDTMfT13RZOVrB639Bjg+lDqecJUk8FzIkRwUpcoImlXN5DNVjX SBq36Xhge7xvzXj+EiHNT+nLUQ900dFTO6oA1XccO9McKxzt5qrt/Waik6Zevj5Dst8D YSjsfoel0gshuD9lbAom+aaUg018EdV8vL6DivECNvrHP7HzWCJJ4+t4uGpGr8r+ONCS pAK4mEu9Svg+JYYrO8uWpXhRc9/Kyl3HHDhdDaoZFPCs9xg/S/erhRki0UYc2lCyaKpQ ATHQgY6uILtHPxkr28Fo6pg2EeLrNvtY2AcB+akrpxVhtekn4X6S5jrNKUNRuadHAE8G T2jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=VkteYwO3fpMskzsuu0/vXxA6DM33UT4W0qNf+WBL0y4=; b=ecRx8ZmcdJviQwIG+xK5lN5jQcHf+uArpJav2NiGeFab6yGMe5evgOy97fRoXRM5Ld lEKjkH+VNgoLcyQV1Tf4wiE1rZVh2VsVoIubYMb70gm7DPWooODPn8YWeWfplrX76Lzx hBF7jFKEHZmMnp4GSKNDEQwJj1G++Jd+X1DA0H0Okl812zUpkdGUpPLcrLNlwmAFO2iY JzuatJMOPZPXtVqByakCqxH576/F3wBbIakHeh6jhvB3vEccl1meIUDd/rozf/zlaM6j 3vrN6spLpKJBBGIDJS7XW3EyYXZBSDZ3Vl+Wdm2ycDSTOeXOIZk/Xa/eect7XZuxPIjL DoiQ== X-Gm-Message-State: AMke39khLGmO1SMOp+OkLAb0HrUlL4AakGMeEgckaH7+70X+c3sFfgscR6nJKnV+eeceag== X-Received: by 10.107.145.214 with SMTP id t205mr6450311iod.64.1488330302967; Tue, 28 Feb 2017 17:05:02 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 62sm7363841itl.1.2017.02.28.17.05.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Feb 2017 17:05:02 -0800 (PST) From: npostavs@users.sourceforge.net To: Lars Ingebrigtsen Subject: Re: bug#21671: [PATCH] fix python.el hanging up during fontification #21657 References: <87y4f7upjr.fsf@physik.rwth-aachen.de> <871t83yex2.fsf@gnus.org> <87a8mrvjrs.fsf@gnus.org> <87oab7u4i5.fsf@gnus.org> Date: Tue, 28 Feb 2017 20:06:15 -0500 In-Reply-To: <87oab7u4i5.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 23 Feb 2016 21:04:34 +1100") Message-ID: <87lgspdcvs.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 21671 Cc: 21671@debbugs.gnu.org, immerrr again 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: 0.7 (/) unarchive 24905 forcemerge 24905 21671 quit Lars Ingebrigtsen writes: > immerrr again writes: > >> @@ -1712,7 +1712,11 @@ expressions when looking at them in either direction." >> (python-nav-beginning-of-block)) >> ((memq context '(statement-start block-start)) >> (goto-char next-sexp-pos) >> - (python-nav-beginning-of-statement)) >> + (unless (bobp) >> + ;; If backward-sexp brought the point to >> + ;; beginning-of-buffer, beginning-of-statement >> + ;; will only bring it back. >> + (python-nav-beginning-of-statement))) >> (t (goto-char next-sexp-pos)))))))))) > > I'm not a Python mode user, so I can't really review this patch. I've > reopened the bug -- could somebody else have a peek at this? AFAICT, the problem is solved in #24905, so there is no need for this patch. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 09 18:13:33 2017 Received: (at control) by debbugs.gnu.org; 9 Mar 2017 23:13:34 +0000 Received: from localhost ([127.0.0.1]:48182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm7FV-0004II-NE for submit@debbugs.gnu.org; Thu, 09 Mar 2017 18:13:33 -0500 Received: from mail-io0-f173.google.com ([209.85.223.173]:34684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm7FT-0004I3-Tf; Thu, 09 Mar 2017 18:13:32 -0500 Received: by mail-io0-f173.google.com with SMTP id g6so38543222ioj.1; Thu, 09 Mar 2017 15:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=byptwOOMYwvsN3ZAat5F6elOZdzNsVK/WngHVbO1NZA=; b=cBmvMr4AlecIrLgM/0cmNimbEzbwZV+vOt7A/hIyev6iTnXt4dCFPiDfmq8xnP/86K 3bDK3DlLVXvWwRcEEj7j9aFBryMpAwBCyDa9n6nOM+FSsrczsi6f1eYQLOtHP4oB+c3R tkdNNspc14ncr9985Sz8Jd5o9Te6n6h3J01RO0mPccTd1UJGSLDHIlYDoHGhNuwFA7MX YHDCxwxiea5eVl0sdY6vMEgkftFD5mTb4/Xzumxw1RKMbSRqYrgH08QMcBRsCmmK+hSF gKznmAmX0h8Mg8Qai4fNdPbi4raQ5wLlR/IBNKz2AWBcxJc4UwBbRTisPsKiOhkjRrfU JDxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=byptwOOMYwvsN3ZAat5F6elOZdzNsVK/WngHVbO1NZA=; b=s2Eg+N+Hr19wt9vOLdPPc1cDNJwh8ZKVR2BxZDY6OyIt7/ShZSoSsT7NS0yxAO5XVF H9j+/U2KeFunZKy6ANLmZm0bu4F011wesGcPQlQoPZsaj7uKtCdEsjB1kmUuz1A5yLMQ 3o/hTMQHRPXLIohQ6MpRDsXJ4vcLGYpLebi0rlJkI3s4BqTglsC5Zm69NmfHqWmraxH4 sM1Tsz431aaOvsnRqSSi3MeIM2PgSRyqxB5wA9Gn/jxiCVTcmhsu1d/iHgpfu6NRppa/ km8pFMVMZdUvCPK/vGn6dCuyiCI+DP2KFRK+tHEy02wCxfh/9O8nQNc3lI1gBLjv3Bji eu+g== X-Gm-Message-State: AMke39moO6IpySuQP4UDfLz4WC+hkiDkVgDjO88rvISDoKKJoajNLzx5eax3CPpF8Uaapg== X-Received: by 10.107.25.73 with SMTP id 70mr13132247ioz.231.1489101206205; Thu, 09 Mar 2017 15:13:26 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id r10sm3586090iod.33.2017.03.09.15.13.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Mar 2017 15:13:25 -0800 (PST) From: npostavs@users.sourceforge.net To: Mark Diekhans Subject: Re: bug#26041: 25.1; python mode locks up emacs References: <22721.49620.623653.568365@eduroam-169-233-192-142.ucsc.edu> Date: Thu, 09 Mar 2017 18:14:43 -0500 In-Reply-To: <22721.49620.623653.568365@eduroam-169-233-192-142.ucsc.edu> (Mark Diekhans's message of "Thu, 9 Mar 2017 12:57:56 -0800") Message-ID: <87vari82l8.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: control Cc: 26041@debbugs.gnu.org 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: 0.8 (/) merge 24905 26041 quit Mark Diekhans writes: > > emacs -Q locksup_python_mode.__init__.py > > In a curses window causes emacs to lock up at near 100% CPU > utilization. ^G does interrupt in some manner, however emacs > mini-buffer doesn't take commands and it continues to consume > CPU. Unable to get lisp stack trace. kill -9 is the only way out Glenn Morris writes: > > Thanks for the report. By experiment, this is already fixed for the next > release, 25.2. Pretty sure this #24905. Fixed in [1]. By the way, kill -SIGUSR2 should also interrupt. [1]: 2016-11-08 15:28:49 -0800 3ef4ee84fa3f658c2df802569dc89023d98e9947 Avoid infloop in python http://git.savannah.gnu.org/cgit/emacs.git/patch/?id=3ef4ee84fa3f658c2df802569dc89023d98e9947 From unknown Mon Jun 16 23:47:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 07 Apr 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator