emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] further on compiling development version of org-mode witho


From: Stefan Vollmar
Subject: Re: [Orgmode] further on compiling development version of org-mode without make command
Date: Thu, 09 Jul 2009 19:05:25 +0200

Gentlemen,

we have tried the lisp-version for updating a the plain vanilla MS Windows emacs (http://ftp.gnu.org/gnu/emacs/windows) and I think we 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 warnings about "functions not known to be defined" or "functions might not be defined at runtime", however, everything seems to work just fine.

Running Sebastian's script on the Windows version yields a number of similar warnings but has in addition some "cannot open load file" errors (see below). My feeling is that something comparatively simple 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- 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 arguments, but
  accepts only 0-1

In org-agenda-fontify-priorities:
org-agenda.el:2450:31:Warning: reference to free variable `org- priority-faces'

In org-agenda-list:
org-agenda.el:2862:14:Warning: org-agenda-files called with 2 arguments, but
  accepts only 0-1
org-agenda.el:2867:38:Warning: org-agenda-files called with 2 arguments, but
  accepts only 0-1

[...]

In org-search-view:
org-agenda.el:2991:18:Warning: org-agenda-files called with 2 arguments, but
  accepts only 0-1
Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 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- 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 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- 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 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- 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 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- 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 known to
  be defined.

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 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 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- 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- 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 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- 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 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- 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 <address@hidden> 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 for? Speed up things, I guess? As I never compile Org-mode, I never used 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 <address@hidden>
;; 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- 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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: address@hidden   http://www.nf.mpg.de









reply via email to

[Prev in Thread] Current Thread [Next in Thread]