From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Howto fix: package autoload is deprecated Date: Thu, 15 Sep 2022 11:19:03 -0700 Message-ID: <25379.27799.702520.380990@retriever.mtv.corp.google.com> References: <25377.16025.896544.821967@google.com> <83r10e2nx7.fsf@gnu.org> <871qsd1504.fsf@gnus.org> 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="20194"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, raman@google.com, eliz@gnu.org, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 15 20:19:49 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oYtSm-000596-Oh for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 20:19:48 +0200 Original-Received: from localhost ([::1]:39298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYtSl-0006Cj-Sf for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 14:19:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYtS9-0005Te-9R for emacs-devel@gnu.org; Thu, 15 Sep 2022 14:19:09 -0400 Original-Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:35503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYtS7-0004OF-Oj for emacs-devel@gnu.org; Thu, 15 Sep 2022 14:19:09 -0400 Original-Received: by mail-pl1-x635.google.com with SMTP id t3so19145602ply.2 for ; Thu, 15 Sep 2022 11:19:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date; bh=xAZS6aSFZy+xcKgsAMwHm6+C0sT4Hw/ZvKeFlu0ornE=; b=r0ZxgopZgGT6MtL9DaeZ3BPAKCwWrvyDWIuQx4Jp7wZ/JeEGzkWE2FEAavI7mi03CZ Ue2hMVrSXxr3k7jlUaTxJn0VvMcLG/1LWo29K/rEI/okpZ3QBpcAU0jslXvPoogCso8v gZj7CKDKnzjSGIdtrg+dfkqG0OWG11c4Vv+TGnWsnAMeSaTTNU9KCYttZdXt5yYB6jli 0SPpXdiOChTgaQWmjDNB3fZvsznDv8Vs5/ghtVjR/A5hzOxgc/pxpOvNiYyP4D4soCBg vD+p/dTrDhGkHwMyqMBp9/Ufd+njukYoAkj8exje73h1tBeCCYypcInL92E7qvehQQdv CcLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date; bh=xAZS6aSFZy+xcKgsAMwHm6+C0sT4Hw/ZvKeFlu0ornE=; b=FrSESg9xEAxYFHWCXkV10MFlZf2ATFKuO472mKV7zTpcQjnLemNsHFkH30CVymI73k BiiQAR7SntDYtkVGD0e4xApHJhBayJrYC2avhLtcsjI+Wu7Aj0u7al7Bejt21v56p2cf KyaGVAsN0KCWhNwJDwYPyfqkmqrsTngEm35ned9Z9aCs+d3JskMp4FBzmTIkbtua5udq YQM8OIkSVuMLkw90Nhtwd4gnHQNsELlUWDPyNDnh6ho874gRjEzg7Ad+Z/9X6L8gTRza eU2aOAIzOHDG/Wyh7Ir1kzrjSt2cWe+H7jmn31udhzYHqzYeDavZrqFFRTsMuEn3lkJz 8zZA== X-Gm-Message-State: ACrzQf2Cb1xZeC3TSEHQHMiO2ZH3mzI+6IFejamUimJs/Yfwh4bgcwlX XoKzlNxcxOG87ZBmSYPRFrPyDX4i267zrA== X-Google-Smtp-Source: AMsMyM6YTos4XdBv/L7wiMkRwRUaBbWMlCMk7V24hZ+h2Zjzc1+nbUzHU8UDYrC/2bUehAfE+877BQ== X-Received: by 2002:a17:902:9a46:b0:178:7f88:d79f with SMTP id x6-20020a1709029a4600b001787f88d79fmr19708plv.27.1663265945570; Thu, 15 Sep 2022 11:19:05 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1612:f717:c010:a704:968b]) by smtp.gmail.com with ESMTPSA id f14-20020a170902684e00b001641b2d61d4sm13429048pln.30.2022.09.15.11.19.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 11:19:04 -0700 (PDT) In-Reply-To: X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=raman@google.com; helo=mail-pl1-x635.google.com X-Spam_score_int: -193 X-Spam_score: -19.4 X-Spam_bar: ------------------- X-Spam_report: (-19.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-1.816, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:295440 Archived-At: for now, no, because if you remove the (require 'autoload), it gets pulled in by the hack in subr.el. My issue was that I 1. had missed the obsoletion, and 2. On my new laptop, (new as from May) building and installing emacs from HEAD wasn't replacing the info manuals because of compressed vs uncompressed install, go figure! So as Eli suspected I was reading an older manual.=20 Makes me wonder: when Emacs Info pages are displayed, should the version info of that info manual be part of the Header line=3F Stefan Monnier writes: > >> FWIW, I think the obsoletion(=3F) of `autoload.el` is a bit rash:= > >> it breaks all existing packages which just called the (formerly) > >> autoloaded entry points without first doing (require 'autoload). > > Unless I missed something, all the previously ###;;;autoloaded ent= ry > > points should still be available without doing that (see subr.el).= >=20 > Hmm... indeed. Sorry 'bout the noise. > Tho I wonder then if Raman's code could work "unchanged" by just > removing the explicit (require 'autoload). >=20 >=20 > Stefan --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