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

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

bug#61232: closed (30.0.50; hide show and tree sitter)


From: GNU bug Tracking System
Subject: bug#61232: closed (30.0.50; hide show and tree sitter)
Date: Thu, 02 Feb 2023 17:44:02 +0000

Your message dated Thu, 02 Feb 2023 19:43:13 +0200
with message-id <83mt5wvu8e.fsf@gnu.org>
and subject line Re: bug#61232: 30.0.50; hide show and tree sitter
has caused the debbugs.gnu.org bug report #61232,
regarding 30.0.50; hide show and tree sitter
to be marked as done.

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


-- 
61232: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61232
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 30.0.50; hide show and tree sitter Date: Thu, 02 Feb 2023 13:15:03 +0100
Hello,

I'm trying the new tree-sitter modes, specifically for C++, but
apparently there is a problem with hide-show mode.

With c++-mode, a function like this:

int main() {
  int i = 0;
}

gets collapsed, properly, to this:

int main() {...}

meanwhile, with c++-ts-mode:

int main() {... int i = 0;
}

I did not investigate the causes further.
Maybe is a matter of a simple configration.

My emacs: GNU Emacs 30.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 
3.24.36, cairo version 1.17.6) of 2023-02-01




--- End Message ---
--- Begin Message --- Subject: Re: bug#61232: 30.0.50; hide show and tree sitter Date: Thu, 02 Feb 2023 19:43:13 +0200
> From: Nasser Alkmim <nasser.alkmim@gmail.com>
> Date: Thu, 02 Feb 2023 13:15:03 +0100
> 
> I'm trying the new tree-sitter modes, specifically for C++, but
> apparently there is a problem with hide-show mode.
> 
> With c++-mode, a function like this:
> 
> int main() {
>   int i = 0;
> }
> 
> gets collapsed, properly, to this:
> 
> int main() {...}
> 
> meanwhile, with c++-ts-mode:
> 
> int main() {... int i = 0;
> }
> 
> I did not investigate the causes further.
> Maybe is a matter of a simple configration.

Yes, hideshow.el didn't know about the *-ts-mode modes.  Now it does,
at least on the release branch (soon to be merged to master).

Thanks.


--- End Message ---

reply via email to

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