GNU bug report logs - #15763
autoload-generate-file-autoloads can put package--builtin-versions in wrong file

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 30 Oct 2013 20:54:04 UTC

Severity: normal

Tags: wontfix

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 15763 <at> debbugs.gnu.org
Subject: bug#15763: autoload-generate-file-autoloads can put package--builtin-versions in wrong file
Date: Sun, 06 Dec 2020 16:14:17 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> In current trunk, the autoload section of lisp/htmlfontify.el contains:
>
>   ;;; Generated autoloads from hfy-cmap.el
>   (push (purecopy '(htmlfontify 0 20)) package--builtin-versions)
>
> That is:
>
> 1) Incorrect (htmlfontify.el is at version 0.21, whereas hfy-cmap.el is
> at version 0.20).
>
> 2) In the wrong file.
>
> I guess autoload-generate-file-autoloads should only do the
> package--builtin-versions stuff when writing to the top-level
> loaddefs.el file, not when respecting a buffer-local
> generated-autoload-file.

I'm guessing this was fixed by this commit:

commit 459cf7cb92445e9336d649f128ec1af274e3f5a1
Author:     Phillip Lord <phillip.lord <at> russet.org.uk>
AuthorDate: Wed Dec 16 23:15:44 2015 +0000

    htmlfontify generate autoload to non-versioned file.
    
    * lisp/Makefile.in: Add htmlfontity-loaddefs to autogenel.
    * lisp/hfy-cmap.el: Update file local.
    * lisp/htmlfontify.el: Remove autoloads, add require.
    * test/lisp/htmlfontify-tests.el: Test autoload functionality.

So I'm closing this bug report.  Please reopen if there's more to be
done here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 210 days ago.

Previous Next


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