GNU bug report logs - #74673
30.0.92; face warning on legal elisp syntax

Previous Next

Package: emacs;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Tue, 3 Dec 2024 18:50:01 UTC

Severity: normal

Found in version 30.0.92

Done: Christopher Howard <christopher <at> librehacker.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 74673 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: 74673 <at> debbugs.gnu.org
Subject: Re: bug#74673: 30.0.92; face warning on legal elisp syntax
Date: Tue, 03 Dec 2024 21:02:17 +0200
> From: Christopher Howard <christopher <at> librehacker.com>
> 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?




This bug report was last modified 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.