From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59897: 29.0.60; csharp-ts-mode: variable-name fontified as method when invoking method with generic type-argument. Date: Fri, 09 Dec 2022 22:11:41 +0100 Message-ID: <87k030i8oi.fsf@thornhill.no> References: <3703C4B6-0BCF-4EFB-A996-F1B0D6896DD6@gmail.com> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31144"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jostein@kjonigsen.net, 59897@debbugs.gnu.org To: Yuan Fu , Jostein =?UTF-8?Q?Kj=C3=B8nigsen?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 09 22:12:13 2022 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 1p3kfD-0007kL-9Z for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Dec 2022 22:12:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3kf6-0003zW-R1; Fri, 09 Dec 2022 16:12:04 -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 1p3kf4-0003yl-Mn for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 16:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3kf4-00026o-B6 for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 16:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3kf3-0005jV-Sg for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 16:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Dec 2022 21:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59897 X-GNU-PR-Package: emacs Original-Received: via spool by 59897-submit@debbugs.gnu.org id=B59897.167062030722028 (code B ref 59897); Fri, 09 Dec 2022 21:12:01 +0000 Original-Received: (at 59897) by debbugs.gnu.org; 9 Dec 2022 21:11:47 +0000 Original-Received: from localhost ([127.0.0.1]:38543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3keo-0005jE-PH for submit@debbugs.gnu.org; Fri, 09 Dec 2022 16:11:47 -0500 Original-Received: from out-155.mta0.migadu.com ([91.218.175.155]:52332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3ken-0005j8-Nw for 59897@debbugs.gnu.org; Fri, 09 Dec 2022 16:11:46 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1670620303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C7dyzb6wXtBi1lJSAu85u2yIA1q3PpR1sziRhrqFqkY=; b=E8iAgbDISww2mzUIRqvbPGslWj/fPOz73egD1nN97E/dxo9ErbxI/MsDhfcPQlESBrrGck 08MhcKZ+Gyod/rDiPh6SANG6phwrPQ0iN62U9nf3z+vkys5FxY9mbQ8/956CrYNX7Mas0i Q52NwSkT47Jak2yVI+sf996mS6fVAxs1L1oky792VuqTCRPTUeL9JdMdUNvXbRN/M/h8Yc cXVePyq62iMC6ioLRUkmrFB0Fk2iSY+pN4uuxj0e/vspFMV9NIuwlfcJfIPLeRCoGDGbL/ vevhCvhHZbXS1xxS3igCIzRJkoj46wE9p5uN03DG2nvYIK9JUeuDJ19f5K67ZQ== In-Reply-To: <3703C4B6-0BCF-4EFB-A996-F1B0D6896DD6@gmail.com> X-Migadu-Flow: FLOW_OUT 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:250464 Archived-At: Hi! >> >> In that regard, I miss our old test-suite from github's csharp-mode. >> It was a nice safety-net when making changes like this. > > A test suite is most welcome. I think we can even come up with a general > framework for testing fontification, indent, defun movement, imenu, etc. > To generate a test you would just need to open a file, verify everything > is expected, and run a command which records the current fontification > and indentation, etc, to a file. Then a test suite will just use that > file. I wonder if csharp-mode had something like this? > Yeah we had some trickery to check the font-locking and indentation, but it relies on external packages IIRC.