GNU bug report logs -
#25604
Autoloads fake functions in foreign packages
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25604 in the body.
You can then email your comments to 25604 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bugs <at> gnus.org
:
bug#25604
; Package
gnus
.
(Wed, 01 Feb 2017 22:53:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tim Landscheidt <tim <at> tim-landscheidt.de>
:
New bug report received and forwarded. Copy sent to
bugs <at> gnus.org
.
(Wed, 01 Feb 2017 22:53:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#25604
; Package
emacs,gnus
.
(Thu, 12 Apr 2018 19:35:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 25604 <at> debbugs.gnu.org (full text, mbox):
Tim Landscheidt <tim <at> tim-landscheidt.de> 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
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 12 Apr 2018 19:35:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
25604 <at> debbugs.gnu.org and Tim Landscheidt <tim <at> tim-landscheidt.de>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 12 Apr 2018 19:35:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 11 May 2018 11:24:04 GMT)
Full text and
rfc822 format available.
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.