GNU bug report logs - #64830
29.1; C++ treesitter mode no coloration

Previous Next

Package: emacs;

Reported by: David Come <david.come <at> ageagle.com>

Date: Mon, 24 Jul 2023 10:34:01 UTC

Severity: normal

Merged with 64818

Found in versions 29.1, 30.0.50

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #79 received at 64830 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 64830 <at> debbugs.gnu.org, casouri <at> gmail.com
Subject: Re: bug#64830: 30.0.50 C++ treesitter mode no coloration
Date: Tue, 27 Aug 2024 15:01:59 +0300
> Date: Mon, 26 Aug 2024 19:50:43 +0000
> Cc: casouri <at> gmail.com, 64830 <at> debbugs.gnu.org
> From: Alan Mackenzie <acm <at> muc.de>
> 
> > We support grammar libraries in ~/.emacs.d/tree-sitter so that users
> > could easily install versions of grammar libraries different from what
> > their sysadmins decide to install.
> 
> Ah, OK.  Seems like a good reason.
> 
> How about outputting a message looking something like this:
> 
>     Loading /home/acm/.emacs.d/tree-sitter/libtree-sitter.so ....Done
> 
> ..  This wouldn't get in the way, yet might well prevent some of the
> problems I've been having over the last few days.

As a diagnostic tool, by default off, maybe.  Annoying everyone with
this message, when it will almost always be redundant, doesn't sound
like TRT to me.

And note that in the usual case, when the grammar library is loaded
from a system-wide directory of shared libraries, Emacs doesn't even
know the absolute file name of the library, just its base name.




This bug report was last modified 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.