From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64830: 30.0.50 C++ treesitter mode no coloration Date: Tue, 27 Aug 2024 15:01:59 +0300 Message-ID: <86y14ii37s.fsf@gnu.org> References: <86h6bk5nnu.fsf@gnu.org> <3C502C2B-829D-42C3-A74A-2A783F5880CE@gmail.com> <868qwjjhq3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18388"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64830@debbugs.gnu.org, casouri@gmail.com To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 27 14:03:37 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1siuvB-0004bd-A2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Aug 2024 14:03:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siuum-0000zG-K3; Tue, 27 Aug 2024 08:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1siuuk-0000yP-IX for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2024 08:03:10 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1siuuj-0004sf-V3 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2024 08:03:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=oh9VTYwaBM3TJ+TkgUTrf3cs71fU79k+G6LeWgE7EK8=; b=BrErfTwhvDTfSedCGBWzg6ynGKfl4XLVPSeoKxiVBg4pBDWd7YGzYjkWfk1EQ/+71AObfPJ6HyITpD/lA/WjaKYT8kPWnpsTNl1ypZNlDR1W8fu/o3BUzNPR9kdSA6BpZ9KHKsrkclBLzyCf0kBWrV9BqCJXIG9NyjZJkskezs+M1edFTpUtWJYVgSLzXi+sPfmzZ/j+GO7L8saUIa0fpez432+erKpevZ5fm8QwOQaGid6UOpmRSlYmMACYOJAIMZSOWn41nqNt5RXgpyewL0JBDj939fQTl1Afh07sQi+l+dq7cF//yKWH19P3kw+deKRYH6UKUvP6Nc461lo7bw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siuva-0001CA-FB for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2024 08:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Aug 2024 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64830 X-GNU-PR-Package: emacs Original-Received: via spool by 64830-submit@debbugs.gnu.org id=B64830.17247601854519 (code B ref 64830); Tue, 27 Aug 2024 12:04:02 +0000 Original-Received: (at 64830) by debbugs.gnu.org; 27 Aug 2024 12:03:05 +0000 Original-Received: from localhost ([127.0.0.1]:46178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siuuf-0001Ap-FN for submit@debbugs.gnu.org; Tue, 27 Aug 2024 08:03:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siuud-0001AK-9c for 64830@debbugs.gnu.org; Tue, 27 Aug 2024 08:03:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1siutg-0004eN-27; Tue, 27 Aug 2024 08:02:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=oh9VTYwaBM3TJ+TkgUTrf3cs71fU79k+G6LeWgE7EK8=; b=expRjqfLdVyx aB+BzV3Ru1cDcy9YjtwmPHtiz/S3/UTo3Gzc9m7qYW7fH2eSMMOr6OUYcmD1Bc8ya01Fc6h1U9x83 V68RIQzmget0xa1MJYPeATfiT7QpgqWOvbSgeQiGYAcCa5nhPIkBLmZp9X9BGC+YNyXRSAMrH+jTB 59FWtYjTOAEzy8QRbnza1IEeFCaZEg3ntZ1PJ1CtehLjrldwGlheodB/HtfIcGA8Co+FUd0iRHmqN kN+KO3dl4SmQQ/N781V3CfXkONPX0yU8EO62Nn2HC8l3TWTrD7T/0YZwOY7rZQC7LHEleTJT8NgvH VoLLQ50WKpUNwrSOkeI70Q==; In-Reply-To: (message from Alan Mackenzie on Mon, 26 Aug 2024 19:50:43 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290814 Archived-At: > Date: Mon, 26 Aug 2024 19:50:43 +0000 > Cc: casouri@gmail.com, 64830@debbugs.gnu.org > From: Alan Mackenzie > > > 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.