Subject: Re: bug#48452: 28.0.50; flymake for elisp does not respect `load-path`

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 14 Jul 2022 19:15:50 +0200

Max Brieiev <[email-masked]> writes:

> I think this issue can not be reproduced with emacs -Q, because in this
> case Elpa packages are not added to load-path. With emacs -Q, flymake
> will rightfully complain "No such file or directory", when you `(require
> 'any-elpa-package)`

OK; so a way to reproduce this is to say (with "emacs -Q"):

M-: (push (expand-file-name "~/.emacs.d/elpa/compat-28.1.1.1/") load-path)
M-x flymake-mode

and then notice that there's a warning on

(require 'subr-x)
(require 'compat)

even though it can be required fine.

I've added João to the CCs; perhaps he has some comments.

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