GNU bug report logs - #75422
30.0.93; [PATCH] forward-sexp and backward-sexp jump outside of comments in tsx-ts-mode

Previous Next

Package: emacs;

Reported by: Kohei Tsuruta <seventhepg <at> gmail.com>

Date: Tue, 7 Jan 2025 16:03:01 UTC

Severity: normal

Tags: patch

Fixed in version 30.0.93

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 75422 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: seventhepg <at> gmail.com, casouri <at> gmail.com, 75422 <at> debbugs.gnu.org
Subject: Re: bug#75422: 30.0.93; [PATCH] forward-sexp and backward-sexp jump
 outside of comments in tsx-ts-mode
Date: Wed, 08 Jan 2025 15:12:32 +0200
> From: Juri Linkov <juri <at> linkov.net>
> Cc: Kohei Tsuruta <seventhepg <at> gmail.com>,  75422 <at> debbugs.gnu.org,  Eli
>  Zaretskii <eliz <at> gnu.org>
> Date: Wed, 08 Jan 2025 09:44:48 +0200
> 
> >>> --- a/lisp/progmodes/typescript-ts-mode.el
> >>> +++ b/lisp/progmodes/typescript-ts-mode.el
> >>> @@ -564,7 +564,9 @@ tsx-ts-mode
> >>>                    (sentence ,(regexp-opt
> >>>                                (append typescript-ts-mode--sentence-nodes
> >>>                                        '("jsx_element"
> >>> -                                         "jsx_self_closing_element")))))))
> >>> +                                         "jsx_self_closing_element"))))
> >>> +                   (text ,(regexp-opt '("comment"
> >>> +                                        "template_string"))))))
> >
> > I think it’s fine. Though it’s for Eli to decide.
> 
> Eli, is it ok to push this patch to emacs-30?

Yes, thanks.




This bug report was last modified 189 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.