From: Glenn Morris <rgm@gnu.org>
To: 17407@debbugs.gnu.org
Subject: bug#17407: obsolete-autoloads can clobber regular autoloads
Date: Mon, 05 May 2014 03:21:46 -0400 [thread overview]
Message-ID: <eqwqe0elmd.fsf@fencepost.gnu.org> (raw)
Package: emacs
Version: 24.4.50
Have an up-to-date build of current trunk:
cd lisp
make autoloads
cp loaddefs.el loaddefs.el.BAK
echo ";;foo" >> mail/rmailsum.el
make autoloads
diff loaddefs.el.BAK loaddefs.el
- see that all the rmail.el autoloads have vanished
I believe this explains the failure in http://hydra.nixos.org/build/10824210 .
Analysis:
The batch-update-autoloads in `make autoload' extracts autoloads from
rmailsum.el into rmail.el, modifying the hash in the latter and the
file's timestamp. It then calles `make obsolete-autoloads'.
This calls batch-update-autoloads again. This notices that rmail.el has
a changed timestamp, so rescans it for autoloads. Because
generate-autoload-cookie is set to a non-standard value, it finds none,
so it erases them all from loaddefs.el.
I don't understand why `obsolete-autoloads' is scanning rmail.el, when
it calls "-f batch-update-autoloads ${lisp}/obsolete".
Why isn't it just restricting itself to scanning obsolete/, as instructed?
next reply other threads:[~2014-05-05 7:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-05 7:21 Glenn Morris [this message]
2014-05-05 17:56 ` bug#17407: obsolete-autoloads can clobber regular autoloads Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eqwqe0elmd.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=17407@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.