unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: David Engster <deng@randomsample.de>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 10396@debbugs.gnu.org
Subject: bug#10396: 24.0.92; update-directory-autoloads now adds path element to filename in autoload definition
Date: Sat, 31 Dec 2011 11:53:12 +0100	[thread overview]
Message-ID: <87vcoxf1wn.fsf@engster.org> (raw)
In-Reply-To: <jwv62gys2w1.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 30 Dec 2011 06:42:59 -0500")

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.

-David





  reply	other threads:[~2011-12-31 10:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-29 13:37 bug#10396: 24.0.92; update-directory-autoloads now adds path element to filename in autoload definition David Engster
2011-12-30 11:42 ` Stefan Monnier
2011-12-31 10:53   ` David Engster [this message]
2012-01-27  8:39     ` Chong Yidong
2012-01-28 18:41       ` David Engster
2012-02-26  9:51         ` Chong Yidong

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vcoxf1wn.fsf@engster.org \
    --to=deng@randomsample.de \
    --cc=10396@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).