From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tom Gillespie Newsgroups: gmane.emacs.bugs Subject: bug#56271: lisp/progmodes/python.el; unmatched quotes cause infinite loop freezing emacs Date: Tue, 28 Jun 2022 20:00:24 -0700 Message-ID: References: <87lethroiv.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000074db6905e28d5b59" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27210"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen To: 56271@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 29 05:01:40 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o6NxT-0006tu-Nu for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 05:01:39 +0200 Original-Received: from localhost ([::1]:54028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6NxS-000753-Ej for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Jun 2022 23:01:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6Nws-00074V-Vy for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 23:01:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6Nws-0004yj-Mn for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 23:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6Nws-0002F5-DF for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 23:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tom Gillespie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jun 2022 03:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56271 X-GNU-PR-Package: emacs Original-Received: via spool by 56271-submit@debbugs.gnu.org id=B56271.16564716468589 (code B ref 56271); Wed, 29 Jun 2022 03:01:02 +0000 Original-Received: (at 56271) by debbugs.gnu.org; 29 Jun 2022 03:00:46 +0000 Original-Received: from localhost ([127.0.0.1]:56782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Nwc-0002ES-7L for submit@debbugs.gnu.org; Tue, 28 Jun 2022 23:00:46 -0400 Original-Received: from mail-io1-f50.google.com ([209.85.166.50]:40485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6NwY-0002EC-AC for 56271@debbugs.gnu.org; Tue, 28 Jun 2022 23:00:45 -0400 Original-Received: by mail-io1-f50.google.com with SMTP id s17so14743847iob.7 for <56271@debbugs.gnu.org>; Tue, 28 Jun 2022 20:00:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vT66Mr/CgnJcjz4dp651nsJyCe2fZHuTnnoaKbZwSKA=; b=jx3D9fi/GvXKsGVXfPwV7oIqxoKwvke8hbt+tbDFn91aitgVHLrd561QMHzMuibxce f82GKhPZ+FOp9rZUEvu1AxLASJBnnSC6xGdAGSO1KaBPHbAHcIGTfeo1hcgiR43D0WCM dEPnOaeFRz2WBQTavR0mmg3uG+Ua15ios0UtAyujlE9YXUOUBpDWatUu52+vbbeus5je CJPys2Q96BKgbU+N8TY0N2YfeNeMvc/ZyqxIikjz90A6tWMFUNeqcudtjSlbbogrXu4y PuWktS86HQuiCUnmOFa75qbyLRicF0I7ZcuC/1a/jw4ng4jfrxF4Tqo6wk/mWWSty/mo caiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vT66Mr/CgnJcjz4dp651nsJyCe2fZHuTnnoaKbZwSKA=; b=ffnj/WgPvNCvh9W/jFt75rG2WvSbjWyVd9oabhkbWqlCyn74vkzrD5lEtTqMcnYY19 eHLv1K0Hejanm89hlnkgi0To0QWilJNFYs1p/6h8nc9GqsG6NoJZDL42NLy2X4XMXheo wH3bAf/SAGdbPrzEdsMG37nP/UKD78qYpz6nkVNQqWiubC3aDWJMXdZs7JXf0j5TYO2r s8xlDPE2nZG5/EvUbxiufA9jKwbjNszsiil1v6LRHK4AobYbrZICnhfsKDh1QYRoEmrV A1qGhUwNHxJ1GJBjPIh9zpbzufJWJvtYXGsw8/F7N2an8ea2hrQwIA6/MIRHqiOnZnlq 82vg== X-Gm-Message-State: AJIora9/INrXPaIeb7w/bacjigCMQDzrG+dI9zYz6D1iyXYklfEbHhwx HdQi0kEnTFubVTxQowtBjAZjVjF7KO8Ln/Y9wrf1WC1z X-Google-Smtp-Source: AGRyM1vyV/ucns9OlmkbKnCdhiEXR5EKe6jSHI1AfX8WNXGFVaf9Aa/u9E1pP/am2Dw1ThvI4tCT2/jl37kBrB5Emg8= X-Received: by 2002:a05:6602:2e8d:b0:64f:b683:c70d with SMTP id m13-20020a0566022e8d00b0064fb683c70dmr630357iow.62.1656471636185; Tue, 28 Jun 2022 20:00:36 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235592 Archived-At: --00000000000074db6905e28d5b59 Content-Type: text/plain; charset="UTF-8" Patch to add a test using the evil file as an example. --00000000000074db6905e28d5b59 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-test-lisp-progmodes-python-tests.el-add-test-for-nav.patch" Content-Disposition: attachment; filename="0001-test-lisp-progmodes-python-tests.el-add-test-for-nav.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_l4z0e4py0 RnJvbSAyYzZlYjc3OTNiODkzOGQyY2NlNDEzNDk5YTYyNzE2YTg3MTYzYTI5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBUb20gR2lsbGVzcGllIDx0Z2J1Z3NAZ21haWwuY29tPgpEYXRl OiBUdWUsIDI4IEp1biAyMDIyIDE5OjU1OjMxIC0wNzAwClN1YmplY3Q6IFtQQVRDSF0gdGVzdC9s aXNwL3Byb2dtb2Rlcy9weXRob24tdGVzdHMuZWw6IGFkZCB0ZXN0IGZvciBuYXYgZW5kIG9mCiBi bG9jawoKQWRkIHRlc3QgZm9yIHB5dGhvbi1uYXYtZW5kLW9mLWJsb2NrIHRvIHByZXZlbnQgcmVn cmVzc2lvbiBvZiBidWcjNTYyNzEuCi0tLQogdGVzdC9saXNwL3Byb2dtb2Rlcy9weXRob24tdGVz dHMuZWwgfCAxMiArKysrKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCAxMiBpbnNlcnRpb25zKCsp CgpkaWZmIC0tZ2l0IGEvdGVzdC9saXNwL3Byb2dtb2Rlcy9weXRob24tdGVzdHMuZWwgYi90ZXN0 L2xpc3AvcHJvZ21vZGVzL3B5dGhvbi10ZXN0cy5lb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