From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#48452: 28.0.50; flymake for elisp does not respect `load-path` Date: Sat, 23 Jul 2022 18:16:41 +0100 Message-ID: <87lesjn406.fsf@gmail.com> 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> <87zggzvpi5.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="24041"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 48452@debbugs.gnu.org, monnier@iro.umontreal.ca To: Max Brieiev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 23 19:16:29 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 1oFIjt-00062u-QT for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jul 2022 19:16:29 +0200 Original-Received: from localhost ([::1]:57006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFIjq-0000tI-RJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jul 2022 13:16:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFIjU-0000rF-6x for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2022 13:16:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFIjS-0004fh-5z for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2022 13:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFIjS-0004ny-1T for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2022 13:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jul 2022 17:16: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.165859653516697 (code B ref 48452); Sat, 23 Jul 2022 17:16:02 +0000 Original-Received: (at 48452) by debbugs.gnu.org; 23 Jul 2022 17:15:35 +0000 Original-Received: from localhost ([127.0.0.1]:46198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFIj0-0004KV-UL for submit@debbugs.gnu.org; Sat, 23 Jul 2022 13:15:35 -0400 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:39681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFIiz-00040N-Fj for 48452@debbugs.gnu.org; Sat, 23 Jul 2022 13:15:33 -0400 Original-Received: by mail-wr1-f52.google.com with SMTP id d8so10364677wrp.6 for <48452@debbugs.gnu.org>; Sat, 23 Jul 2022 10:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=Cl/pz0v7zGmNgQY1+i/c87UsekYyM3ZkYDJyo75y2L0=; b=aD+w8mjtYz7gnsFwAqVt8JvvcCjW2LCYPDSuHn/dkiinh+sdjln0wjtMR/mxcOBsRI rlTxNCe7ZA1ubzB47slsU0rNz4Z5GHcnTiBXrWyA1Q7dVHuleq5aPOFpKtdzhg1NjiTo 2VxvzX/WFkaNzVQQ04E3YaS9oF4BzySffNOpY9+BQIcfChzGyRKgFzUmWAdRbOleAP7Z 9x3zJM+IZLoxGHXVHsQOyXpETE5F1HFb4BiCjGssAKuZiZKSELW0+5b2xhpRCELpZ5gH mEwKv801iCTvl74KjSFyz9YQjw2wqbiVLPofn3lDbDhRBES5jZuwr8keYax9XszzgrIt ypsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:user-agent:mime-version:content-transfer-encoding; bh=Cl/pz0v7zGmNgQY1+i/c87UsekYyM3ZkYDJyo75y2L0=; b=H2qVZX4E3/JA+U51GTpcesVYGjwvz4YRU01M3bW0uzWz3UhaMZhIp109ivDFdpXMW8 s7n+f1qXWIiyfjoB1Zvtm1jkMMk/7m7MINW2mPx93WWoW1LsRH+5zciChK/U0HHh3fvX 5zaGCUx5CiBmcyA9dhNpDmtT7hHiOOt+Xda4JvGKmc08x9rLCTKdnDZbsFYGxceD9f5h RoAII4VeKShi4X3KwjSvTaaixK8fT35vCduvxdoNEvohh1k23Nnj26IbBhYUC20o0bBQ l0c8CtF1EEMSGyMjvJcDGgmKvF2RpP6eMRtW55DUUYX1KLu68M7eRpzHyksl9+CN5Z7d hnnA== X-Gm-Message-State: AJIora9v0aL6bQlIax4OV7nWzPe0cW5IoaxXq4sssi4bh51intOYIzoC SJlJ/S+6uvGSKRdYOdO2Ljw= X-Google-Smtp-Source: AGRyM1tfv2ZhS5OClBhnpfSsL9zokrwCdcJDDCikU55PV2Hsm3YR44Niw3DWq45ldoA8cTWUZe7twA== X-Received: by 2002:adf:d1cf:0:b0:21d:a2cd:522d with SMTP id b15-20020adfd1cf000000b0021da2cd522dmr3212666wrd.383.1658596527528; Sat, 23 Jul 2022 10:15:27 -0700 (PDT) Original-Received: from krug ([62.28.191.198]) by smtp.gmail.com with ESMTPSA id x10-20020adfec0a000000b0021d6c7a9f50sm7613869wrn.41.2022.07.23.10.15.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jul 2022 10:15:26 -0700 (PDT) In-Reply-To: <87zggzvpi5.fsf@gmail.com> (Max Brieiev's message of "Sat, 23 Jul 2022 18:05:06 +0300") 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:237775 Archived-At: Max Brieiev writes: > Jo=C3=A3o T=C3=A1vora writes: > >> I think we have to ask ourselves: what is Flymake used for? The most >> useful answers will come from the people who actually use it, though >> potential uses are also interesting. > > For a regular user like me, the most obvious use cases are: > > 1. Utilities for my own use. This can be sloppy code, heavily dependent > on my current Emacs setup. But it works, or at least it can be required > into init.el. So it is counter-intuitive, when flymake displays the > error, but running `restart-emacs' reveals no errors. Another way to see this is elisp-flymake-byte-compile is rooting for less sloppy code :-), i.e. code that you can share with me. > 2. If I would decide to distribute my code through (M)ELPA, this is > where I'd like flymake to be more finicky: probably compile my code only > against standard load-path _and_ dependencies (packages listed in > "Package-Requires" header section). ... and if your hypothetical.el package comes more than one file, say hypothetical-tests.el or hypothetical-utils.el which require each other, you'd probably also like "./" to be in the load-path for elisp-flymake-byte-compile. Jo=C3=A3o