Re: [Orgmode] further on compiling development version of org-mode without make command

2009-07-12 Thread Eric S Fraga
At Thu, 09 Jul 2009 21:47:43 +0200,
Sebastian Rose wrote:
 
 Hi Eric and Stefan,
 
 I push the results of this thread to
 
   http://orgmode.org/org-hacks.html#compiling-org-without-make

Thanks Sebastian.

 This will be available only in one or two hours. If you follow worg.git,
 feel free to pull and edit it (Eric, you're a worger, aren't you?). That
 way we don't have to send that stuff back and forth all the time.

I am (was) not a worger (but have now registered!).  Great idea to use
worg for this.

I've been offline the past few days so haven't tried your updates
yet on my tablet but will do so soon.

Thanks again,
eric


___
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


Re: [Orgmode] further on compiling development version of org-mode without make command

2009-07-10 Thread Stefan Vollmar

Dear Sebastian,

On 09.07.2009, at 20:25, Sebastian Rose wrote:


this works here with `emacs -Q'

 we forgot the load path 
The function is likely to change some more. I just send this  
version, so

you can compile this way (hopefully).



EXCELLENT - we now have an up-to-date org-mode even for Emacs on MS  
Windows, it worked beautifully - thank you!


A newer version of Sebastian's script is available here:
http://orgmode.org/worg/org-hacks.php#compiling-org-without-make

Warm regards,
 Stefan
--
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: voll...@nf.mpg.de   http://www.nf.mpg.de







___
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


Re: [Orgmode] further on compiling development version of org-mode without make command

2009-07-10 Thread Sebastian Rose
Stefan Vollmar voll...@nf.mpg.de writes:
 Dear Sebastian,

 On 09.07.2009, at 20:25, Sebastian Rose wrote:

 this works here with `emacs -Q'

  we forgot the load path 
 The function is likely to change some more. I just send this version, so
 you can compile this way (hopefully).


 EXCELLENT - we now have an up-to-date org-mode even for Emacs on MS Windows, 
 it
 worked beautifully - thank you!

 A newer version of Sebastian's script is available here:
 http://orgmode.org/worg/org-hacks.php#compiling-org-without-make


Good to here, that it worked on Windows (I always have to start my VM to
test there, and Win32 emacs is not that good configured here yet...).

Just pushed a version, that needs no dired and kills the `install.el'.
So all that remains is the `*Compile-Log*' buffer, which might be of
some use.
I find that less annoying.

Also, the autoload file is loaded after compiling.




  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


Re: [Orgmode] further on compiling development version of org-mode without make command

2009-07-09 Thread Sebastian Rose
Eric S Fraga ucec...@ucl.ac.uk 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 sebastian_r...@gmx.de 
 ;; 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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] further on compiling development version of org-mode without make command

2009-07-09 Thread Sebastian Rose
Eric S Fraga ucec...@ucl.ac.uk writes:
 Hello again,

Thanks Eric!

Here is the same with some more additions.

1.) Ensure a slash is appended to the directory (i.e. do not create
~/.emacs.d/org/lisporg-install.el)
2.) Optionally, do not compile the sources, but create the
org-install.el file. Will this work?
3.) Take an optional argument: the directory to be compiled.
4.) Fix the bug in my previous mail: only existing files can be
deleted...


As a next step, we could as well drop the usage of dired, right?


  Sebastian





binC9DsEyHUfR.bin
Description: application/emacs-lisp
___
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


Re: [Orgmode] further on compiling development version of org-mode without make command

2009-07-09 Thread Eric S Fraga
At Thu, 09 Jul 2009 12:19:52 +0200,
Sebastian Rose wrote:
 Here is the same with some more additions.

many thanks!  Yes, the missing / was an error I noted just after sending the 
email...

 As a next step, we could as well drop the usage of dired, right?

that would make sense!

I'll play around with this and will get back to you.

Regarding the org-install file, I'm not entirely sure it's necessary
after all.  It's only that the instructions on the org site say to use
that file to initialise org-mode properly!  More exploring to be done...

Thanks again,
eric


___
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


Re: [Orgmode] further on compiling development version of org-mode without make command

2009-07-09 Thread Stefan Vollmar

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 ucec...@ucl.ac.uk writes:

Hello again,

Although Sebastian's elisp code was perfect for batch compiling 

Re: [Orgmode] further on compiling development version of org-mode without make command

2009-07-09 Thread Sebastian Rose
Hello Stefan,



this works here with `emacs -Q'

 we forgot the load path 
The function is likely to change some more. I just send this version, so
you can compile this way (hopefully).


Sebastian






binZI12hwAFZV.bin
Description: application/emacs-lisp
___
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


Re: [Orgmode] further on compiling development version of org-mode without make command

2009-07-09 Thread Sebastian Rose
Hi Eric and Stefan,


I push the results of this thread to

  http://orgmode.org/org-hacks.html#compiling-org-without-make


This will be available only in one or two hours. If you follow worg.git,
feel free to pull and edit it (Eric, you're a worger, aren't you?). That
way we don't have to send that stuff back and forth all the time.




BTW:  Great how fast the FAQ et al are updated these times. Great work
  everyone! That is fun! :-)




   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