From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Spencer Baugh via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65035: 29.1; Port flycheck-emacs-lisp-initialize-packages to flymake Date: Tue, 12 Nov 2024 16:56:11 -0500 Message-ID: References: <87o73b6vmk.fsf@pengjiz.com> <86o73bds9e.fsf@gnu.org> <87ed44s8o7.fsf@pengjiz.com> <86y11sn4rw.fsf@gnu.org> Reply-To: Spencer Baugh 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="3425"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 65035@debbugs.gnu.org, joaotavora@gmail.com, Pengji Zhang To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 12 22:57:37 2024 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 1tAytE-0000jI-Td for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Nov 2024 22:57:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAyso-0002nI-9E; Tue, 12 Nov 2024 16:57:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAysg-0002n1-VF for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 16:57:06 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAysg-0007AN-F4 for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 16:57:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=LXo7vMjwFE399bFWQgpM1cF4ZDtvgnFVzvbpGHfUA9I=; b=gbVSCIbh4cC7IiJCfqgXDCXFhgHOzjuLPI/M9eDNqBS/7/2zGDLH0bi0JwP/sNOhkpTIKNNib6sLzDcjT545V0twWzWDopEfGxxok+qI0PVQEK/pJwh5k2QeO6katqCgrnHdTWzThl17kbub9/k0N1co5bzvlHeD7uZFajH9MhJuc/sz9tCXfJ7sIUcZ9qzHq9sU75EwmXMr5dNDuJUkleEg9NIfhYTDPyhX5CWUq5CJEUZl2c5srmbYSiBWp5Qvf1jcajzLiKFiJGp9X33Y7kwZj0L24JD3sUh+lJAVFVFev6IIPsT3jGN0ShPvLd2S3Wr2UCQGMyQ+qBW8nLmOIQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAysf-00072G-VI for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 16:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Spencer Baugh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Nov 2024 21:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65035 X-GNU-PR-Package: emacs Original-Received: via spool by 65035-submit@debbugs.gnu.org id=B65035.173144858026982 (code B ref 65035); Tue, 12 Nov 2024 21:57:01 +0000 Original-Received: (at 65035) by debbugs.gnu.org; 12 Nov 2024 21:56:20 +0000 Original-Received: from localhost ([127.0.0.1]:39757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAyrz-000717-Sa for submit@debbugs.gnu.org; Tue, 12 Nov 2024 16:56:20 -0500 Original-Received: from mxout5.mail.janestreet.com ([64.215.233.18]:37975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAyrw-00070r-Uu for 65035@debbugs.gnu.org; Tue, 12 Nov 2024 16:56:18 -0500 In-Reply-To: <86y11sn4rw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 09 Nov 2024 11:19:15 +0200") DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1731448571; bh=LXo7vMjwFE399bFWQgpM1cF4ZDtvgnFVzvbpGHfUA9I=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=wRc5kRfV55m3wczzhh3cX8w9wYh6PS5CMdHprqXi4V9r3m3WTnPKoZ4D1OGkMRY7Q hdaXmuV7FzSpEyjGqHdj1QLhsmhs1FhvbR+ggI6uE5PCOVXG4WnMp9W8XFXaJhoRNo ygwm+TTeKXveHdsSjug4MJdbvRJ74hATOshnhOxK3gXMImIwBmf+VOJ9CMxpSpTg3X LjmN0FqyvC69MBJVRbedMSzLx4sFxVtUMIjdpdQskOHxScHMFW8HLa1tY6IWnGyjsc IlG2S2dCEhoQmS2H31PWZbCNZH7mQ4Sc/nwtb+HW9RbcRzN2l1HZMghpgDBecCY0XR e06kNinzs7Iew== 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295254 Archived-At: Eli Zaretskii writes: >> From: Pengji Zhang >> Cc: sbaugh@janestreet.com, Jo=C3=A3o T=C3=A1vora >> , Eli Zaretskii >> >> Date: Fri, 25 Oct 2024 19:50:48 +0800 >>=20 >> Jo=C3=A3o T=C3=A1vora writes: >>=20 >> > Feel free to use my patch of course. Stefan noted some time ago >> > that -f package-initialize is the wrong flag to ask Emacs -Q to use >> > elpa though, so there's something better. >>=20 >> Thanks! I prepared a new patch based on yours. > > Thanks. Spencer, any comments? I think this should also switch from passing "-Q" to passing just "-q". If we're include ~/.emacs.d/elpa on load-path, we should include the site-lisp directories too, which -Q suppresses. Probably we should specifically pass "--batch --no-site-file" instead of "-Q --batch", since --batch also implies -q. (This is particularly relevant for my site, where most packages are distributed via site-lisp/elpa rather than installed into package-user-dir)