From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 01 17:52:52 2017 Received: (at submit) by debbugs.gnu.org; 1 Feb 2017 22:52:53 +0000 Received: from localhost ([127.0.0.1]:53678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZ3lk-00061n-Lg for submit@debbugs.gnu.org; Wed, 01 Feb 2017 17:52:52 -0500 Received: from mezzogiorno.tim-landscheidt.de ([78.47.87.37]:58114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZ3lj-00061e-0O for submit@debbugs.gnu.org; Wed, 01 Feb 2017 17:52:51 -0500 Received: from x4e32b6da.dyn.telefonica.de ([78.50.182.218]:60302 helo=passepartout.tim-landscheidt.de) by mezzogiorno.tim-landscheidt.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cZ3lg-0006I7-VW for submit@debbugs.gnu.org; Wed, 01 Feb 2017 22:52:49 +0000 From: Tim Landscheidt To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Subject: Autoloads fake functions in foreign packages Organization: http://www.tim-landscheidt.de/ X-Debbugs-Version: 5.13 X-Debbugs-Package: gnus Date: Wed, 01 Feb 2017 22:52:43 +0000 Message-ID: <87k29934n8.fsf@passepartout.tim-landscheidt.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) With Gnus v5.13/GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.4) of 2016-12-15, after loading gnus-art.el, C-h f w3 TAB completes to w3m-toggle-inline-images even though I have not installed the w3m package. This is due to gnus-art.el's: | (autoload 'w3m-toggle-inline-images "w3m") AFAIUI, this should be rewritten as: | (declare-function w3m-toggle-inline-images "w3m") so that the compiler remains quiet, but the function does not falsely appear to be existing. There are a lot of these in Gnus (cf. "git grep '^[^;]*(autoload' -- lisp/gnus ':(exclude)lisp/gnus/ChangeLog.*'") and Emacs overall, so a larger clean-up might be useful. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 12 15:34:58 2018 Received: (at 25604) by debbugs.gnu.org; 12 Apr 2018 19:34:58 +0000 Received: from localhost ([127.0.0.1]:48528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6hzm-0008VE-1l for submit@debbugs.gnu.org; Thu, 12 Apr 2018 15:34:58 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:37265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6hzk-0008V7-Pf for 25604@debbugs.gnu.org; Thu, 12 Apr 2018 15:34:57 -0400 Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f6hzh-0007ho-Pv; Thu, 12 Apr 2018 21:34:55 +0200 Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f6hzb-0005yY-Qx; Thu, 12 Apr 2018 21:34:47 +0200 From: Lars Ingebrigtsen To: Tim Landscheidt Subject: Re: bug#25604: Autoloads fake functions in foreign packages References: <87k29934n8.fsf@passepartout.tim-landscheidt.de> Date: Thu, 12 Apr 2018 21:34:47 +0200 In-Reply-To: <87k29934n8.fsf@passepartout.tim-landscheidt.de> (Tim Landscheidt's message of "Wed, 01 Feb 2017 22:52:43 +0000") Message-ID: <87vacwmd60.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25604 Cc: 25604@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tim Landscheidt writes: > With Gnus v5.13/GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, > GTK+ Version 3.22.4) of 2016-12-15, after loading > gnus-art.el, C-h f w3 TAB completes to > w3m-toggle-inline-images even though I have not installed > the w3m package. This is due to gnus-art.el's: > > | (autoload 'w3m-toggle-inline-images "w3m") > > AFAIUI, this should be rewritten as: > > | (declare-function w3m-toggle-inline-images "w3m") > > so that the compiler remains quiet, but the function does > not falsely appear to be existing. Thanks; I've applied this to Emacs 27.1. > There are a lot of these in Gnus (cf. "git grep > '^[^;]*(autoload' -- lisp/gnus > ':(exclude)lisp/gnus/ChangeLog.*'") and Emacs overall, so a > larger clean-up might be useful. Using autoload in these forms is mostly annoying when they refer to packages not distributed with Emacs -- the other ones are mostly harmless. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 12 15:35:00 2018 Received: (at control) by debbugs.gnu.org; 12 Apr 2018 19:35:00 +0000 Received: from localhost ([127.0.0.1]:48531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6hzo-0008VU-BP for submit@debbugs.gnu.org; Thu, 12 Apr 2018 15:35:00 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:37271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6hzn-0008VN-8s for control@debbugs.gnu.org; Thu, 12 Apr 2018 15:34:59 -0400 Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f6hzk-0007lh-Tz for control@debbugs.gnu.org; Thu, 12 Apr 2018 21:34:58 +0200 Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f6hzf-0005yb-5x for control@debbugs.gnu.org; Thu, 12 Apr 2018 21:34:51 +0200 To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #25604 Message-Id: Date: Thu, 12 Apr 2018 21:34:51 +0200 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 25604 fixed close 25604 From unknown Thu Jun 19 14:04:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 11 May 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator