From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Problem with make and autoloads Date: Thu, 02 Jun 2011 22:49:42 +0200 Message-ID: <87vcwo3qmx.fsf@Rainer.invalid> References: <87boyp7739.fsf@fastmail.fm> <8762owgic2.fsf@Rainer.invalid> <877h95ukjy.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSEqE-0002cu-Gh for emacs-orgmode@gnu.org; Thu, 02 Jun 2011 16:50:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSEq5-0000kj-T9 for emacs-orgmode@gnu.org; Thu, 02 Jun 2011 16:50:05 -0400 Received: from lo.gmane.org ([80.91.229.12]:40212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSEq5-0000kC-74 for emacs-orgmode@gnu.org; Thu, 02 Jun 2011 16:49:57 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QSEq2-0007vp-Hu for emacs-orgmode@gnu.org; Thu, 02 Jun 2011 22:49:54 +0200 Received: from p57aab103.dip.t-dialin.net ([87.170.177.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Jun 2011 22:49:54 +0200 Received: from Stromeko by p57aab103.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Jun 2011 22:49:54 +0200 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: emacs-orgmode@gnu.org Matt Lundin writes: > They are the default values (i.e., I have not changed anything). [...] > Note: I do not run "make install". My normal routine is to run "make > clean && make". Yes, I noted this, I was just poking around to see where the build process might pick up that extra "lisp/" in org-install. On another note, where is that org-install located? Could it be you have maybe two of them and Emacs picks up the wrong one? The end of the make should look something like this (watch the linewraps: emacs -batch -q -no-site-file -eval "(setq load-path (cons (expand-file-name \"./lisp/\") (cons \"<<$lispdir>>\" load-path)))" --eval "(require 'autoload)" \ --eval '(find-file "org-install.el")' \ --eval '(erase-buffer)' \ --eval '(mapc (lambda (x) (generate-file-autoloads (symbol-name x))) (quote (lisp/org.el <<...>> lisp/ob-scheme.el)))' \ --eval '(insert "\n(provide (quote org-install))\n")' \ --eval '(save-buffer)' Loading vc-git... Generating autoloads for lisp/org.el... ... Saving file <<.>>/org-install.el... Wrote <<.>>/org-install.el mv org-install.el lisp ^^^maybe the file is not moved at all or can't be deleted? emacs -batch -q -no-site-file -eval "(setq load-path (cons (expand-file-name \"./lisp/\") (cons \"<<$lispdir>>\" load-path)))" -f batch-byte-compile lisp/org-install.el Wrote <<...>>/lisp/org-install.elc If this does not happen after you've removed both org-install.el and org-install.elc and then do another make, then somethings is very wrong. My guess is that you have a stray org-install.el in <<.>> (make clean probably should remove it both here and in ./lisp, but doesn't). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html