emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] org version under Windows 7


From: Giovanni Ridolfi
Subject: Re: [O] [PATCH] org version under Windows 7
Date: Thu, 12 Jul 2012 09:30:50 +0100 (BST)

Da: Achim Gratz <address@hidden>
Inviato: Mercoledì 11 Luglio 2012 23:15

> Bastien writes:
>> Achim Gratz <address@hidden> writes:
>>> I'll update org
>>> hacks with the instructions when you have installed the patch.
>
>> I just installed the patch, thanks.

> Documentation on WOrg is updated to reflect the new reality...
> :-)

that does not work.  )-:

- downloaded snapshot  7445ee7d0
- un-tar-zipped
- followed the instructions on worg from "The above assumes ...." i.e.:
- started Emacs with:
  c:\Users\me> programs/emacs/bin/emacs.exe emacs -Q -L lisp -l 
org/UTILITIES/org-fixup
  - BUT  emacs *opens* the file org-fixup (? uh ?!)
  then I tried:
  c:\Users\me> programs/emacs/bin/emacs.exe emacs -Q -L lisp -l 
org/UTILITIES/org-fixup.el
  emacs opens the file org-fixup.el

-  then evaluated in the *scratch* buffer the let expression and got the error:

Debugger entered--Lisp error: (void-function org-make-autoloads-compile)
  (org-make-autoloads-compile)
  (let ((org-fake-release "7.8.11") (org-fake-git-version "7.8.11-fake")) 
(org-make-autoloads-compile))
  eval((let ((org-fake-release "7.8.11") (org-fake-git-version "7.8.11-fake")) 
(org-make-autoloads-compile)) nil)
  eval-last-sexp-1(t)
  eval-last-sexp(t)
  eval-print-last-sexp()
  call-interactively(eval-print-last-sexp nil nil)

then I 
- restarted Emacs
- in the *scratch* buffer
- evaluated  (org-make-org-version "7.8.11" "7445ee7d0" 
"c:/Users/me/programs/odt/styles/") in the scratch buffer,
  this command  creates the file 
c:/Users/me/programs/emacs/bin/org-version.el
                                    ^^^^^^^^^^^^^^
that has all the parameters at the right places but the version is not loaded:
M-x org-version:

Org-mode version N/A-fixup (N/A-fixup !!check installation!! @ 
c:/Users/ridolfi/programs/emacs-o/org/lisp/)

Then I copied to c:/Users/me/org/lisp/org-version.el
                                      ^^^^^^^^^^^^^^^
and org got it 

Org-mode version 7.8.11 (7445ee7d0 @ c:/Users/me/org/lisp/)     \o/

If I start Emacs  and

in the *scratch* buffer evaluate:(defvar my/org-lisp-directory 
"c:/Users/me/org/lisp/" "Directory where your org-mode files live.")

(org-make-org-version "7.8.11" "7445ee7d0" "c:/Users/me/programs/odt/styles/")

the file org-version.el is saved in the directroy of the scratch buffer, that 
is c:/Users/me/programs/emacs/bin/

So, Achim how can I tell Emacs to "change" directory and save org-version.el in 
my org/lisp/ directory? 

cheers,
Giovanni



reply via email to

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