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: Sat, 20 Nov 2021 10:21:50 +0100 [thread overview]
Message-ID: <87a6hzrxld.fsf@gnus.org> (raw)
In-Reply-To: <87v90n3hwk.fsf@gmail.com> (Matthias Meulien's message of "Fri, 19 Nov 2021 23:22:19 +0100")
Matthias Meulien <orontee@gmail.com> writes:
> Unfortunately it has improved but it doesn't always work as
> expected. With a buffer with following content:
>
> async function test() {
> // cursor here
> }
>
> it now works when cursor is on the first line ("async function test...")
> AND not after the opening brace. After that brace, on first line or
> second line, it fails...
Hm, I thought I had tested that case... Oh! When fixing a compilation
warning, I messed up that code path. This should work better now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2021-11-20 9:21 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
2021-11-18 11:30 ` Matthias Meulien
2021-11-19 22:22 ` Matthias Meulien
2021-11-20 9:21 ` Lars Ingebrigtsen [this message]
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=87a6hzrxld.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).