GNU bug report logs -
#69562
29.2.50; go-ts-mode does not handle comments with fill-paragraph
Previous Next
Reported by: Ankit Gadiya <ankit <at> argp.in>
Date: Tue, 5 Mar 2024 12:24:01 UTC
Severity: normal
Found in version 29.2.50
Done: Dmitry Gutov <dmitry <at> gutov.dev>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Ankit Gadiya <ankit <at> argp.in>
> Date: Thu, 7 Mar 2024 15:45:02 +0530
>
> * emacs -Q main.go
> * M-x go-ts-mode
> * Highlight the full docstring line with Mouse.
> * M-x fill-paragraph
Thanks. Now it's clear.
> I think the difference between Dmitry and me was that I was highlighting the
> docstring and Dmitry was not. I tried the same steps but without highlighting
> just with the cursor somewhere in the docstring line and it worked as expected.
> I believe this is what Dmitry observed as well. This is the content of my buffer
> without highlighting the step.
Well, fill-paragraph is documented to behave differently when the
region is active. Did you have any special reason to highlight the
comment, instead of just typing M-q inside the comment?
This bug report was last modified 1 year and 127 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.