From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30277: 26.0.91; Infinite recursion in python-nav-beginning-of-statement Date: Sat, 10 Feb 2018 13:26:28 +0200 Message-ID: <83bmgx2ihn.fsf@gnu.org> References: <5a08be28-3a08-40b9-aa56-dd64e3a0650d@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1518261924 29228 195.159.176.226 (10 Feb 2018 11:25:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Feb 2018 11:25:24 +0000 (UTC) Cc: ola.nilsson@gmail.com, 30277@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 10 12:25:19 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekTHJ-0006hA-UV for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 12:25:10 +0100 Original-Received: from localhost ([::1]:56789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekTJL-0007mU-KC for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 06:27:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekTJ8-0007ku-LQ for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 06:27:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekTJ7-0000KJ-S2 for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 06:27:02 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56469) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekTJ7-0000Jz-OL for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 06:27:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekTJ7-00068B-Hw for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 06:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Feb 2018 11:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30277 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 30277-submit@debbugs.gnu.org id=B30277.151826201723555 (code B ref 30277); Sat, 10 Feb 2018 11:27:01 +0000 Original-Received: (at 30277) by debbugs.gnu.org; 10 Feb 2018 11:26:57 +0000 Original-Received: from localhost ([127.0.0.1]:36133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekTJ2-00067r-Pb for submit@debbugs.gnu.org; Sat, 10 Feb 2018 06:26:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekTJ1-00067c-4I for 30277@debbugs.gnu.org; Sat, 10 Feb 2018 06:26:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekTIt-0008Sf-4k for 30277@debbugs.gnu.org; Sat, 10 Feb 2018 06:26:49 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekTIs-0008S7-S0; Sat, 10 Feb 2018 06:26:46 -0500 Original-Received: from [176.228.60.248] (port=3525 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ekTIq-00043N-Ji; Sat, 10 Feb 2018 06:26:45 -0500 In-reply-to: <5a08be28-3a08-40b9-aa56-dd64e3a0650d@yandex.ru> (message from Dmitry Gutov on Thu, 1 Feb 2018 15:28:36 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143087 Archived-At: > From: Dmitry Gutov > Date: Thu, 1 Feb 2018 15:28:36 +0300 > > On 1/29/18 1:42 AM, Ola Nilsson wrote: > > The infinite recursion is triggered when the first line of a > > python-mode buffer starts with space and ends with a backslash. > > > > With emacs -Q > > > > * create a new buffer > > * M-x python-mode > > * Insert SPACE \ ENTER > > > > => Lisp nesting exceeds ‘max-lisp-eval-depth’ > > > > The infinite recursion is also triggered if the first line of a narrowed > > region starts with space and ends on a backslash. > > This seems to fix it for me. Please test thoroughly, I rarely ever use > python-mode myself. Please push to the master branch, and thanks.