From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Brian Leung via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44651: [PATCH] Silence byte-compiler warning Date: Tue, 17 Nov 2020 00:52:41 +0100 (CET) Message-ID: <153788253.769854.1605570761798@ichabod.co-bxl> References: <2132208036.623612.1605407968985@ichabod.co-bxl> <87zh3gudhu.fsf@gnus.org> Reply-To: Brian Leung , Brian Leung 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="9648"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44651@debbugs.gnu.org To: Lars Ingebrigtsen , akrl@sdf.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 17 00:53:10 2020 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 1keoJ3-0002Mr-Gm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 00:53:09 +0100 Original-Received: from localhost ([::1]:47898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keoJ2-0005v2-JC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Nov 2020 18:53:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keoIw-0005uk-0K for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 18:53:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46244) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keoIv-0000I6-NW for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 18:53:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keoIv-0005xN-M5 for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 18:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Brian Leung Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Nov 2020 23:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44651 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo Original-Received: via spool by 44651-submit@debbugs.gnu.org id=B44651.160557077422884 (code B ref 44651); Mon, 16 Nov 2020 23:53:01 +0000 Original-Received: (at 44651) by debbugs.gnu.org; 16 Nov 2020 23:52:54 +0000 Original-Received: from localhost ([127.0.0.1]:57790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keoIo-0005x2-35 for submit@debbugs.gnu.org; Mon, 16 Nov 2020 18:52:54 -0500 Original-Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:60886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keoIk-0005wk-Cz for 44651@debbugs.gnu.org; Mon, 16 Nov 2020 18:52:52 -0500 Original-Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id CBAAA942; Tue, 17 Nov 2020 00:52:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailfence.com; s=20160819-nLV10XS2; t=1605570763; bh=cBAnxdxPOhv7sZ5L7dnrfzo1XOGhYvK3XtNvLprmC/o=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From; b=oF0kHfs6EjbKaJxnK3aJLocdTVVDbNtG9OM4JfpJnw3IbwL4o0aFcjSWY45FBb6iY bGEjaiHn+5sQG64U+93YaQsoALCO5CkVaGEmnIlyprZLxzanT0IIybN+RCaeCpgXVj Lxmxw0NvDCTF9TdtmmZ6QLTeIz7GdRArTlkRiabjWmry17hb6x8Voz/Yd7PRoQtFWS hiND07FyLuDkV/5SihZzI+OkGe+Cfs6awHAZt9mFmvCDDIPaNys4KkGV3i1RPdpjFF Bt7gWwqDiUwYaK17DbvlKhym4fYR0DZjj+TMfmgEO3fF1rK7cyq/4p+3D7PJSg/zZK EXgPRhaYUPFAQ== In-Reply-To: <87zh3gudhu.fsf@gnus.org> X-Priority: 3 X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:225491745 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:193507 Archived-At: > I don't think that should be necessary? The function in question is > autoloaded: >=20 > ;;;###autoload >=20 > Where/when do you see this compilation warning? I noticed this on the feature/native-comp branch, after invoking `helm-man-= woman` and having woman.el native-compiled asynchronously. I don't have the= log. I did not notice that it was autoloaded. Andrea, are you aware of any issue= s that the native-comp branch may have with this kind of thing (autoloaded = functions defined in files that do not necessarily get REQUIRE-d)? If not, = maybe we can just ignore my patch. Thanks, Brian > ---------------------------------------- > From: Lars Ingebrigtsen > Sent: Mon Nov 16 23:46:05 CET 2020 > To: Brian Leung > Cc: <44651@debbugs.gnu.org> > Subject: Re: bug#44651: [PATCH] Silence byte-compiler warning >=20 >=20 > Brian Leung writes: >=20 > > See attached. >=20 > [...] >=20 > > * lisp/woman.el: Declare imenu-add-to-menubar. >=20 > I don't think that should be necessary? The function in question is > autoloaded: >=20 > ;;;###autoload > (defun imenu-add-to-menubar (name) >=20 > Where/when do you see this compilation warning? >=20 > --=20 > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no --=C2=A0 Sent with https://mailfence.com Secure and private email