From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Flymake for elisp does not respect `load-path` Date: Sat, 15 May 2021 21:31:32 +0200 Message-ID: <87wnrzhjvl.fsf@fastmail.fm> References: <87sg2ousf9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26212"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.12; emacs 27.2.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 15 21:34:42 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1li03d-0006d9-Mt for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 15 May 2021 21:34:42 +0200 Original-Received: from localhost ([::1]:36708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1li03c-00017U-OS for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 15 May 2021 15:34:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li031-00017M-8l for help-gnu-emacs@gnu.org; Sat, 15 May 2021 15:34:03 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li02z-0003lL-0L for help-gnu-emacs@gnu.org; Sat, 15 May 2021 15:34:02 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 26C105C0135 for ; Sat, 15 May 2021 15:33:58 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 15 May 2021 15:33:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:subject:date:in-reply-to:message-id :mime-version:content-type; s=fm3; bh=QVnnYjKQrRE7yquJfGsKQuWC3F 5dyWh/5SwUCxIv/qo=; b=A+9t6tGZyH7N6eDZ6uhs794yECUUY6KPoDDcnZ0frR 0kIh8WR6VuN0Vjuj8B8xBXK7WLqUfx1kiDP/NXdOTTm29aEC3x3QMr15Lw4Lg6KK rsi+D7GB53BO95cXACY2aiGelLShMiE/Dv+86RpsKGGRyaBWjtl/v5zLrZCKvTw0 GlU2/Lb5vcma5sMekVP3vvZ7cUTHBYk7MSJmnzxjaosvXq8gOmGb/AfjYp2KgTYK rk4LAd/kTgYqKrosJxFF3WnxhY9e5XA3jLYT9Rte19uZPKxbEdQk3v/u7BRVg3/D IQzo9ixtJaKXK75o/aY8aU7WqGb3Ih+RKkRtO2AI/gjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=QVnnYj KQrRE7yquJfGsKQuWC3F5dyWh/5SwUCxIv/qo=; b=UF+axyHyt9/T7jKqFeCv3d xo4IfRcL6V5fkL8+wYqHWOYt9/lQzi1Y4cdyJirTT8EeKx71ko+ovNnYhdyjg3LJ wgFaLcBQbZPeN9rpeiDdSzNs0mvg0oNbYYQqKx9AB6MYA+y07m1Uc1fnVJYDElGw vSS1vUnjDdJf9kIDcgDW7MQEMoyMoUp36FMOTJrteMJGBA7ZXy375ggUSeg4ECKy K00bVrtXZy4PvS5dBq2z9bl5XuEXq+fybtAIYQS3n0sLU8Rome+IxOUF4z7akJuv 4Q9p5MtKNteXGMysO4Qq6wKnRtLwbPwGSTryJLznWxLDQgAX9DtsuSrOYzE/Eejg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeitddgudefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgv mhgvrhhssehfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpedviefhteeuve ekudetheduieehvdelgfeijeehvdetfeegleelhefhjeduieejveenucfkphepfedurddu jedrvdehuddrudelleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: from Swift.fastmail.com (ip1f11fbc7.dynamic.kabel-deutschland.de [31.17.251.199]) by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 15 May 2021 15:33:57 -0400 (EDT) In-reply-to: <87sg2ousf9.fsf@gmail.com> Received-SPF: pass client-ip=66.111.4.25; envelope-from=joostkremers@fastmail.fm; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129796 Archived-At: 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