From unknown Fri Aug 08 18:00:56 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#21657 <21657@debbugs.gnu.org> To: bug#21657 <21657@debbugs.gnu.org> Subject: Status: 25.0.50; Python mode goes into an infinite loop Reply-To: bug#21657 <21657@debbugs.gnu.org> Date: Sat, 09 Aug 2025 01:00:56 +0000 retitle 21657 25.0.50; Python mode goes into an infinite loop reassign 21657 emacs submitter 21657 Dima Kogan severity 21657 normal tag 21657 patch fixed confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 09 18:22:18 2015 Received: (at submit) by debbugs.gnu.org; 9 Oct 2015 22:22:18 +0000 Received: from localhost ([127.0.0.1]:34665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkg3O-000088-3Q for submit@debbugs.gnu.org; Fri, 09 Oct 2015 18:22:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59405) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkg3L-00007y-Fw for submit@debbugs.gnu.org; Fri, 09 Oct 2015 18:22:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zkg3K-0006OW-A8 for submit@debbugs.gnu.org; Fri, 09 Oct 2015 18:22:15 -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_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zkg3K-0006OR-5j for submit@debbugs.gnu.org; Fri, 09 Oct 2015 18:22:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zkg3J-0005DX-1S for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 18:22:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zkg3G-0006KB-4s for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 18:22:13 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:51595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zkg3F-0006J5-V4 for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 18:22:10 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1EC5120A59 for ; Fri, 9 Oct 2015 18:22:08 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Fri, 09 Oct 2015 18:22:08 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=5X9PRqbeP9Loup15DYNCjkDPK6M =; b=eaPEy4XA1paSD2836Zmxz2eUcb+qLhiGKVdtlgXM04x0dd87pdn7bK515jd ZUC4+KXLENPUjGQh9w9akw7+SS8DKrUMB3xDW7wIU3kHrnI6ExbJIar1im8wuhXM Wt5/ee00Q1+zcYhhkYahrIKtlgF6XrsajHPd6JaLO90NmynY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=5X 9PRqbeP9Loup15DYNCjkDPK6M=; b=Ei9iGS/0Z/RHQKbdTbeZaC5KMbb+wK6S2l jAmIUGHGhyJge5kgQfLgeZ7awZjay7vP/OBNkRwLhQ0+jGQupbPgz98JbqXd/Jar YFWxs5eNhRe+1j9z6Kl5GAmFRZgAEJgtjKahcRHLYu70UEsQgfUNcOdO33VYQH4x JqEFszcrc= X-Sasl-enc: MJW3EUN9umO9Ox7OVQwyX0uU4/8e4c3/mQgI/3LPrSeU 1444429327 Received: from shorty.local (50-1-153-216.dsl.dynamic.fusionbroadband.com [50.1.153.216]) by mail.messagingengine.com (Postfix) with ESMTPA id C9D036800A8 for ; Fri, 9 Oct 2015 18:22:07 -0400 (EDT) Received: from ip6-localhost ([::1] helo=shorty) by shorty.local with esmtp (Exim 4.84) (envelope-from ) id 1Zkg3C-0001oU-Nr for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 15:22:06 -0700 From: Dima Kogan To: bug-gnu-emacs@gnu.org Subject: 25.0.50; Python mode goes into an infinite loop Date: Fri, 09 Oct 2015 15:22:06 -0700 Message-ID: <87wpuv7kdt.fsf@secretsauce.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: -5.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: -5.0 (-----) --=-=-= Content-Type: text/plain Hi. I'm running a very recent emacs: https://github.com/emacs-mirror/emacs/commit/7e83f50 Opening a trivial python source file (attached) with a trivial and seemingly-unrelated .emacs.d/init.el (also attached) makes emacs spin its wheels. Hitting C-g doesn't work to get control back. You actually have to kill the process. Thanks! --=-=-= Content-Type: text/x-python Content-Disposition: inline; filename=emacsbreak.py """ blah blah blah """ --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=init.el Content-Transfer-Encoding: quoted-printable (c-add-style "easdfasdf" '("gnu" ())) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 09 18:27:36 2015 Received: (at control) by debbugs.gnu.org; 9 Oct 2015 22:27:36 +0000 Received: from localhost ([127.0.0.1]:34670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkg8V-0000Fn-SB for submit@debbugs.gnu.org; Fri, 09 Oct 2015 18:27:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39313) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkg8T-0000Fe-J2 for control@debbugs.gnu.org; Fri, 09 Oct 2015 18:27:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zkg8S-0001hs-Jf for control@debbugs.gnu.org; Fri, 09 Oct 2015 18:27:33 -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]:48664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zkg8S-0001hn-HS for control@debbugs.gnu.org; Fri, 09 Oct 2015 18:27:32 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1Zkg8S-0002Z7-96 for control@debbugs.gnu.org; Fri, 09 Oct 2015 18:27:32 -0400 Subject: control message for bug 21657 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Fri, 09 Oct 2015 18:27:32 -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 21628 21629 21657 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 09 19:16:36 2015 Received: (at 21657) by debbugs.gnu.org; 9 Oct 2015 23:16:36 +0000 Received: from localhost ([127.0.0.1]:34676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkgtv-0002yP-Gu for submit@debbugs.gnu.org; Fri, 09 Oct 2015 19:16:35 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:33996) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zkgtt-0002yG-7f for 21657@debbugs.gnu.org; Fri, 09 Oct 2015 19:16:33 -0400 Received: by iow1 with SMTP id 1so106660222iow.1 for <21657@debbugs.gnu.org>; Fri, 09 Oct 2015 16:16:32 -0700 (PDT) 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=w+syvJmfvulG62s+MYGnij62vBi+TlIklYiFmt8A7is=; b=iO6xpHxL/tuS5zboA35ByVUOUUWolddZ3NYMHKFXhdzbIb1HsoVJA1WzEulXCaRlAu vKuMAyLFtgR1yzL14iQgk/9d1Z6FPyyDnlYoXgGz+PRY6KxDJgDE5gvFf4EdFpcx2xyv MwHw/6a3DdlsOoQ0uQWkINF7CsBTmBDBYs/c2cZ6o68ognBYdj1wXQF3JzAtY3+YehCQ BkpjhR3NXefC2QVTDa4aJUQEHoD0cfQlqxr0+nuYC7Ow47Nufj+7OymfwzLbsn1Ktmqe 9Dotb2qTZaeuAS+feY+pdNcvKy33hEe8GQHKaqAD6w9NvyS/QLYkcOY2xdBrsYbrr/wQ GzPQ== X-Gm-Message-State: ALoCoQnAShpP8MpDMZvtblA++Sp+XwlV+xpiKGEQcnFwx3BPsF8un3vSXdKibftLXutBP62QDdoM MIME-Version: 1.0 X-Received: by 10.107.149.129 with SMTP id x123mr16590851iod.68.1444432592588; Fri, 09 Oct 2015 16:16:32 -0700 (PDT) Received: by 10.107.152.10 with HTTP; Fri, 9 Oct 2015 16:16:32 -0700 (PDT) In-Reply-To: <87wpuv7kdt.fsf@secretsauce.net> References: <87wpuv7kdt.fsf@secretsauce.net> Date: Fri, 9 Oct 2015 16:16:32 -0700 Message-ID: Subject: Re: bug#21657: 25.0.50; Python mode goes into an infinite loop From: Luke Powers To: Dima Kogan Content-Type: multipart/alternative; boundary=001a1140b848956f690521b42b4b X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21657 Cc: 21657@debbugs.gnu.org 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 (/) --001a1140b848956f690521b42b4b Content-Type: text/plain; charset=UTF-8 There are a couple issues out there with similar reports (21646 21629 21628). Revert to 818f06eaa72d8e4f9ba314c1c2855613bf89f396 if you want to work around the issue. On Fri, Oct 9, 2015 at 3:22 PM, Dima Kogan wrote: > Hi. I'm running a very recent emacs: > > https://github.com/emacs-mirror/emacs/commit/7e83f50 > > Opening a trivial python source file (attached) with a trivial and > seemingly-unrelated .emacs.d/init.el (also attached) makes emacs spin > its wheels. Hitting C-g doesn't work to get control back. You actually > have to kill the process. > > Thanks! > > --001a1140b848956f690521b42b4b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
There are a couple issues out there with similar repo= rts (21646 21629 21628).

