GNU bug report logs - #71760
31.0.50; Filling jsdoc text doesn't work in js-ts-mode

Previous Next

Package: emacs;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Mon, 24 Jun 2024 20:24:02 UTC

Severity: normal

Merged with 71768

Found in version 31.0.50

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Damien Cassou <damien <at> cassou.me>
To: 71760 <at> debbugs.gnu.org
Cc: Yuan Fu <casouri <at> gmail.com>
Subject: [PATCH] js-ts-mode: Fix filling of jsdoc blocks
Date: Mon, 29 Jul 2024 21:36:02 +0200
[Message part 1 (text/plain, inline)]
Tags: patch

Hi,

the attached patches

1. add "description" (the kind of treesit node used for texts by the
jsdoc parser) to `c-ts-common--comment-regexp' in js-ts-mode;

2. make `c-ts-common--fill-block-comment' only remove a mask if it has
added it in the first place.

Best

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
[0001-js-ts-mode-Make-jsdoc-s-description-block-a-comment.patch (text/patch, attachment)]
[0002-c-ts-common-Don-t-insert-wrong-characters-during-fil.patch (text/x-patch, attachment)]

This bug report was last modified 352 days ago.

Previous Next


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