unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nasser Alkmim <nasser.alkmim@gmail.com>
To: 61232@debbugs.gnu.org
Subject: bug#61232: 30.0.50; hide show and tree sitter
Date: Thu, 02 Feb 2023 13:15:03 +0100	[thread overview]
Message-ID: <86tu04462g.fsf@gmail.com> (raw)


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






             reply	other threads:[~2023-02-02 12:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-02 12:15 Nasser Alkmim [this message]
2023-02-02 17:43 ` bug#61232: 30.0.50; hide show and tree sitter Eli Zaretskii

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=86tu04462g.fsf@gmail.com \
    --to=nasser.alkmim@gmail.com \
    --cc=61232@debbugs.gnu.org \
    /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).