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: Sun, 24 Jul 2022 11:18:11 +0200 Message-ID: <87v8rmyilo.fsf@gnus.org> References: <8735unafob.fsf@gmail.com> <877d4hs084.fsf@gnus.org> <87v8s1untg.fsf@gmail.com> <874jzlp12v.fsf@gnus.org> <87wnchc75r.fsf@gmail.com> <87ilnzaa49.fsf@gnus.org> <87cze7780j.fsf@gmail.com> <87r12mogh9.fsf@gnus.org> <87fsj1tlgn.fsf@gnus.org> <87sfmy1b95.fsf@gmail.com> <87r12d9b8f.fsf@gnus.org> <87k08497in.fsf@gnus.org> <87wnc474xt.fsf@gnus.org> <87y1wkmba4.fsf@gmail.com> <87h737n2ov.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="12321"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Max Brieiev , 48452@debbugs.gnu.org, Stefan Monnier To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 24 11:19:26 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 1oFXll-0002yt-JB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 11:19:25 +0200 Original-Received: from localhost ([::1]:60162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFXlk-0003ND-4m for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 05:19:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFXlP-0003Mx-JP for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 05:19:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFXlO-0006Wo-Fl for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 05:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFXlO-0001iz-Ao for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 05:19: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: Sun, 24 Jul 2022 09:19: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.16586543036576 (code B ref 48452); Sun, 24 Jul 2022 09:19:02 +0000 Original-Received: (at 48452) by debbugs.gnu.org; 24 Jul 2022 09:18:23 +0000 Original-Received: from localhost ([127.0.0.1]:46845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFXkl-0001i0-GP for submit@debbugs.gnu.org; Sun, 24 Jul 2022 05:18:23 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:43454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFXkj-0001hi-Hz for 48452@debbugs.gnu.org; Sun, 24 Jul 2022 05:18:22 -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=0ksJ9bVD4seAD84znFG0aSs5EST3SjgKghCDX6gchho=; b=gLX40EZ8rErwJh7GLIJJdY9Kq+ XrRjU/b0cHmsaQjCEl7mqHYS1HrndMpfYoAvdFjEqtZslBdM1kWowgkJURBByOroNYDbpOC1Rcn4O Qg3aNi6bz6CPukJsGRn5D+o4h2o9c8X+pZS+UgLt+EP+Vzd9gow0uGH84w7gOtGAQOn8=; 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 1oFXkZ-0005Ka-MA; Sun, 24 Jul 2022 11:18:13 +0200 In-Reply-To: <87h737n2ov.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sat, 23 Jul 2022 18:45:04 +0100") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJFBMVEUwdskudspHfMsw etAuedCak9NlhM7Yo9cZccw1cbdQeKn///93HEaEAAAAAWJLR0QLH9fEwAAAAAd0SU1FB+YHGAkH HH/VAFgAAAGbSURBVDjLpVI7TsNAEJ0hRrQz0YY+NwDZB/DKcwEKkjoFikSFkFBuQB0KGo7gUzIf O/4EV6wly+s37735AehhAmTiyYHhLADISwxellrT4EP934cGYHOAAjkzNQj69KQKNu8kFl1lkyJN 1XiFwP1pqymkRtCkCOzdFIXUzf6NkBsxmoAqIYLeRPLumUTKyr5LjVcjWJWl1Li72zqQk1RhAIVR Hl8+D5hMKnP2PhkCNeDtzZbEQiwrtXbgp23b79eW2MwCGKrfH/TqBMmarjNAvzenJ7T/ipACzA4g 4fGkDPXIYv/YKjFnxuMHu1JWE1QhM1GAeL21TiWRlNnjOaQYqQN8HjZrB6CfuqToFXVDofFwqYao bw5wB5B7cIjlGHk/eY8fz/wLvMDQsXfKAZg1jbcqSXic5wsnk+0B35dRuuAZdZX/vYjT3aULwdoe WYkg2oJcbCI15FU1RHccjKYCzJBYJNPHKcPu1DV/ClCsGOAc8E5H42YMT1j1rghd0VfesZfUbcdw zoBDsTPg0h/47xkPbprWAuDmve8vj6FHl3JHDHgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDct MjRUMDk6MDc6MjgrMDA6MDB8fKDyAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA3LTI0VDA5OjA3 OjI4KzAwOjAwDSEYTgAAAABJRU5ErkJggg== X-Now-Playing: King Crimson's _Beat_: "Waiting Man" 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:237822 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > Or maybe -- again, I'm just guessing -- the danger is that that bad.el > is disguised under /tmp/pcase.el and /tmp/good.el has a perfectly > legitimate. > > (require 'pcase) > > Simply visitng /tmp/good.el with Flymake on would lead to disaster. Yes. Sorry, I thought it was self-evident that that's the problem I was talking about with having "./" in load-path. > If > that's the case, it's as easy as applying this patch [...] > - ,@(mapcan (lambda (path) (list "-L" path)) > + ,@(mapcan (lambda (path) (list "-L" (format ":%s" pat= h))) > elisp-flymake-byte-compile-load-path) That would be a distinct improvement; yes. (But with a comment about what that does, because it's not self explanatory.)