GNU bug report logs - #43586
Flymake can't understand `cl-loop' and `if-let*'.

Previous Next

Package: emacs;

Reported by: ej32u <at> protonmail.com

Date: Thu, 24 Sep 2020 02:11:01 UTC

Severity: normal

Done: ej32u <at> protonmail.com

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: ej32u <at> protonmail.com
Cc: 43586 <at> debbugs.gnu.org
Subject: bug#43586: Flymake can't understand `cl-loop' and `if-let*'.
Date: Thu, 24 Sep 2020 16:44:05 +0200
ej32u <at> protonmail.com writes:

> Flymake is giving many errors, for a command that I believe works. This happens 
> with a clean init file.

[...]

> Here are some of the errors Flymake reports:
>
>     19   0 warning  Unused lexical variable ‘formatted-bookmarks’
>     22   3 warning  ‘(chosen-cand (selectrum-read "Bookmark: " 

[...]

> You can see that it is treating key words as variables in `cl-loop', and cannot 
> see that `actual-data' is defined in `if-let*'. The command works fine when 
> evaluated.

Do the warnings go away if you put

(require 'cl-lib)
(require 'subr-x)

in your file?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 298 days ago.

Previous Next


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