From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [PATCH] Re: Can't make org-install.el Date: Mon, 21 May 2012 10:59:05 +0200 Message-ID: <80aa11yko6.fsf@somewhere.org> References: <80zk95xlj5.fsf@somewhere.org> <87sjewy2ir.fsf@Rainer.invalid> <80d360qwom.fsf@somewhere.org> <87obpkxtwv.fsf@Rainer.invalid> <808vgoqoff.fsf@somewhere.org> <874nrcxdf7.fsf_-_@Rainer.invalid> <871umghwrp.fsf@gnu.org> <804nrcq9me.fsf@somewhere.org> <87pqa0vtz0.fsf@Rainer.invalid> <87liknx6fy.fsf@Rainer.invalid> <80d35yudyy.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Achim, > Achim Gratz wrote: >> Based on that assumption, here's another patch. Let me know if this >> works in your setup. > > As you can see, that *does* work... Thanks a lot, Achim! > > Sebastien@MEDIACENTER:home/org-mode 0$ make autoloads > make -C lisp autoloads > make[1]: Entering directory `/cygdrive/c/home/org-mode/lisp' > rm -f org-version.el org-install.el org-version.elc org-install.elc > org-version: 7.8.10 (release_7.8.10-573-g7b33d9.dirty) > Loading c:/home/org-mode/lisp/org-compat.el (source)... > Loading c:/home/org-mode/UTILITIES/org-fixup.el (source)... > Saving file c:/home/org-mode/lisp/org-version.el... > Loading vc-git... > Wrote c:/home/org-mode/lisp/org-version.el > org-install: 7.8.10 (release_7.8.10-573-g7b33d9.dirty) > Loading c:/home/org-mode/lisp/org-compat.el (source)... > Loading c:/home/org-mode/UTILITIES/org-fixup.el (source)... > Generating autoloads for ob-C.el... > Generating autoloads for ob-C.el...done > [...] > Generating autoloads for org-compat.el... > Generating autoloads for org-compat.el...done > [...] Though, after restarting Emacs, I do have: --8<---------------cut here---------------start------------->8--- File mode specification error: (void-function org-find-library-dir) --8<---------------cut here---------------end--------------->8--- I see that there is no autoload cookie for it in `org-compat.el': --8<---------------cut here---------------start------------->8--- (defun org-substring-no-properties (string &optional from to) ;; [...] (substring-no-properties string from to))) (defmacro org-find-library-dir (library) `(file-name-directory (locate-library ,library))) --8<---------------cut here---------------end--------------->8--- Can a macro be autoloaded as well? Best regards, Seb -- Sebastien Vauban