From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jakub T. Jankiewicz" <jcubic@jcubic.pl> Newsgroups: gmane.emacs.bugs Subject: bug#61876: 28.2; Invalid highlighting of expression comments in Scheme Date: Tue, 28 Feb 2023 20:25:41 +0100 Message-ID: <20230228202541.21923b5c@jcubic> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40521"; mail-complaints-to="usenet@ciao.gmane.io" To: 61876@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 28 21:07:15 2023 Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org> 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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1pX6Fn-000AL1-CS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Feb 2023 21:07:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <bug-gnu-emacs-bounces@gnu.org>) id 1pX6Fc-0007Uk-GD; Tue, 28 Feb 2023 15:07: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 <Debian-debbugs@debbugs.gnu.org>) id 1pX6Fa-0007UI-O7 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 15:07: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 <Debian-debbugs@debbugs.gnu.org>) id 1pX6Fa-0006ks-Fk for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 15:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pX6Fa-0002a3-87 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 15:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Jakub T. Jankiewicz" <jcubic@jcubic.pl> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Feb 2023 20:07:02 +0000 Resent-Message-ID: <handler.61876.B.16776147729862@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61876 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16776147729862 (code B ref -1); Tue, 28 Feb 2023 20:07:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Feb 2023 20:06:12 +0000 Original-Received: from localhost ([127.0.0.1]:52068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1pX6Eg-0002Yu-N0 for submit@debbugs.gnu.org; Tue, 28 Feb 2023 15:06:12 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <SRS0=Tw3+=6Y=jcubic.pl=jcubic@attmail.pl>) id 1pX5h3-0001YN-Ho for submit@debbugs.gnu.org; Tue, 28 Feb 2023 14:31:21 -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 <SRS0=Tw3+=6Y=jcubic.pl=jcubic@attmail.pl>) id 1pX5gq-0006me-G2 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 14:31:13 -0500 Original-Received: from u1.atthost.pl ([2a0c:5840:0:15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <SRS0=Tw3+=6Y=jcubic.pl=jcubic@attmail.pl>) id 1pX5gk-0007zo-Pw for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 14:31:06 -0500 Original-Received: from localhost (unknown [127.0.0.1]) by u1.atthost.pl (Postfix) with ESMTP id A81D11236BC for <bug-gnu-emacs@gnu.org>; Tue, 28 Feb 2023 19:25:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at atthost.pl Original-Received: from u1.atthost.pl ([185.255.40.21]) by localhost (atthost.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 61RL7-bF36_E for <bug-gnu-emacs@gnu.org>; Tue, 28 Feb 2023 20:25:43 +0100 (CET) Original-Received: from jcubic (unknown [178.218.193.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jcubic@jcubic.pl) by u1.atthost.pl (Postfix) with ESMTPSA id 22B91123184 for <bug-gnu-emacs@gnu.org>; Tue, 28 Feb 2023 20:25:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 u1.atthost.pl 22B91123184 X-Mailer: Claws Mail 4.1.1 (GTK 3.24.36; x86_64-redhat-linux-gnu) Received-SPF: pass client-ip=2a0c:5840:0:15::1; envelope-from=SRS0=Tw3+=6Y=jcubic.pl=jcubic@attmail.pl; helo=u1.atthost.pl X-Spam_score_int: 17 X-Spam_score: 1.7 X-Spam_bar: + X-Spam_report: (1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 28 Feb 2023 15:06:05 -0500 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" <bug-gnu-emacs.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs> List-Post: <mailto:bug-gnu-emacs@gnu.org> List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=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:257013 Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/257013> This is valid expression in Scheme: ``` (list #;#;42 10 10) ``` that evaluates to `(10)` double expression comment eat two S-Expressions in a row. but scheme-mode highlights the whole line as comment (starting at #;) -- Jakub T. Jankiewicz, Senior Front-End Developer https://jcubic.pl/me