From: Lars Ingebrigtsen <larsi@gnus.org>
To: Matthias Meulien <orontee@gmail.com>
Cc: 51926@debbugs.gnu.org
Subject: bug#51926: 29.0.50; Narrow to defun fails with Javascript async functions
Date: Thu, 18 Nov 2021 11:25:36 +0100 [thread overview]
Message-ID: <87tug9kbfj.fsf@gnus.org> (raw)
In-Reply-To: <87y25msft4.fsf@gmail.com> (Matthias Meulien's message of "Wed, 17 Nov 2021 21:11:35 +0100")
Matthias Meulien <orontee@gmail.com> writes:
> 4. Call `narrow-to-defun' (C-x n d) and observe that the buffer now
> displays the following:
>
> function test_async() {
> // nothing to do
> }
>
> This is wrong (async has disappeared).
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. But I think I've got it working now in Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-11-18 10:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 20:11 bug#51926: 29.0.50; Narrow to defun fails with Javascript async functions Matthias Meulien
2021-11-18 10:25 ` Lars Ingebrigtsen [this message]
2021-11-18 11:30 ` Matthias Meulien
2021-11-19 22:22 ` Matthias Meulien
2021-11-20 9:21 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tug9kbfj.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=51926@debbugs.gnu.org \
--cc=orontee@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).