From: Damien Cassou <damien@cassou.me>
To: 72116@debbugs.gnu.org
Subject: bug#72116: 30.0.60; Filling c-ts-mode documentation is broken
Date: Sun, 14 Jul 2024 20:23:09 +0200 [thread overview]
Message-ID: <87cynf4yuq.fsf@cassou.me> (raw)
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
Filling documentation in a c-ts-mode buffer doesn't insert the " * "
prefix. It works fine in c-mode. How to reproduce:
1. Install the C treesitter grammar
2. Start emacs with "emacs -Q"
3. Open the attached file in a new buffer
4. Run M-x c-ts-mode
5. Move point to the middle of line 2
6. Press M-q
Expected: 2 lines of documentation, each one starting with " * "
Actual: 2 lines of documentation, only the first one starting
with " * "
If you remove step 4 from the above instructions, c-mode will do the
work just fine.
The solution to this bug could help solve bug#71760.
--
Damien Cassou
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
[-- Attachment #2: foo.c --]
[-- Type: text/plain, Size: 123 bytes --]
/**
* rsite nrsoti ernsto ierntires ntoritsen roitsenrsoit enrstoi ensrotie nrsit ensroit enrsoi ensrien
*/
int f() {
}
next reply other threads:[~2024-07-14 18:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-14 18:23 Damien Cassou [this message]
2024-07-14 18:44 ` bug#72116: 30.0.60; Filling c-ts-mode documentation is broken Eli Zaretskii
2024-07-17 4:18 ` Yuan Fu
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cynf4yuq.fsf@cassou.me \
--to=damien@cassou.me \
--cc=72116@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.