From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Vollmar Subject: Re: further on compiling development version of org-mode without make command Date: Thu, 09 Jul 2009 19:05:25 +0200 Message-ID: <800CD20A-6D75-43A2-B68A-B9434AE3BA6D@nf.mpg.de> References: <87k52i266j.wl%ucecesf@ucl.ac.uk> <87ab3emd08.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOx45-0006lu-4h for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 13:05:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOx40-0006iD-9j for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 13:05:44 -0400 Received: from [199.232.76.173] (port=48146 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOx40-0006i9-6j for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 13:05:40 -0400 Received: from mail.nf.mpg.de ([134.95.44.50]:34285) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOx3y-0001PG-30 for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 13:05:38 -0400 Received: from [10.219.187.115] (tmo-105-147.customers.d1-online.com [80.187.105.147]) by mail.nf.mpg.de (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTPSA id <0KMI00MVGY53XS00@mail.nf.mpg.de> for emacs-orgmode@gnu.org; Thu, 09 Jul 2009 19:05:31 +0200 (MEST) In-reply-to: <87ab3emd08.fsf@kassiopeya.MSHEIMNETZ> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Gentlemen, we have tried the lisp-version for updating a the plain vanilla MS =20 Windows emacs (http://ftp.gnu.org/gnu/emacs/windows) and I think we =20 are almost there - thanks for all the help so far! When running make update on MacOS X with Aquamacs 1.8b I get lots of =20 warnings about "functions not known to be defined" or "functions might =20= not be defined at runtime", however, everything seems to work just fine. Running Sebastian's script on the Windows version yields a number of =20 similar warnings but has in addition some "cannot open load file" =20 errors (see below). My feeling is that something comparatively simple =20= is missing, many thanks in advance for any help with this! Warm regards, Stefan Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-=20 agenda.el at Thu Jul 09 13:50:09 2009 In org-prepare-agenda: org-agenda.el:2369:11:Warning: assignment to free variable `org-agenda-contributing-files' org-agenda.el:2371:34:Warning: org-agenda-files called with 2 =20 arguments, but accepts only 0-1 In org-agenda-fontify-priorities: org-agenda.el:2450:31:Warning: reference to free variable `org-=20 priority-faces' In org-agenda-list: org-agenda.el:2862:14:Warning: org-agenda-files called with 2 =20 arguments, but accepts only 0-1 org-agenda.el:2867:38:Warning: org-agenda-files called with 2 =20 arguments, but accepts only 0-1 [...] In org-search-view: org-agenda.el:2991:18:Warning: org-agenda-files called with 2 =20 arguments, but accepts only 0-1 Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-=20 ascii.el at Thu Jul 09 13:50:10 2009 org-ascii.el:29:1:Error: Cannot open load file: org-exp Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-=20 attach.el at Thu Jul 09 13:50:10 2009 In end of data: org-attach.el:417:1:Warning: the following functions are not known to =20= be defined: org-fit-window-to-buffer, org-ido-completing-read Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-=20 bbdb.el at Thu Jul 09 13:50:10 2009 In end of data: org-bbdb.el:388:1:Warning: the following functions are not known to be =20= defined: bbdb-record-name, bbdb-current-record, bbdb-record-getprop, bbdb-name, bbdb-company, bbdb, bbdb-split, bbdb-string-trim, bbdb-records, diary-ordinal-suffix, bbdb-completing-read-record Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-=20 bibtex.el at Thu Jul 09 13:50:10 2009 In end of data: org-bibtex.el:205:1:Warning: the following functions are not known to =20= be defined: bibtex-beginning-of-entry, bibtex-parse-entry, bibtex-generate-autokey, bibtex-url Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-=20 clock.el at Thu Jul 09 13:50:10 2009 In org-clock-get-clock-string: org-clock.el:354:61:Warning: reference to free variable `org-time-clocksum-format' In org-clock-out: org-clock.el:775:65:Warning: reference to free variable `org-time-clocksum-format' [...] In end of data: org-timer.el:261:1:Warning: the function `org-indent-line-to' is not =20 known to be defined. Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-=20 vm.el at Thu Jul 09 13:50:13 2009 In end of data: org-vm.el:134:1:Warning: the following functions are not known to be =20 defined: vm-summarize, vm-follow-summary-cursor, vm-select-folder-buffer, vm-su-subject, vm-get-header-contents, vm-su-message-id, org-add-link-props, vm-isearch-update, vm-isearch-narrow, vm-preview-current-message Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-=20 w3m.el at Thu Jul 09 13:50:13 2009 In end of data: org-w3m.el:173:1:Warning: the function `w3m-anchor' is not known to be defined. Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-=20 wl.el at Thu Jul 09 13:50:13 2009 In end of data: org-wl.el:147:1:Warning: the following functions are not known to be =20 defined: wl-summary-message-number, wl-summary-registered-temp-mark, elmo-message-field, elmo-msgdb-overview-get-entity, wl-summary-buffer-msgdb, wl-summary-line-from, elmo-message-entity-field, wl-summary-line-subject, org-add-link-props, wl, elmo-folder-exists-p, wl-folder-goto-folder-subr, wl-summary-jump-to-msg-by-message-id, wl-summary-redisplay Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org-=20 xoxo.el at Thu Jul 09 13:50:13 2009 org-xoxo.el:29:1:Error: Cannot open load file: org-exp Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org.el =20= at Thu Jul 09 13:50:13 2009 org.el:88:1:Error: Cannot open load file: org-compat Leaving directory `d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/' Compiling file D:/Program Files (x86)/emacs-22.3/org-6.28e/lisporg-=20 install.el at Thu Jul 09 13:50:15 2009 Entering directory `d:/Program Files (x86)/emacs-22.3/org-6.28e/' On 09.07.2009, at 11:17, Sebastian Rose wrote: > Eric S Fraga writes: >> Hello again, >> >> Although Sebastian's elisp code was perfect for batch compiling the >> lisp/*.el files in the org distribution, it doesn't address one key >> element of the make step required: the creation of the >> org-install.el file. > > > I wonder where I have that file. I couldn't find `org-install.el' > anywhere but it seems to work fine here without. What is it needed =20 > for? > Speed up things, I guess? As I never compile Org-mode, I never used =20= > that > file. > > >> I've (with my rather rudimentary elisp skills) modified the function >> as follows to incorporate the commands from the Makefile which are >> used to create the org-install.el file: >> >> >> ;; functions from Sebastian Rose >> ;; to compile all org files in lieu of a make utility, >> ;; modified by me to create and compile the org-install.el file >> (defvar my/org-lisp-directory "~/git/org-mode/lisp" >> "Directory where your org-mode files live.") >> ;; adjust my/org-lisp-directory: >> (setq my/org-lisp-directory "~/git/org-mode/lisp") >> (defun my/compile-org() >> "Compile all *.el files that come with org-mode." >> (interactive) >> (dired my/org-lisp-directory) >> (dired-mark-files-regexp "\\.el$") >> (setq list-of-org-files (dired-get-marked-files)) >> (dired-do-load) >> (dired-do-byte-compile) >> ;; create the org-install file >> (require 'autoload) >> (setq esf/org-install-file (concat my/org-lisp-directory "org-=20 >> install.el")) >> (find-file esf/org-install-file) >> (erase-buffer) >> (mapc (lambda (x) >> (generate-file-autoloads x)) >> list-of-org-files >> ) >> (insert "\n(provide (quote org-install))\n") >> (save-buffer) >> (byte-compile-file esf/org-install-file) >> >> ) >> >> Comments of any sort are more than welcome! It seems to work (but >> only time will tell). Actually, I probably need to delete any >> existing org-install.el file first... any suggestions on the best way >> to do this would be more than welcome! > > > Yes - and we should remove all the *.elc files first (which I missed), > in case some are obsolete after a `git pull'. > Could be done via dired again: > > (dired-mark-files-regexp "\\.el$") > (setq list-of-org-files (dired-get-marked-files)) > ;; ADD THIS: > ;; this deletes obsolete files: > (dolist (f list-of-org-files) > (delete-file (concat f "c"))) > > > > Sebastian > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=20 Dr. Stefan Vollmar, Dipl.-Phys. Max-Planck-Institut f=FCr neurologische Forschung Gleuelerstr. 50, 50931 K=F6ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar@nf.mpg.de http://www.nf.mpg.de