all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: help-gnu-emacs@gnu.org
Subject: Re: Flymake for elisp does not respect `load-path`
Date: Sat, 15 May 2021 21:31:32 +0200	[thread overview]
Message-ID: <87wnrzhjvl.fsf@fastmail.fm> (raw)
In-Reply-To: <87sg2ousf9.fsf@gmail.com>


On Sat, May 15 2021, Max Brieiev wrote:
> In elisp buffer, flymake reports an error for the following line:
>
> (require 'dash)
>
> The reported error is "Cannot open load file: No such file or directory,
> dash".
>
> dash is obviously on `load-path`. How can I make flymake happy?

Set `elisp-flymake-byte-compile-load-path`, perhaps? I know that for flymake,
you need to set `flycheck-emacs-lisp-load-path` for this to work.

-- 
Joost Kremers
Life has its moments



  parent reply	other threads:[~2021-05-15 19:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-15 11:50 Flymake for elisp does not respect `load-path` Max Brieiev
2021-05-15 15:43 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-05-15 21:01   ` Max Brieiev
2021-05-15 19:31 ` Joost Kremers [this message]
2021-05-15 19:38   ` Joost Kremers
2021-05-15 21:26   ` Max Brieiev
2021-05-15 21:39     ` Joost Kremers
2021-05-15 23:20 ` Philip Kaludercic

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

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

  git send-email \
    --in-reply-to=87wnrzhjvl.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.