Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.emacs.bug > #134816

bug#16368: [PATCH] cperl-mode: don't freeze over a cool regexp

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Stefan Kangas <stefankangas@gmail.com>
Newsgroups gnu.emacs.bug
Subject bug#16368: [PATCH] cperl-mode: don't freeze over a cool regexp
Date Thu, 3 Sep 2020 02:58:40 -0700
Lines 27
Sender "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Approved bug-gnu-emacs@gnu.org
Message-ID <mailman.2174.1599127145.2469.bug-gnu-emacs@gnu.org> (permalink)
References <87iotxq4oy.fsf@xvii.vinc17.org> <e77e2af2-54fd-042a-7f91-cdbe013d1eb2@posteo.de> <CADwFkmm=7txZFvs8Ozg0y181DCbUUreV8ojhuQC6xpDw5ssjDQ@mail.gmail.com> <1dce9689-f0ae-e066-bbf0-fb92f9b997ce@posteo.de> <CADwFkmmsYYPZgibTWSPJVRLkvce3tdK-HO42BWiBDZMqc6OkrQ@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1599127146 7440 209.51.188.17 (3 Sep 2020 09:59:06 GMT)
X-Complaints-To action@cs.stanford.edu
To Harald Jörg <haj@posteo.de>, 16368@debbugs.gnu.org
Envelope-to bug-gnu-emacs@gnu.org
X-Loop help-debbugs@gnu.org
Resent-From Stefan Kangas <stefankangas@gmail.com>
Original-Sender "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC bug-gnu-emacs@gnu.org
Resent-Date Thu, 03 Sep 2020 09:59:01 +0000
Resent-Message-ID <handler.16368.B16368.159912712824145@debbugs.gnu.org>
Resent-Sender help-debbugs@gnu.org
X-GNU-PR-Message followup 16368
X-GNU-PR-Package emacs
X-GNU-PR-Keywords patch confirmed
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :content-transfer-encoding; bh=NXy9j+M7tuKJDGrPkUjoHGh8KWl0rjmSdAICXRlFT9Y=; b=tHxTHgqhI19+8hcQdQQJnEyBWNWKjsnRz//eMB9Y7pMX6hwDNh+dHmL/qcyPn76HIB CXZr/G56xNTz00Grdlf+Hpak7DCVG5KBrHQ6M1OXNudiHwBxpVwp0H6PWHOz3HW1+yMc QzXaXtVhDUMMru07oO2PwbYJprbrCqA04qHtVB18UfgXcieLh+OzJ06rrBniX6JgSJyg Tf1GxyZn7GaY3Ra/JMFh8Up2hiqpakzaexoSCm4DCa5kBNk+ZMRYfkzYj2AupTmwItPQ AuxfJsXdMU8DNFetadudJqJ9NznHZA3gm8TpBDIGON9U6X2KNfUfmRhONEYrpLcrZxUw wUTA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:content-transfer-encoding; bh=NXy9j+M7tuKJDGrPkUjoHGh8KWl0rjmSdAICXRlFT9Y=; b=ItE4NlOlITbP/UE3S2IZG3rGlgYENOF36wu3kunqn1gFYZPBeHA4ANgyXkJ7F7DCc0 5OSn7ZwI4GRGTWnpbnLSvAB5FDLD/hbFByP9pCzAynG9il4hyxEtaAiWctf+mZjb5PpV dAWeiczdhRg7Ixhu5mKzVfhDJe3eqHD61hAIB2Qzw3E4oomEWNbjS2rngIfWehTSdZFw kPyRPjJdY0BvYOYfbjXRQV7iEHd8leTbanHmwEjRAHh3ThH/x39vM/twoyzPE3Id2Ec3 8pVaBHVWeEC3tfVYBeNzXRyiIOtx/+ufadgtitkOTw+cnAgo7qhtRHIip91K2sAPOA0s EPRw==
X-Gm-Message-State AOAM530XmhyPsQMcyYXtcNzlrRVWXcdAFDrX/IvMkaZRD1OX+/d94CDC hjHDXMdKeNkTS/ror4XvXCnV5RS9kuiMKzHcSSE=
X-Google-Smtp-Source ABdhPJwYve3KMBfv42hnQThhZiVwD5z9itpT9dTmQsndaE9cFQRPOOOE25BtidjGMnqAY5PXqwhPnL8azRUjSB/nL0U=
X-Received by 2002:aa7:da09:: with SMTP id r9mr2228993eds.7.1599127121156; Thu, 03 Sep 2020 02:58:41 -0700 (PDT)
In-Reply-To <1dce9689-f0ae-e066-bbf0-fb92f9b997ce@posteo.de>
X-Spam-Score 0.0 (/)
X-BeenThere debbugs-submit@debbugs.gnu.org
X-Mailman-Version 2.1.18
Precedence list
Errors-To debbugs-submit-bounces@debbugs.gnu.org
X-Spam-Score -1.0 (-)
X-BeenThere bug-gnu-emacs@gnu.org
List-Id "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post <mailto:bug-gnu-emacs@gnu.org>
List-Help <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <CADwFkmmsYYPZgibTWSPJVRLkvce3tdK-HO42BWiBDZMqc6OkrQ@mail.gmail.com>
X-Mailman-Original-References <87iotxq4oy.fsf@xvii.vinc17.org> <e77e2af2-54fd-042a-7f91-cdbe013d1eb2@posteo.de> <CADwFkmm=7txZFvs8Ozg0y181DCbUUreV8ojhuQC6xpDw5ssjDQ@mail.gmail.com> <1dce9689-f0ae-e066-bbf0-fb92f9b997ce@posteo.de>
Xref csiph.com gnu.emacs.bug:134816

Show key headers only | View raw


Harald Jörg <haj@posteo.de> writes:

> I'd say this is desired behavior.

OK, thanks.  Your explanation sounds good to me.

> I can only guess that the first part of the message (which starts with
> "cperl-forward-group-in-re") was added out of frustration: The bug
> prevented the second part of the message (without
> "cperl-forward-group-in-re") from ever appearing.  Only this wasn't
> fatal unless... there was this closing brace two characters before.
> I'll check that, and prepare an updated patch if that's true.

Sounds good.

> No problem, I'll do so.  I thought I was supposed to create the commit
> messages with C-x 4 a, but probably I misunderstood and should have
> post-processed that text in the first place.

I always use C-x 4 a, and then delete the spacing to the left.

> Hm. That should rather be _moving_ that line to the top?

Ah, right.  Yup, that sounds good.


Back to gnu.emacs.bug | Previous | Next | Find similar


Thread

bug#16368: [PATCH] cperl-mode: don't freeze over a cool regexp Stefan Kangas <stefankangas@gmail.com> - 2020-09-03 02:58 -0700

csiph-web