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#74673: 30.0.92; face warning on legal elisp syntax Date: Tue, 03 Dec 2024 21:02:17 +0200 Message-ID: <86h67k1tfq.fsf@gnu.org> References: <874j3kfvq8.fsf@librehacker.com> 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="31198"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74673@debbugs.gnu.org To: Christopher Howard Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 03 20:03:30 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 1tIYBF-0007w8-Pn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Dec 2024 20:03:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIYB2-0000FV-Gp; Tue, 03 Dec 2024 14:03:18 -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 1tIYAo-0000EF-Pd for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2024 14:03: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 1tIYAo-0002Cn-Cl for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2024 14:03: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=MfkzWDNSDaSMAInfJ1zsqpuY1gzFv3MWl4wR4Ss863U=; b=pCbCjyr/vbZtvzSe8qD8VfmF47zjyg/QlS4/GxemAgAOGGmMPABqOVXLFYZEYc4qTBhbEFtqaJHsRDnS/EUWiuur4OQ6uCDGkg5oQ9bwD3pu/6Ifc7gPpkAVIc0J51COtks5o3F4p8qQdNJpygUZ7b3WVJgXUcGzye20DaTIi4Lsb3iIb8d9rXSm1vuea5hARDFo9F5wp1FjNkMBGqg2FpQMNNe6kP/K6cyZ1VCKZ5ToGEkpBgSPdH/Tep4ZQ3U12hBIHko0IG72MbyULzToEEKzXjWQgBNhszicgrpQ02RWvASosvXlipFTY6FsjNSeLLM4SbGxjjwyY+72Pq1gGQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIYAo-0006NW-7J for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2024 14:03: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: Tue, 03 Dec 2024 19:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74673 X-GNU-PR-Package: emacs Original-Received: via spool by 74673-submit@debbugs.gnu.org id=B74673.173325254824445 (code B ref 74673); Tue, 03 Dec 2024 19:03:02 +0000 Original-Received: (at 74673) by debbugs.gnu.org; 3 Dec 2024 19:02:28 +0000 Original-Received: from localhost ([127.0.0.1]:32912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIYAG-0006MD-7m for submit@debbugs.gnu.org; Tue, 03 Dec 2024 14:02:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIYAD-0006Lw-UA for 74673@debbugs.gnu.org; Tue, 03 Dec 2024 14:02:26 -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 1tIYA7-00021b-FO; Tue, 03 Dec 2024 14:02:19 -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=MfkzWDNSDaSMAInfJ1zsqpuY1gzFv3MWl4wR4Ss863U=; b=QB0ALa700lc9iHzlI8rX byic4qu/8Lgvxg0AzZQtQVVWihI47An6E2TxiXNaAbXCMXTFQErXd/4DFdWqlKTPYYj7ECYce6OZ7 W/dBEnRDR4UfCqZvRa6AxJmP76UQdRaKIm2LMcru5ruuVFYZ20IlbAo6xOS5eXjd7QaTfunRoFVxY ponGpfYQUa9MQVon2XVegFRku7AOsbHG7VIg3TodwdSHht6o06kt253Alm9AcHZQCD8dt6fPKnccm HrJPmKfdz2cL3+LXwaQelYIikjza9jR771hnsHBiSqan8xVPcO0+Rtn+SErqDDHJJ0vnt9rMEtWpb Wo/hdvCCADiWjw==; In-Reply-To: <874j3kfvq8.fsf@librehacker.com> (message from Christopher Howard on Tue, 03 Dec 2024 09:49:03 -0900) 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:296378 Archived-At: > From: Christopher Howard > Date: Tue, 03 Dec 2024 09:49:03 -0900 > > Hi, in Elisp buffers, I am occasionally seeing a face warning (red colored on my system) for what appears to be fully legal and functional syntax. Here is a recent example: > > 1. emacs -Q > 2. paste the following into the *scratch* buffer > > ``` elisp > (t-transduce > (t-scan > (lambda (s c) > (concatenate 'string s (string c))) "") > #'t-cons > "hello") > ``` > > On my system, the text «"")», at the end of the «concatenate» line, is given font-lock-warning-face. Is this a bug, or some kind of warning about bad elisp style? The latter, I think. If you insert a newline before that "", does the warning face go away?