emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60047: closed ([PATCH] Treat C++ classes as defuns in C Tree-sitter


From: GNU bug Tracking System
Subject: bug#60047: closed ([PATCH] Treat C++ classes as defuns in C Tree-sitter mode)
Date: Wed, 14 Dec 2022 02:13:01 +0000

Your message dated Tue, 13 Dec 2022 18:12:02 -0800
with message-id <B2C93CB8-9AF4-4A9C-B3BA-D46C21EB6E1B@gmail.com>
and subject line Re: bug#60047: [PATCH] Treat C++ classes as defuns in C 
Tree-sitter  mode
has caused the debbugs.gnu.org bug report #60047,
regarding [PATCH] Treat C++ classes as defuns in C Tree-sitter mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
60047: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60047
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Treat C++ classes as defuns in C Tree-sitter mode Date: Tue, 13 Dec 2022 21:44:28 +0100
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.

Attachment: 0001-Treat-C-classes-as-defuns-in-C-Tree-sitter-mode.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#60047: [PATCH] Treat C++ classes as defuns in C Tree-sitter mode Date: Tue, 13 Dec 2022 18:12:02 -0800
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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]