From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: lin Sun via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62767: 29.0.90; [PATCH] *lisp/emacs-lisp/package.el: set variables after info package Date: Wed, 19 Apr 2023 05:11:03 +0000 Message-ID: References: <1181651021.466162.1581309285621.ref@mail.yahoo.com> <1181651021.466162.1581309285621@mail.yahoo.com> <87sfd2ns6d.fsf@posteo.net> <833551ecb2.fsf@gnu.org> <87ttxh4e9i.fsf@posteo.net> <87bkjmiqtz.fsf@posteo.net> Reply-To: lin Sun Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000092a7d05f9a9740e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29763"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62767@debbugs.gnu.org, Philip Kaludercic , Eli Zaretskii To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 19 07:12:23 2023 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 1pp07D-0007bf-7A for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Apr 2023 07:12:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pp06z-0007Gc-SC; Wed, 19 Apr 2023 01:12:10 -0400 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 1pp06s-0007GF-Qz for bug-gnu-emacs@gnu.org; Wed, 19 Apr 2023 01:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pp06s-0006r1-D8 for bug-gnu-emacs@gnu.org; Wed, 19 Apr 2023 01:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pp06s-00056W-5a for bug-gnu-emacs@gnu.org; Wed, 19 Apr 2023 01:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: lin Sun Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Apr 2023 05:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 62767-submit@debbugs.gnu.org id=B62767.168188109119438 (code B ref 62767); Wed, 19 Apr 2023 05:12:02 +0000 Original-Received: (at 62767) by debbugs.gnu.org; 19 Apr 2023 05:11:31 +0000 Original-Received: from localhost ([127.0.0.1]:60890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pp06M-00053S-H4 for submit@debbugs.gnu.org; Wed, 19 Apr 2023 01:11:30 -0400 Original-Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]:33781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pp06J-00053D-RI for 62767@debbugs.gnu.org; Wed, 19 Apr 2023 01:11:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1681881082; bh=yqA9yUlNpb4zi0QJ73BuL/TGUJ62xIrD76B13T/s4cc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From:Subject:Reply-To; b=nZIqxx1GJrhNpbP3uiB8q4q+iodCO3lUZlx7WllZPAi3KlzBCoH7fuNPdWyu79wlA0IN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eJPExcD_BPXOBlhHZCA046fo.hm9h6IoS9c6hhNVkwgo0X8Xxhnb5Ig1P.qxJP1dlKSpWajHw.2 W76lkAvC5KtAaP9WOcw33.bWkqKgjPv91OkW.Vbj0HkORo42ZOfHxPXiY0vEl9UH4ktVDL.YaK3S BX1tyLPFXo5mYX7ueXKztWgXH_ZufS59foKZSwnhYZqiVCOMKd_AWNQyROa5WRX.xZuyL4rvRPLL JRupwJ1L.EdqYnO.9VXGJugAYMDAnW_8g4R14nxJxF.99te_dabuZR8nZvZo3IsiHIIlRfdz.XcT qb.ZU164bCfBI1qewwiErRQkXp8UYf42JkqKLamgGTf7xh4pBBRBo2jrHANGRp62Bd8QxzGvv5RU jY1w.4xzrE4veEN6yT1vn.8UWj63v8SXbyon__RLyo9jO6D3mZ9pQni6P0c.igSgTdksCXoS0Muj Wrz9313YAKXMr_vdmFFQ3JASwVDAnC5iyohBsbtWS75H7EgieKXDcWWXPLbfaCEl1hYzr9VD3YZZ Am5IDL34E3OWRhAinB1IOWs9eNj.mKMGFiGZw.dWyA X-Sonic-MF: X-Sonic-ID: 62dcdc05-ee2b-4f8c-b2ac-0a893fd20c83 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Wed, 19 Apr 2023 05:11:22 +0000 Original-Received: by hermes--production-ir2-74cd8fc864-ggn56 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e02188be47386765eec654992e9c67d1; Wed, 19 Apr 2023 05:11:16 +0000 (UTC) Original-Received: by mail-ej1-f44.google.com with SMTP id u3so26589384ejj.12 for <62767@debbugs.gnu.org>; Tue, 18 Apr 2023 22:11:16 -0700 (PDT) X-Gm-Message-State: AAQBX9etzQS2UzcM8kcr4pg+E9Nat5JNZGMoKOkZGh146aafn+BMU0di 7ZxqAwRj6Kc0cMKv75vegKRjVvBwTzIlriKgSYo= X-Google-Smtp-Source: AKy350ZMwihBe8fuFS/bcBeGrao134ymDRM+2xEwCdMvEHa/fmjhjHpol3sUcMgpQrr1Ns0dsIZyHlHcyO9U3gL2JDM= X-Received: by 2002:a17:906:fac1:b0:94e:cf98:32f2 with SMTP id lu1-20020a170906fac100b0094ecf9832f2mr13656633ejb.33.1681881075093; Tue, 18 Apr 2023 22:11:15 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: X-Mailer: WebService/1.1.21365 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:260259 Archived-At: --000000000000092a7d05f9a9740e Content-Type: text/plain; charset="UTF-8" Hi Eli, I had researched the `info.el', and found the variable `Info-default-directory-list' is a more proper variable than the original `Info-directory-list', which is an autoload customer variable. Then the patch can be simpler than the previous one, I attached the new patch, it avoided to require 'info. I verified it on my local. Please help review the change, thanks ! --000000000000092a7d05f9a9740e Content-Type: text/x-patch; charset="US-ASCII"; name="0001-lisp-emacs-lisp-package.el-avoid-to-load-the-entire-.patch" Content-Disposition: attachment; filename="0001-lisp-emacs-lisp-package.el-avoid-to-load-the-entire-.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lgn8k44e0 RnJvbSAxYjkzYzU0NjljOTgyNTRlMWM2YWI3NDk0MjcyNDAxYzVlOTdkZGY1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMaW4gU3VuIDxzdW5saW43QGhvdG1haWwuY29tPgpEYXRlOiBU dWUsIDExIEFwciAyMDIzIDAwOjAwOjEzICswMDAwClN1Ym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saXN0ICcoIiIp KSkKKyAgICAgICAgKEluZm8tZGVmYXVsdC1kaXJlY3RvcnktbGlzdCAnKCIiKSkpCiAgICAgKGRv bGlzdCAoZWx0IHBhY2thZ2UtYWxpc3QpCiAgICAgICAoY29uZGl0aW9uLWNhc2UgZXJyCiAgICAg ICAgICAgKHBhY2thZ2UtYWN0aXZhdGUgKGNhciBlbHQpKQpAQCAtNDUwMSwxMiArNDQ5NywxMSBA QCBwYWNrYWdlLXF1aWNrc3RhcnQtcmVmcmVzaAogICAgICAgICAgICAgICAgICAgKGFwcGVuZCAn LChtYXBjYXIgIydwYWNrYWdlLWRlc2MtbmFtZSBwYWNrYWdlLS1xdWlja3N0YXJ0LXBrZ3MpCiAg ICAgICAgICAgICAgICAgICAgICAgICAgIHBhY2thZ2UtYWN0aXZhdGVkLWxpc3QpKSkKICAgICAg ICAgICAoY3VycmVudC1idWZmZXIpKQotICAgICAgKGxldCAoKGluZm8tZGlycyAoYnV0bGFzdCBJ bmZvLWRpcmVjdG9yeS1saXN0KSkpCisgICAgICAobGV0ICgoaW5mby1kaXJzIChidXRsYXN0IElu Zm8tZGVmYXVsdC1kaXJlY3RvcnktbGlzdCkpKQogICAgICAgICAod2hlbiBpbmZvLWRpcnMKLSAg ICAgICAgICAocHAgYChwcm9nbiAocmVxdWlyZSAnaW5mbykKLSAgICAgICAgICAgICAgICAgICAg ICAoaW5mby1pbml0aWFsaXplKQotICAgICAgICAgICAgICAgICAgICAgIChzZXRxIEluZm8tZGly ZWN0b3J5LWxpc3QKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAoYXBwZW5kICcsaW5mby1k aXJzIEluZm8tZGlyZWN0b3J5LWxpc3QpKSkKKyAgICAgICAgICAocHAgYChkZWZ2YXIgSW5mby1k ZWZhdWx0LWRpcmVjdG9yeS1saXN0KSAoY3VycmVudC1idWZmZXIpKQorICAgICAgICAgIChwcCBg KHNldHEgSW5mby1kZWZhdWx0LWRpcmVjdG9yeS1saXN0CisgICAgICAgICAgICAgICAgICAgICAo YXBwZW5kICcsaW5mby1kaXJzIEluZm8tZGVmYXVsdC1kaXJlY3RvcnktbGlzdCkpCiAgICAgICAg ICAgICAgIChjdXJyZW50LWJ1ZmZlcikpKSkKICAgICAgIDs7IFVzZSBgXHMnIGluc3RlYWQgb2Yg YSBzcGFjZSBjaGFyYWN0ZXIsIHNvIHRoaXMgY29kZSBjaHVuayBpcyBub3QKICAgICAgIDs7IG1p c3Rha2VuIGZvciBhbiBhY3R1YWwgZmlsZS1sb2NhbCBzZWN0aW9uIG9mIHBhY2thZ2UuZWwuCi0t IAoyLjIwLjUKCg== --000000000000092a7d05f9a9740e--