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#74277: 29.4; rust-ts-mode doesn't highlight some function calls Date: Sat, 09 Nov 2024 10:52:14 +0200 Message-ID: <86bjyookld.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2031"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74277@debbugs.gnu.org To: acidbong@tilde.club, Randy Taylor , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 09 09:53:11 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 1t9hDT-0000Mj-2T for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Nov 2024 09:53:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9hDL-000730-8B; Sat, 09 Nov 2024 03:53:03 -0500 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 1t9hDK-00072c-DB for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 03:53:02 -0500 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 1t9hDK-0007F6-4h for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 03:53:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=LfgGX1M9O3IBzkm0/AEDKbnFFFcpHAf8lJOmcKh4lmU=; b=sWAe97PypXq/LVKUWI1hwvwkg1nhAkw2W3hcZWQZ1K+co4in72WYmYNzDk4VOq0zTlneZIG2Fp9aZbrv7Vq8N9u7ec5+mXcoozYC2NtINVovZHLh5+i+qftK2VxlzPlhhZd/elMIWWhR9T4S6mKZI3yXhFoneRrKPDgwvkQkkswPnC2/sCpfyN6bZMsyMfTxw8xlnYVUsxZfXBszEyODS6lgXrGfF2wQAZY9XoNx06cZedrnbMC3XBgl3eBQxePxjfcIQ5QX9o0B2Ew74CUGpf2LYwGu8oUS/G3cFhITQo7XsOMFVKOwrwDWyWG36ctZV3siSP3UpFTvD7e1wmre2w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9hDJ-0000Rd-W4 for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 03:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 08:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74277 X-GNU-PR-Package: emacs Original-Received: via spool by 74277-submit@debbugs.gnu.org id=B74277.17311423471654 (code B ref 74277); Sat, 09 Nov 2024 08:53:01 +0000 Original-Received: (at 74277) by debbugs.gnu.org; 9 Nov 2024 08:52:27 +0000 Original-Received: from localhost ([127.0.0.1]:53337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9hCk-0000Qc-Gr for submit@debbugs.gnu.org; Sat, 09 Nov 2024 03:52:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9hCi-0000QI-2g for 74277@debbugs.gnu.org; Sat, 09 Nov 2024 03:52:25 -0500 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 1t9hCc-000747-G0; Sat, 09 Nov 2024 03:52:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=LfgGX1M9O3IBzkm0/AEDKbnFFFcpHAf8lJOmcKh4lmU=; b=sITIvbsVEiiBOq5PvhOE EP2VxhC3E7KHNu8XhmGTUdZVLHn/pkiEHvm3km/ixh88I73mTcd0p/lwkDsQQqjvpubkxfWTN4gCv x0tuV0rkskU33WNmtUobrXhb75/xAw+YuS04YT6hhVlyciKSOkVI9dqMQKlE8BhGQaxAXLNWBE2yF HAyMO4K0fkoIhbIznxFJuaYjfJlTNHZYEUZnmOjH1NeGQpNlUXEf/aGI15gewFbQ9CD1Ago3+42tz kj3ITHlspvcJ2RbMmZ4Uu6+avWNGqPduPruHdQYWUfnRpUI8A0HVRYloErcFhqCHOIooVUg3O+Xfl 5K0dHwEE2jRyZw==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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:295103 Archived-At: > Date: Fri, 08 Nov 2024 20:24:07 +0000 > From: acidbong--- via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > rust-ts-mode highlights function calls when they're used in an > assignment or as statements, but not in string formatting: > > > ``` > println!("Some line and {}", some_function(a, b)) >                            # ^^^^^^^^^^^^^ this is not getting highlighted > ``` > > This is how it looks in Emacs (treesit-level is 4 btw): > https://matrix.envs.net/_matrix/media/r0/download/envs.net/66652827fc7545e57d2eef263ee28ef6bc2ef1c01854976160883015680 > > This is how it looks in Neovim (with treesitter highlighting on): > https://matrix.envs.net/_matrix/media/r0/download/envs.net/382a104ee3e6e4dacabebfa7f84f4b9b7231b1171854976151936565248 > > ----------------------------------- Thanks. Randy/Yuan, any suggestions or fixes?