From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#48452: 28.0.50; flymake for elisp does not respect `load-path` Date: Thu, 14 Jul 2022 19:15:50 +0200 Message-ID: <87ilnzaa49.fsf@gnus.org> References: <8735unafob.fsf@gmail.com> <877d4hs084.fsf@gnus.org> <87v8s1untg.fsf@gmail.com> <874jzlp12v.fsf@gnus.org> <87wnchc75r.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33387"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 48452@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Max Brieiev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 14 19:17:18 2022 Return-path: Envelope-to: geb-bug-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 1oC2Sj-0008PZ-Mp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 19:17:17 +0200 Original-Received: from localhost ([::1]:32876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oC2Si-0002Tk-JP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 13:17:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oC2SV-0002TV-AM for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 13:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oC2SU-00045T-JB for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 13:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oC2SU-0001ru-B3 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 13:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2022 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48452 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 48452-submit@debbugs.gnu.org id=B48452.16578189667092 (code B ref 48452); Thu, 14 Jul 2022 17:17:02 +0000 Original-Received: (at 48452) by debbugs.gnu.org; 14 Jul 2022 17:16:06 +0000 Original-Received: from localhost ([127.0.0.1]:38730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oC2RZ-0001qK-OP for submit@debbugs.gnu.org; Thu, 14 Jul 2022 13:16:05 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:36618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oC2RV-0001pW-6W for 48452@debbugs.gnu.org; Thu, 14 Jul 2022 13:16:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=bEPho/VsHjGxW5eF/+n2ro17x2nSZyDYW9l/Fu+DsGU=; b=Az+N3/MgihNkzG+7OOoHuWAdTW lmitRtZpKv3JFPLeaTRnbnHR8TdIlvQLdgGBaMjK+E5wNqtiOSibvhjwIbzl8juFYava4M4ivNhh5 7m7Si9sczvwM+aYRB2Gl8t+C3AofRTA4Qq+wWHNDdubZswrG7RHgUCr8ysuTUhta1kOA=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oC2RK-0004b5-VT; Thu, 14 Jul 2022 19:15:53 +0200 In-Reply-To: <87wnchc75r.fsf@gmail.com> (Max Brieiev's message of "Wed, 13 Jul 2022 19:24:32 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEWbclq2i2SNcVVN MSasPzb///9/8nd/AAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YHDhELGl1EEOoAAAGcSURBVDjLdZOL ccMwCEAJ6QBRzwNQ0QES0ABxpP1nKiDLie2ay50lPf4QgAuE5JyZ4tMFUjwj2VmPYL2ZyjjeOlD/ kQNcdUJJ9iZvW+331ZWdIoRK3oi9W0LkKe0AxPM/gCAjWhmCe4DkAVUMRq7cczQQ9SlRpjCyR75b SR6fhQWIwJVZPmKzqDBSNLKXk9FDZ2ZVdSXJutTZi7OrqgCKeIhAi7k9uyqFRhzMguOW1QKFWHQM ZxGgK3qe0XYO0PU0uoh57W4OD2LAIhAT0gAenD0bAB1V9LZjuBcCcj9uNGZp6SO6hZV1eY8WvD3Q AXzOHNiTu5rVADEHXzUDeM1EiwnFPtlsxCtgitkvxUZL0BLybvqeklofrLBYQvbRmDn+YL6M9hjr n1Jafaik1O68Bc+pFn2kNLWdRWtf1UHq0+QAdvytj291gNEtDgtXKXVO2sqrxVw2ruZUq9Zc9lm1 ear6KSuY5smCsA68/P3KPLX28p0ob2ALqgbqbHnJFQ6u2hM50w234CgLGM07NFHlxOLU1U7kDPAJ 8BT+AKy7pC/MFreOAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA3LTE0VDE3OjExOjI1KzAwOjAw 5UjY9wAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNy0xNFQxNzoxMToyNSswMDowMJQVYEsAAAAA SUVORK5CYII= X-Now-Playing: Heidi Berry's _Love_: "Up In the Air" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237012 Archived-At: Max Brieiev 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=C3=A3o to the CCs; perhaps he has some comments. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no