* How to use `update-file-autoloads'
@ 2014-05-28 11:37 Klaus-Dieter Bauer
2014-05-28 12:00 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Klaus-Dieter Bauer @ 2014-05-28 11:37 UTC (permalink / raw)
To: emacs help
Hello!
I have been trying to figure out the use of `update-file-autoloads', but I
cannot seem to find out how it works. Regardless of whether I pass it a
relative or an absolute file name, it will pass the absolute file name to
`autoload-file-load-name' which then enters and endless-loop (which I
confirmed to happen in the Cygwin version as well). The loop
(while name
(setq name (directory-file-name name))
(push (file-name-nondirectory name) names)
(setq name (file-name-directory name)))
will never finish, because (file-name-directory "/") evaluates to "/", thus
`name' never becomes nil. Run from the native Windows version the
corresponding behaviour is (file-name-directory "c:/") => "c:/".
Am I using `update-file-autoloads' wrong or is this a bug? Since I believe,
that a bug in `autoload.el' would quickly be noticed while building emacs
normally, I assume the first, which is why I did not want to send this as a
bug-report right away.
- Klaus
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to use `update-file-autoloads'
2014-05-28 11:37 How to use `update-file-autoloads' Klaus-Dieter Bauer
@ 2014-05-28 12:00 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2014-05-28 12:00 UTC (permalink / raw)
To: help-gnu-emacs
> Am I using `update-file-autoloads' wrong or is this a bug? Since I believe,
> that a bug in `autoload.el' would quickly be noticed while building emacs
> normally, I assume the first, which is why I did not want to send this as a
> bug-report right away.
autoload.el is used while building Emacs, but not update-file-autoloads,
so M-x report-emacs-bug sounds like a good idea.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-28 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-28 11:37 How to use `update-file-autoloads' Klaus-Dieter Bauer
2014-05-28 12:00 ` Stefan Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).