GNU bug report logs - #25604
Autoloads fake functions in foreign packages

Previous Next

Packages: emacs, gnus;

Reported by: Tim Landscheidt <tim <at> tim-landscheidt.de>

Date: Wed, 1 Feb 2017 22:53:02 UTC

Severity: minor

Tags: fixed

Found in version 5.13

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tim Landscheidt <tim <at> tim-landscheidt.de>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: Autoloads fake functions in foreign packages
Date: Wed, 01 Feb 2017 22:52:43 +0000
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.




This bug report was last modified 7 years and 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.