From: Yuan Fu <casouri@gmail.com>
To: "Daniel Martín" <mardani29@yahoo.es>
Cc: 60047-done@debbugs.gnu.org
Subject: bug#60047: [PATCH] Treat C++ classes as defuns in C Tree-sitter mode
Date: Tue, 13 Dec 2022 18:12:02 -0800 [thread overview]
Message-ID: <B2C93CB8-9AF4-4A9C-B3BA-D46C21EB6E1B@gmail.com> (raw)
In-Reply-To: <m1sfhj6nkj.fsf@yahoo.es>
Daniel Martín <mardani29@yahoo.es> writes:
> Tags: patch
>
>
> The attached patch makes C-M-a/C-M-e inside a C++ class definition in
> c++-ts-mode go to the beginning or the end of the class, respectively.
>
> I've added it to the base mode because I think it's harmless for C, and
> it can be convenient if we implement an Obj-C mode based on Tree-sitter.
>
> Thanks.
>
Applied, thanks!
Yuan
prev parent reply other threads:[~2022-12-14 2:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m1sfhj6nkj.fsf.ref@yahoo.es>
2022-12-13 20:44 ` bug#60047: [PATCH] Treat C++ classes as defuns in C Tree-sitter mode Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-14 2:12 ` Yuan Fu [this message]
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=B2C93CB8-9AF4-4A9C-B3BA-D46C21EB6E1B@gmail.com \
--to=casouri@gmail.com \
--cc=60047-done@debbugs.gnu.org \
--cc=mardani29@yahoo.es \
/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).