unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: ej32u@protonmail.com
Cc: 43586@debbugs.gnu.org
Subject: bug#43586: Flymake can't understand `cl-loop' and `if-let*'.
Date: Thu, 24 Sep 2020 16:44:05 +0200	[thread overview]
Message-ID: <87wo0j9qve.fsf@gnus.org> (raw)
In-Reply-To: <09d3d404-3ee4-abd6-468e-fe34af9db0cf@protonmail.com> (ej32u@protonmail.com's message of "Thu, 24 Sep 2020 02:10:41 +0000")

ej32u@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





  reply	other threads:[~2020-09-24 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <839ce061-6550-666e-bb2e-40cface2549c@protonmail.com>
2020-09-24  2:10 ` bug#43586: Flymake can't understand `cl-loop' and `if-let*' ej32u--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-24 14:44   ` Lars Ingebrigtsen [this message]
2020-09-26  0:24     ` ej32u--- via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wo0j9qve.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=43586@debbugs.gnu.org \
    --cc=ej32u@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).