all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs 29.1: Errors with java-ts-mode on Windows
Date: Tue, 31 Oct 2023 14:23:20 +0200	[thread overview]
Message-ID: <83o7gf9e13.fsf@gnu.org> (raw)
In-Reply-To: <82ttq7jaef.fsf@gmail.com> (message from Pascal Quesseveur on Tue, 31 Oct 2023 12:31:36 +0100)

> From: Pascal Quesseveur <pquessev@gmail.com>
> Date: Tue, 31 Oct 2023 12:31:36 +0100
> 
> I have installed Emacs 29.1 on Windows from:
> 
>   - emacs-29.1_2-no-deps,
>   - emacs-29-2023-08-10-deps,
> 
>   - compiled libraries for treesitter from
>     https://github.com/emacs-tree-sitter/tree-sitter-langs/releases. I
>     use the latest available version: 0.12.73.
> 
> I use major-mode-remap-alist to declare the treesitter modes I want to
> use:
> 
> (setq major-mode-remap-alist
>  '((c-mode . c-ts-mode)
>    (cpp-mode . cpp-ts-mode)
>    (java-mode . java-ts-mode)))
> 
> It's working fine for c and c++ modes, but I get the following error
> when loading a java source file:

And if you don't use major-mode-remap-alist, but instead load
jave-ts-mode manually and visit the same source file, this problem
doesn't happen?



  reply	other threads:[~2023-10-31 12:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-31 11:31 emacs 29.1: Errors with java-ts-mode on Windows Pascal Quesseveur
2023-10-31 12:23 ` Eli Zaretskii [this message]
2023-10-31 14:22   ` Pascal Quesseveur
2023-10-31 14:52     ` Eli Zaretskii
2023-10-31 16:28       ` Pascal Quesseveur
2023-11-06 10:13   ` Pascal Quesseveur
2023-11-13  9:24   ` Pascal Quesseveur
2023-11-13 14:24     ` Eli Zaretskii
2023-11-13 14:47       ` Pascal Quesseveur
2023-11-13 15:08         ` Eli Zaretskii
2023-11-13 15:54           ` Pascal Quesseveur
2023-11-13 16:48             ` Eli Zaretskii
2023-11-13 16:58               ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83o7gf9e13.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.