From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Randy Taylor <dev@rjt.dev>
Cc: Yuan Fu <casouri@gmail.com>, Eli Zaretskii <eliz@gnu.org>,
60025@debbugs.gnu.org
Subject: bug#60025: [PATCH] Add go-ts-mode and go-mod-ts-mode
Date: Thu, 15 Dec 2022 19:06:13 +0100 [thread overview]
Message-ID: <C829DD5F-821C-4C9D-A6D2-19A93DE3AFB8@thornhill.no> (raw)
In-Reply-To: <Bg8ylk0MrloqJ_1vSttjPLe6VHpZNNs9Bd8gpKtf34C_rnkNgetiJf39v19xmrxyVyBkQ0wbiTJMc1-mqh_AkTZQnLkxPD6fPYaWYIc5NFQ=@rjt.dev>
On 15 December 2022 17:40:54 CET, Randy Taylor <dev@rjt.dev> wrote:
>On Thursday, December 15th, 2022 at 02:20, Theodor Thornhill <theo@thornhill.no> wrote:
>>
>> Randy Taylor dev@rjt.dev writes:
>>
>> >
>> > Thanks Theo, that worked perfectly. We should consider adding
>> > something like this to the documentation somewhere, since I didn't see
>> > anything like this anywhere (although maybe I missed it).
>>
>>
>> I'm glad! Could be part of a tips and tricks or something?
>
>I think it should probably be part of whatever indentation documentation there is.
>
>>
>> No rules for comment?
>>
>> [...]
>>
>> No rules for comment here either?
>
>Which rules should I add?
>
I like to set no-indent in a comment so that indentation commands don't format. That should be fillings job, imo :)
>I see these rules in some of the ts modes:
>((and (parent-is "comment") comment-end) comment-start -1)
>((parent-is "comment") comment-start-skip 0)
>
>What are they matching? When could a comment be a parent?
In some languages comment has a parent which is a comment. Just use inspect-mode inside of a comment and see what makes sense :)
>
>(BTW attached a new patch with an updated NEWS entry after the recent changes there).
next prev parent reply other threads:[~2022-12-15 18:06 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-13 2:13 bug#60025: [PATCH] Add go-ts-mode and go-mod-ts-mode Randy Taylor
2022-12-13 12:25 ` Eli Zaretskii
2022-12-13 19:39 ` Randy Taylor
2022-12-14 12:02 ` Eli Zaretskii
2022-12-14 16:21 ` Randy Taylor
2022-12-14 19:55 ` Yuan Fu
2022-12-14 20:54 ` Randy Taylor
2022-12-14 21:27 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-14 21:56 ` Randy Taylor
2022-12-15 2:15 ` Randy Taylor
2022-12-15 7:20 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-15 16:40 ` Randy Taylor
2022-12-15 18:06 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-12-15 19:45 ` Randy Taylor
2022-12-15 19:59 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-15 20:09 ` Randy Taylor
2022-12-15 22:22 ` Randy Taylor
2022-12-14 2:22 ` Yuan Fu
2022-12-16 1:22 ` Yuan Fu
2022-12-16 2:05 ` Randy Taylor
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=C829DD5F-821C-4C9D-A6D2-19A93DE3AFB8@thornhill.no \
--to=bug-gnu-emacs@gnu.org \
--cc=60025@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=dev@rjt.dev \
--cc=eliz@gnu.org \
--cc=theo@thornhill.no \
/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).