[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48452: 28.0.50; flymake for elisp does not respect `load-path`
From: |
Lars Ingebrigtsen |
Subject: |
bug#48452: 28.0.50; flymake for elisp does not respect `load-path` |
Date: |
Sun, 24 Jul 2022 11:18:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
João Távora <joaotavora@gmail.com> 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" path)))
> 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.)
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, (continued)
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, João Távora, 2022/07/18
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, Lars Ingebrigtsen, 2022/07/22
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, João Távora, 2022/07/22
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, Lars Ingebrigtsen, 2022/07/22
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, João Távora, 2022/07/22
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, Lars Ingebrigtsen, 2022/07/23
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, João Távora, 2022/07/23
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, Stefan Monnier, 2022/07/23
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, João Távora, 2022/07/23
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, Stefan Monnier, 2022/07/23
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`,
Lars Ingebrigtsen <=
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, João Távora, 2022/07/24
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, Max Brieiev, 2022/07/23
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, João Távora, 2022/07/23
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, Max Brieiev, 2022/07/15
- bug#48452: 28.0.50; flymake for elisp does not respect `load-path`, Max Brieiev, 2022/07/14