From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Markert Subject: Re: Problem with autoloads Date: Tue, 28 Jun 2011 00:23:39 +0200 Message-ID: <87zkl29ams.wl%markert.michael@googlemail.com> References: <877h87xloq.wl%markert.michael@googlemail.com> <20110627105743.15d7f5fd@kuru.homelinux.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Jun_28_00:23:39_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbKDd-0000iw-5h for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 18:23:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbKDb-0001o8-6n for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 18:23:48 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:59112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbKDa-0001o0-PY for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 18:23:47 -0400 Received: by fxd18 with SMTP id 18so2038168fxd.39 for ; Mon, 27 Jun 2011 15:23:45 -0700 (PDT) In-Reply-To: <20110627105743.15d7f5fd@kuru.homelinux.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Suvayu Ali Cc: Bastien , org-mode mailing list --pgp-sign-Multipart_Tue_Jun_28_00:23:39_2011-1 Content-Type: text/plain; charset=US-ASCII On 27 Jun 2011, Suvayu Ali wrote: > Hi Michael, > > On Mon, 27 Jun 2011 18:51:01 +0200 > Michael Markert wrote: > >> A fix/workaround is to adjust the loadpath to: >> >> (add-to-list 'load-path (expand-file-name "~/build/org-mode")) >> >> After quick browsing through the logs I found nothing that could have >> caused this, but my guess is that someone adjusted the autoloads from >> "file.el" to "lisp/file.el". > > That seems to work for now. But I think this should still be > addressed. At least if this is how org behaves now, the instructions > on Worg should reflect that. > > Thanks a lot. :) I think I tracked it down: The problem is emacs24, that is the autoload.el that it bundles. With emacs23 it doesn't honor the path of the file it's passed, but with emacs24 it does, resulting in "lisp/file" autoloads. I don't see an easy solution, that's not plain dirty.[1] Michael I consider adding the base directory along with the `lisp' and maybe `contrib/lisp' directories quite dirty ;) --pgp-sign-Multipart_Tue_Jun_28_00:23:39_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJOCQLrAAoJEHHMVUK0UjKVU0kQALDwZROKG16dmRClhyrLV/Jo sPMpHj73/mVzAKTTpGowW0UrX13hvrtYqU8R86+6/XMZQKbr11jo5b22Y2hS9ctz wPAWdHevvpN/Kw+mu5xqfiAY4zAF1nQa551Hw8KWBVekLmB22llBFOzG12Nj6rRe 1t/9N0tZNB83Rim+tc7ZdbqElGe6JptmTmRLFW6R5tHry2dVyfxxKlIa754TS9ZF 4s2zeX+9QTuqKYkJ7+qzT5OCgDZwHUJrAYVOwXrdaktCbNzPP5HRA2/goApNeHHc jYF+mPwOjtsR2oeT3FTBz9s+RHHj45dyJyXvRlzBEyVXaAgsd+zbr6JYFcH/lGiG jDOMDjrpf/YBg/Jp0tSCgvIRICJMj1t3hbg6iKv2HhA67BnyaTdjnQWtqXei20mp mG31yL5elAJr9YFBL1KLBl5L5euFKbnaYGf/AD+8ieXQ1crc0xficwJ2BNpUZDWa kNnGa+bOquDtZpEHHVua6f6jl8h6/zoAVWkZ14xvsE5PJpSt9OOAuyzkYVKVwsQM b29KqwHAKY4CYU/7lBJg1okMnd9vsQCjeCyxjj2n9IaBPHMW6bmFs8cQMGuyfetO ORMwHRKA8E812iEXGZElSsWlzaBmB0owkWiUPE9apmD1SLTG1A9NoOLyKix7MnW0 u8t1tPn+h2jPy5vZcksw =YFzb -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Jun_28_00:23:39_2011-1--