GNU bug report logs - #10396
24.0.92; update-directory-autoloads now adds path element to filename in autoload definition

Previous Next

Package: emacs;

Reported by: David Engster <deng <at> randomsample.de>

Date: Thu, 29 Dec 2011 13:41:01 UTC

Severity: minor

Found in version 24.0.92

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: David Engster <deng <at> randomsample.de>
Cc: 10396 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Subject: bug#10396: 24.0.92; update-directory-autoloads now adds path element to filename in autoload definition
Date: Fri, 27 Jan 2012 16:39:21 +0800
David Engster <deng <at> randomsample.de> writes:

> Stefan Monnier writes:
>>> This might not be a bug, but I couldn't find anything in NEWS regarding
>>> this issue, and it breaks my personal autoload setup.
>>
>> It's a feature: since foo/bar is not in `load-path', autoload.el figures
>> that only "bar/test" will properly load the file.
>> So you just need to set `load-path' to include `foo/bar' like you
>> probably already do elsewhere.
>
> But it's a new feature, right? Emacs 23.3 doesn't seem to do that.
>
> If it's new, I think it should be mentioned in NEWS; it is an important
> change for anyone creating Emacs packages, since I now have to make sure
> that `load-path' during autoload-generation and during actual usage of
> the package is consistent.

Could you suggest a NEWS entry?  That would be helpful, since I don't
understand how the current autoload behavior breaks your setup.




This bug report was last modified 13 years and 167 days ago.

Previous Next


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