unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mauritz Stenek via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 71679@debbugs.gnu.org
Subject: bug#71679: 29.3; treesit-node-child function chokes and crashes emacs for nodes with large number of child nodes
Date: Thu, 20 Jun 2024 11:07:28 -0600	[thread overview]
Message-ID: <87zfrflezz.fsf@disroot.org> (raw)
In-Reply-To: <86sex7mude.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Jun 2024 19:50:05 +0300")

On 2024-06-20 at 10:50, Eli Zaretskii <eliz@gnu.org> wrote:

> [Please use Reply All to keep the bug tracker CC'ed.]

Will do -- I'm new at this.

>> From: Mauritz Stenek <mstenek@disroot.org>
>> Date: Thu, 20 Jun 2024 10:36:09 -0600
>> 
>> Here's the recipe:
>> 
>> 1) launch emacs -q
>> 
>> 2) Execute the following:
>> 
>> ```
>> (setq treesit-language-source-alist
>>       '((julia 
>>       "https://github.com/tree-sitter/tree-sitter-julia")))
>> 
>> (setq major-mode-remap-alist
>>       '((julia-mode . julia-ts-mode)))
>> 
>> (treesit-install-language-grammar 'julia)
>> ```
>
> Thanks, but which julia-mode and julia-ts-mode are you using?

Julia mode: https://github.com/JuliaEditorSupport/julia-emacs
Julia ts mode: https://github.com/nick4f42/julia-ts-mode

> Or maybe it will be easier for everyone if you show a recipe 
> with
> java-ts-mode?

Its basically the same as the julia example, just replace the 
references to julia with java.

-- 
Mauritz Stenek <mstenek@disroot.org>





  reply	other threads:[~2024-06-20 17:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20 15:08 bug#71679: 29.3; treesit-node-child function chokes and crashes emacs for nodes with large number of child nodes Mauritz Stenek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-20 16:02 ` Eli Zaretskii
     [not found]   ` <877cejmv0m.fsf@disroot.org>
2024-06-20 16:50     ` Eli Zaretskii
2024-06-20 17:07       ` Mauritz Stenek via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-06-20 18:06         ` Eli Zaretskii
2024-06-20 18:24           ` Mauritz Stenek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-20 18:35             ` Eli Zaretskii
2024-06-20 19:05               ` Mauritz Stenek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-20 19:10                 ` Eli Zaretskii
2024-06-20 19:22                   ` Eli Zaretskii
2024-06-20 19:46                     ` Mauritz Stenek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-21  5:55                       ` Eli Zaretskii
2024-06-20 20:23                     ` Mauritz Stenek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-21  6:04                       ` Eli Zaretskii
2024-06-20 19:31                   ` Mauritz Stenek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-20 19:43                     ` 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=87zfrflezz.fsf@disroot.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=71679@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=mstenek@disroot.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).