Revert to 818f06eaa72d8e4f9ba314c1c2855613b= f89f396 if you want to work around the issue.

On Fri, Oct 9, 2015 at 3:22 PM, Dim= a Kogan <dima@secretsauce.net> wrote:
Hi. I'm running a very recent emacs:

=C2=A0https://github.com/emacs-mirror/emacs/com= mit/7e83f50

Opening a trivial python source file (attached) with a trivial and
seemingly-unrelated .emacs.d/init.el (also attached) makes emacs spin
its wheels. Hitting C-g doesn't work to get control back. You actually<= br> have to kill the process.

Thanks!


--001a1140b848956f690521b42b4b-- 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 Mon Oct 12 23:21:46 2015 Received: (at 21657) by debbugs.gnu.org; 13 Oct 2015 03:21:46 +0000 Received: from localhost ([127.0.0.1]:37647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlq9p-0007Md-8M for submit@debbugs.gnu.org; Mon, 12 Oct 2015 23:21:45 -0400 Received: from dancol.org ([96.126.100.184]:60867) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlq9m-0007MT-O2 for 21657@debbugs.gnu.org; Mon, 12 Oct 2015 23:21:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=qK08NAybP+WK3k5BQH9gLtuYDsz7sdwc213iGYGK2qM=; b=lZglLaMSw/oz6XJxOfO7o7rdiXSAbJNbh+mgQgC7jJZjBzpJ4Tey3OeGGdRtvvO2X4YGiMspDddYSPNhMhoaPWpDmEIb1zR4Ui9Ed9noco+CyWQQjPvZpyEE1GXE/zIwz1P3DkUX7lDo9LZgeNpzPmf6qvdyS9ciKxBkFw8oH1EGtOZPTKOKWnsKVpb3xDUZLXgJDZ92SH7PQWXyE3jGlaWXX8pk8opPajnmfyuCZhgyArxmWTrMywspWRasrtIVG3AZIL+bY5TefxcB9fi9geKXmHyum4sMR5L542VwRvS/a26DP6IQwmJY62oitUZiUaaHDToThH1c+ETGjsOWTg==; Received: from [199.201.64.3] (helo=[172.26.0.138]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1Zlq9k-0003S8-PO; Mon, 12 Oct 2015 20:21:40 -0700 Subject: Re: bug#21657: 25.0.50; Python mode goes into an infinite loop To: Luke Powers , Dima Kogan References: <87wpuv7kdt.fsf@secretsauce.net> From: Daniel Colascione Message-ID: <561C78BE.6070109@dancol.org> Date: Mon, 12 Oct 2015 20:21:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="T4l10MujhpiLQj0LKbbtSwrqWRL5rnrWm" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 21657 Cc: 21657@debbugs.gnu.org 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.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --T4l10MujhpiLQj0LKbbtSwrqWRL5rnrWm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/09/2015 04:16 PM, Luke Powers wrote: > There are a couple issues out there with similar reports (21646 21629 > 21628). >=20 > Revert to 818f06eaa72d8e4f9ba314c1c2855613bf89f396 if you want to work > around the issue. I think I know what's going on. Stefan's change moved some of the syntax-propertize stuff from Lisp into C. Now Emacs core has a variable called syntax-propertize--done, known in C as syntax_propertize__done. We make it buffer-local using Fmake_variable_buffer_local, but that makes the variable buffer-local when it's _set_. Until it's set, the variable retains its global value, which lives in the C variable syntax_propertize__done. So if we syntax-propertize 1000 characters of buffer A, then find-file in buffer B, we think we've syntax-propertized up to position 1000 (the value of syntax_propertize__done) until we set it to something else. In the case of Python, if we have a triple quote in the first 1000 characters, we infloop. --T4l10MujhpiLQj0LKbbtSwrqWRL5rnrWm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWHHi+AAoJEN4WImmbpWBlQeMP/jwNp/QkXJJQBKNM0yg4A8jF t4+eVsktJ2fdyKNnJNRasODWK0lzydireuGIRryoJWRIMRAtUHO6RwVWa+EJOA3G IdJuBUgE1NpukwrM9etO9plkI4sdIQM045X69kWUgk0/FX0t5X2RGqteKxglIxgd mY8jX/kXLwFvtv77jNx5uH9Z4+aJ//jTb5xdx2ofJY4MDFp7eAIEy7JJTaZdsTTK Wq6gHS+YhG6i09wvgW27qoawVG/xIkT8RKKH2hePQoKLaIe4EAJKjxGYzMIXRc0w ZPPEyCunxjKhHdxTFiYK2ZQyAzJ97g54trw53dJwE79+L48klmTvOjolqByR9hdy xvAznmP4+UkzCc93H7WRqrYmb7rJSRfttTwgumYQj9pXa0A0+as4WX5J/Hz3aFMg zwrWK8IsJYNGe1K1zjRnnioxV2KjPbR2uEp0m6NyqkPgUsVWpv5Nz6Nj+YqHL1Bj 9/ISYKcTnG2SEvslGTGMJlgpUZcGJCmdrMYNm4nJxKZ4Kv2CcDLhJZtGKF6Det5H NKvxm6LK6+DNo+VvwBVCgfldWw0cXcTExi0TUe5VbYuro/5MkmpO9pLsTVtkvLcs 7Fd+DFErorErx30V+Lx8fntzWLzp+94Yij1W9iwHC/1CrR2u3oN12fdg8yEfZQki SkawvpQC0o/s/CCK9Y5H =G0/X -----END PGP SIGNATURE----- --T4l10MujhpiLQj0LKbbtSwrqWRL5rnrWm-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 00:58:10 2015 Received: (at 21657) by debbugs.gnu.org; 13 Oct 2015 04:58:10 +0000 Received: from localhost ([127.0.0.1]:37668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlrf8-0001Sp-8n for submit@debbugs.gnu.org; Tue, 13 Oct 2015 00:58:10 -0400 Received: from mail-yk0-f172.google.com ([209.85.160.172]:33503) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlrf5-0001Sg-Se for 21657@debbugs.gnu.org; Tue, 13 Oct 2015 00:58:08 -0400 Received: by ykoo7 with SMTP id o7so6264328yko.0 for <21657@debbugs.gnu.org>; Mon, 12 Oct 2015 21:58:07 -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 :cc:content-type; bh=H1piL/SXHvP+mbeGMIwFcdTUOahW/vKlOSkam6VgVRI=; b=zoMzV04ORVMaUhaflPGIks4jAoNk/2mYL+zi9enOFb4pW3R/SacMsf7S/9Mgv9GTPc sPVHqJCJWJvcgJ/juCe06tMs9DoMeImFJZ6vNj9eG7TMow5w0uAr5eusyUf1+Im4T8w3 mLnCkZMpx11Jy/XNzgiBOKId3f3w9qc/rkWwcYCBwDZBX0y31GsrysipCjLoIlipWffG oCF/MHmI1ivpjZNA5g+w/6msILRVXR0JjmcHTysS517xuFcLdNPqg1IeZ4fEyIy0wGmb dJ75eF9UgPqAXqTTyCVaBPcD5fwokeP/iR7SpDA7CrW23YEdDkFyRHYiQAHrDAvPVKM5 N8dw== MIME-Version: 1.0 X-Received: by 10.129.124.8 with SMTP id x8mr23030370ywc.44.1444712287219; Mon, 12 Oct 2015 21:58:07 -0700 (PDT) Received: by 10.13.212.197 with HTTP; Mon, 12 Oct 2015 21:58:07 -0700 (PDT) In-Reply-To: <561C78BE.6070109@dancol.org> References: <87wpuv7kdt.fsf@secretsauce.net> <561C78BE.6070109@dancol.org> Date: Tue, 13 Oct 2015 07:58:07 +0300 Message-ID: Subject: Re: bug#21657: 25.0.50; Python mode goes into an infinite loop From: immerrr again To: Daniel Colascione Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21657 Cc: 21657@debbugs.gnu.org, Dima Kogan , Luke Powers 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 (/) There's a patch to fix this in #21671. On Tue, Oct 13, 2015 at 6:21 AM, Daniel Colascione wrote: > I think I know what's going on. Stefan's change moved some of the > syntax-propertize stuff from Lisp into C. Now Emacs core has a variable > called syntax-propertize--done, known in C as syntax_propertize__done. > We make it buffer-local using Fmake_variable_buffer_local, but that > makes the variable buffer-local when it's _set_. Until it's set, the > variable retains its global value, which lives in the C variable > syntax_propertize__done. So if we syntax-propertize 1000 characters of > buffer A, then find-file in buffer B, we think we've syntax-propertized > up to position 1000 (the value of syntax_propertize__done) until we set > it to something else. In the case of Python, if we have a triple quote > in the first 1000 characters, we infloop. > From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 01:05:52 2015 Received: (at 21657) by debbugs.gnu.org; 13 Oct 2015 05:05:52 +0000 Received: from localhost ([127.0.0.1]:37673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlrma-0001fP-Fr for submit@debbugs.gnu.org; Tue, 13 Oct 2015 01:05:52 -0400 Received: from dancol.org ([96.126.100.184]:33222) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZlrmY-0001fH-Nx for 21657@debbugs.gnu.org; Tue, 13 Oct 2015 01:05:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=2oJntPT94UscHcLLIu92Ov0XfGB+OxjJLnQkNv1gHys=; b=M9yCZkZ5Ncu/2LG6oBST2mFmlxjtgC/WXzC/6axpC/Q/4yp8ayKgDTi7Iai/LiAoPrVUhkcABgw/SUOmZd3X2KfuQa0kRtbmCnVnH/E9y2uQ9ZHGphzpNLa8aJawlCw77TxmyekyqUEYsOrOqISv8FWYgZ8I3o3kr1/6p2r3o4Sv+obQTs29qapnBmB/26q6QEZlLis7zuanImS3Qc2wC9wqRiAK4zZ5Zf6TbfLquXGX4Lm6x0ke9/UKqRc0Dp7SYWsBm3Lmgj6JgDrHv9tAbGvI923EBtoHhGf4LtBBo+FrLEHZ2xzu88uLgLUlThRRvyZnxLakjeaTt1KgU1FYZw==; Received: from [199.201.64.2] (helo=[172.26.0.138]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1ZlrmW-0003v7-Ab; Mon, 12 Oct 2015 22:05:48 -0700 Subject: Re: bug#21657: 25.0.50; Python mode goes into an infinite loop To: immerrr again References: <87wpuv7kdt.fsf@secretsauce.net> <561C78BE.6070109@dancol.org> From: Daniel Colascione Message-ID: <561C9126.70608@dancol.org> Date: Mon, 12 Oct 2015 22:05:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Fr8igVeraeE9PKG4w7bFw8pohDPCMJeSM" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 21657 Cc: 21657@debbugs.gnu.org, Dima Kogan , Luke Powers 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.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Fr8igVeraeE9PKG4w7bFw8pohDPCMJeSM Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Please don't top post. On 10/12/2015 09:58 PM, immerrr again wrote: > There's a patch to fix this in #21671. I saw your message after I sent mine. How exactly is it supposed to work? I can't reliably repro the condition that leads to the variable being inherited across buffers (even with Torsten Bronger's testcase), so I can't test it. It doesn't seem like adding a DEFSYM should make a difference here though. Can you explain why your patch works? --Fr8igVeraeE9PKG4w7bFw8pohDPCMJeSM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWHJEmAAoJEN4WImmbpWBlpKQP/iJwes9AwavlTLG4uzBM8/Q2 NCfnSe/Ky23arAnjUgmO1krSnwENLBLd++h1xd+jw9MQM2xojtHqa7ELtS0/5e/V DvcXqNXz36XONWgAsgZNeVVrqcF+F5QY9s/EtXCZX4gu8kEvRLYQdvMBN7XeS1O5 +YKm8bctSQoXWRlt2uPEprhAcqnaTFas1HomBSHRO7NIeAWHlOlPX400avzg7PPz TWDAVaJ6abFf+qiZbbEoD9uGJrNxU+y41ifVAR0xpHQLgpgFuRg86itibQXdxrCJ Z6zFCSvGrojs4po8v+VdCEtK71saUSxllwJjI1+/d2ciXUTbMFiqh5uw5YAwmOaE wp/J6zAtYls3hfJfA1EuQKgZXNNO/onFdlIRgeORo2o1kjagVuBhvDPKvbOMveOb FgaqYYXPVXpp9gX3dMPVzyXaPbow2S+GD2BwVs0N5wEs9zjlZn732wLQMKFXzjGq 2Q4k2BC4EVHTfCwWQoyZYByf1KZyP0KzkfPy3CYX9w73yoVpuW5Xiy69pLftTsGj Kyd0sONx2+jm284puCLxe55qCkCZpVU+MTFOqPe21ijXdA5JhG3hHA0b5B4MFkOA zUm4s76ylfrD34btihDKFqdG8kfFD+2pN2V44SroJ1/cgGSL15KMOzp5qBlBHlkK oMdS+p+IqchdoTlr4ARw =vA2t -----END PGP SIGNATURE----- --Fr8igVeraeE9PKG4w7bFw8pohDPCMJeSM-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 01:42:10 2015 Received: (at 21657) by debbugs.gnu.org; 13 Oct 2015 05:42:10 +0000 Received: from localhost ([127.0.0.1]:37683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZlsLh-0002iX-DQ for submit@debbugs.gnu.org; Tue, 13 Oct 2015 01:42:09 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:35956) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZlsLf-0002iQ-Fa for 21657@debbugs.gnu.org; Tue, 13 Oct 2015 01:42:08 -0400 Received: by ykey125 with SMTP id y125so6787239yke.3 for <21657@debbugs.gnu.org>; Mon, 12 Oct 2015 22:42:07 -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 :cc:content-type; bh=r/K309bwl64jGmNENa1MSU7QEDpxI61uP2CvETzgYLc=; b=Af7xQE8gSZ0klOVZH6EatRXr3n1W2uOf8KRIGgtuNjXOfatT/Yr6ewoKrs4Ue45Dfn CL4Hn7UJDle0Eh32A6dggYKT07/FV2BoYtUC24SuPhxF9I1akCe8R5I+9+PO/iaeqJhv r4OF8kWCvcrqdhcSQGO3qWW2jIoQ3aaUnS6MGCl4kA3UQ/zARt0jflDWKpzJ4a8N0Rm9 G/H5Ey/E4Mvs8wPtaznzo813nuODUiD/A1flaFNcr2hvb9FGM2gUQdAY1POxA02062jr UggSsP4HMFsgszqXWzk9ERQd3nO6HccbFj/qpVst83xhNCP2VTCE88iKaWgVkedsiclj iJrw== MIME-Version: 1.0 X-Received: by 10.129.79.129 with SMTP id d123mr22906371ywb.159.1444714927079; Mon, 12 Oct 2015 22:42:07 -0700 (PDT) Received: by 10.13.212.197 with HTTP; Mon, 12 Oct 2015 22:42:07 -0700 (PDT) In-Reply-To: <561C9126.70608@dancol.org> References: <87wpuv7kdt.fsf@secretsauce.net> <561C78BE.6070109@dancol.org> <561C9126.70608@dancol.org> Date: Tue, 13 Oct 2015 08:42:07 +0300 Message-ID: Subject: Re: bug#21657: 25.0.50; Python mode goes into an infinite loop From: immerrr again To: Daniel Colascione Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21657 Cc: 21657@debbugs.gnu.org, Dima Kogan , Luke Powers 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 Tue, Oct 13, 2015 at 8:05 AM, Daniel Colascione wrote: > I saw your message after I sent mine. How exactly is it supposed to > work? I can't reliably repro the condition that leads to the variable > being inherited across buffers (even with Torsten Bronger's testcase), > so I can't test it. It doesn't seem like adding a DEFSYM should make a > difference here though. Can you explain why your patch works? > Apparently, I was testing a version that was older than [1] since it was reproduced reliably. With it, the variable indeed seems properly buffer-local. I think I misread commit metadata in git blame thinking that the commit was from the last year, so I presumed that my Emacs version already had it. I couldn't find any docs about obarray initialization procedure (DEFSYM code-generation and alike), that was the only place where Fmake_variable_buffer_local was invoked on intern("foo") instead of a DEFSYM-initialized variable and I didn't have much time to deduce from sources how these two approaches differ, so I simply changed it to look like the others and ensured that it worked after the change. Feel free to ignore that patch if it is unnecessary. 1. https://github.com/emacs-mirror/emacs/commit/0360b7f2c4f0358106e229de4dfe91a67445a50c 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 unknown Fri Aug 08 18:00:56 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:02 +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 28 20:05:18 2017 Received: (at control) by debbugs.gnu.org; 1 Mar 2017 01:05:18 +0000 Received: from localhost ([127.0.0.1]:60734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cishe-0007V5-Qv for submit@debbugs.gnu.org; Tue, 28 Feb 2017 20:05:18 -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: control 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 Fri Aug 08 18:00:56 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