From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#51926: 29.0.50; Narrow to defun fails with Javascript async functions Date: Thu, 18 Nov 2021 12:30:24 +0100 Message-ID: References: <87y25msft4.fsf@gmail.com> <87tug9kbfj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006c4f1405d10e7ccf" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21329"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51926@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 18 12:31:44 2021 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 1mnfdo-0005QD-4j for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Nov 2021 12:31:44 +0100 Original-Received: from localhost ([::1]:37892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnfdm-0007oC-AU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Nov 2021 06:31:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnfdA-0007mw-FO for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 06:31:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnfd9-0006Wx-59 for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 06:31:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnfd8-0003V7-9I for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 06:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Nov 2021 11:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51926 X-GNU-PR-Package: emacs Original-Received: via spool by 51926-submit@debbugs.gnu.org id=B51926.163723503913411 (code B ref 51926); Thu, 18 Nov 2021 11:31:02 +0000 Original-Received: (at 51926) by debbugs.gnu.org; 18 Nov 2021 11:30:39 +0000 Original-Received: from localhost ([127.0.0.1]:35006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnfcl-0003UF-1i for submit@debbugs.gnu.org; Thu, 18 Nov 2021 06:30:39 -0500 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:53788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnfci-0003Tz-R4 for 51926@debbugs.gnu.org; Thu, 18 Nov 2021 06:30:37 -0500 Original-Received: by mail-wm1-f52.google.com with SMTP id y196so4977017wmc.3 for <51926@debbugs.gnu.org>; Thu, 18 Nov 2021 03:30:36 -0800 (PST) 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=ZGErXaKPeO8ALIVpFDj+o2v/EqJS2Cj1CEWFkyKtERU=; b=gyOL2T9ZEhTYSb3X29VkYShXUMhMRfEQAjaOCfpzJPPVovVE2Ze2i/Kc5khoaHRGwX VcR/PNRF/wrviSVkPVspK6UbyC2w+N8ioBsRM3IqhdVIPqFY3OBeHXublS8zvkjE4bpM 9IXBWwu9m0yqlWCa9WItAcjB7tnunJ4twv0549ZlmYQmSio0pDMVeKhRQy78P8v63QjI aA32qB/pkSKYWjonKTYSa0FLku2KNkMIyQ8fXXb87cFGH2pPGeL1XOxHvR057Vfa3nP+ XMpreAlm8GbcDuLk3S6AJA3viql3++2BGNMTMDZVmS4+QFFnKs66xIZbxnWO4Xn+ncyU OmOw== 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=ZGErXaKPeO8ALIVpFDj+o2v/EqJS2Cj1CEWFkyKtERU=; b=7LsZC+QqHLZ9Lygja74zFYiqQRWFNGzY59z+04og3OkxuAWa1EyXKDiLgv2jFOqN6a voo4gVTPLmbjS3GaeMrjnQa8nSJQgURz2BoRXNzmuMTwP52CwWuYbBIcDRgX7HUSup3j fyAfCEJCaynrjhuLTDyLiqZRsSEXwO8wAXCDE/E3Uh5vkDP32JmyJLhcV30+j0tXj6SM J+LUyTIcnnrY54eXL2ymrLfBs7+adpC6b+/uiPEyLsQIfUrVSINk6OE7entCMrKaEpbU 4v2AyTDRBmIy8y+7hs5Itfu4LKScGA38fEEby6W1EhTphn4h7x/HX6OOub2QVrSOFGsR uZMA== X-Gm-Message-State: AOAM532vZ/UzaopsqJvWPWSuZCjGhKA0WvpVnyvRF74h0iz0I9ZCsoCp PNCEFz7d6u/Q1SlB7DXkIN49ctl0ahyG0UasF6Q= X-Google-Smtp-Source: ABdhPJzkNxj6f17XlsmqusdygG9D+m6HbTWY7FWFlxTJw4an6kowciXb5UDm3Flq1zVxQV/aLSXZyujgFU5eNv7VqAc= X-Received: by 2002:a05:600c:3647:: with SMTP id y7mr9215643wmq.39.1637235030772; Thu, 18 Nov 2021 03:30:30 -0800 (PST) In-Reply-To: <87tug9kbfj.fsf@gnus.org> 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:220311 Archived-At: --0000000000006c4f1405d10e7ccf Content-Type: text/plain; charset="UTF-8" > Yup; I can reproduce this in Emacs 29, too. I've poked at it now, and > it's surprisingly difficult to fix this, due to the way these functions > are constructed. I must confess I tried to fix it before I create the bug report (as I usually do since I feel like maintainers are already quite busy...) but gave up: There are so many regexps to match the function keyword, the cache, etc. But I think I've got it working now in Emacs 29. Thanks a lot! I'll test this this evening. --0000000000006c4f1405d10e7ccf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Yup; I can reproduce this in Emacs 29, too.=C2=A0 I've poked = at it now, and
it's surprisingly difficult to fix this, due to the way these functions=
are constructed.=C2=A0

=
I must confess I tried to fix it before I create the bug = report (as I usually do since I feel like maintainers are already quite bus= y...) but gave up: There are so many regexps to match the function keyword,= the cache, etc.=C2=A0

<= br>
But I think I've got it working now in Emacs 29.

Thanks a lot! I&= #39;ll test this this evening.
--0000000000006c4f1405d10e7ccf--