Re: [O] Windows (Cygwin) make: Works, but org-release(void)

2012-06-01 Thread Bastien
Hi William,

William Crandall bc3141...@gmail.com writes:

 ;; Functionality of Org-mode's org-install.el is supplanted by
 ;; Package Manager's org-autoloads.el. Since Package Manager
 ;; autoloads Org-mode, the following line (require 'org-install) in
 ;; your .emacs is no longer required and can be safely removed.
 http://orgmode.org/worg/org-faq.html

I've removed this instruction now.

Thanks,

-- 
 Bastien



Re: [O] Windows (Cygwin) make: Works, but org-release(void)

2012-05-29 Thread Jonathan Leech-Pepin
Hello,

I haven't had any issues with Org and Cygwin lately.  I did however
come across this issue on a fresh install of Debian last week.

I was able to resolve it by adding =(require 'org-install)= to the
initialization (or calling it manually from the *scratch* buffer)
before checking the version.

Do you have (require 'org-install) in your initialization file
already?  And if not does it fix the issue?

Regards,

Jonathan

On Tue, May 29, 2012 at 1:15 AM, William Crandall bc3141...@gmail.com wrote:

 Hello,

 I know this has been an issue:
 http://lists.gnu.org/archive/html/emacs-orgmode/2012-05/msg00552.html
 http://lists.gnu.org/archive/html/emacs-orgmode/2012-04/msg01144.html

 So I was glad to get Cygwin to make the current org-mode master (git),
 seemingly with success. But restarting emacs brings up:


 Debugger entered--Lisp error: (void-function org-release)
   org-release()
   org-version()
   (if (fboundp (quote org-version)) (org-version) (Unknown))
   (format Generated by Org mode %s in Emacs %s. (if (fboundp
         (quote org-version)) (org-version) (Unknown)) emacs-version)
   eval((format Generated by Org mode %s in Emacs %s. (if (fboundp
         (quote org-version)) (org-version) (Unknown)) emacs-version))

 --

 And M-x org-version RET gives:

     org-version: Symbol's function definition is void: org-release

 Three listings follow:

 1. Excerpts from make
 2. The generated lisp/org-version.el:
 3. *Messages* from start up
 4. Full debugger stack trace

 Many thanks for any guidance!

 -BC

 Org-mode: 7.8.11 (release_7.8.11-16-ge67734)
 Emacs: 24.1.50.1
 Windows 7

 --

 1. Excerpts from make


 $ make -version
 GNU Make 3.82.90
 Built for i686-pc-cygwin
 Copyright (C) 2010  Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 http://gnu.org/licenses/gpl.html
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.


 $ make
 ==
 = Invoke make help for a synopsis of make targets. =
 = Created a default local.mk template.   =
 = Setting oldorg as the default target.    =
 = Please adapt local.mk to your local setup! =
 ==
 make -C doc clean;  make -C lisp clean;
 make[1]: Entering directory
      `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/doc'
 rm -f org *.pdf *.html *_letter.tex org-version.inc \
   *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs \
   *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps
 make[1]: Leaving directory
      `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/doc'
 make[1]: Entering directory
      `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp'
 rm -f org-version.el org-install.el org-version.elc org-install.elc
 rm -f *.elc
 make[1]: Leaving directory
      `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp'
 make -C lisp compile
 make[1]: Entering directory
      `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp'
 rm -f org-version.el org-install.el org-version.elc org-install.elc
 org-version: 7.8.11 (release_7.8.11-16-ge67734)
 Loading g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-compat.el
 (source)...
 Loading g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/UTILITIES/org-fixup.el
 (source)...
 Saving file g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-version.el...
 Loading vc-git...
 Wrote g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-version.el

 org-install: 7.8.11 (release_7.8.11-16-ge67734)   
 Loading g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-compat.el
 (source)...
 Loading g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/UTILITIES/org-fixup.el
 (source)...
 Generating autoloads for ob-C.el...
 Generating autoloads for ob-C.el...done
 Generating autoloads for ob-R.el...
 Generating autoloads for ob-R.el...done

 [...]

 Saving file g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-install.el...
 Loading vc-git...
 Wrote g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-install.el
 emacs -batch -Q  --eval '(add-to-list '''load-path .)'
        --eval '(batch-byte-recompile-directory 0)'
 Checking g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp...
 Compiling g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/ob-C.el...

 [...]

 Compiling g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-xoxo.el...
 Wrote g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org-xoxo.elc
 Compiling g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org.el...
 Wrote g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org.elc
 Done (Total of 110 files compiled, 2 skipped)
 make[1]: Leaving directory
      `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp'
 make -C doc info
 make[1]: Entering directory
      `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/doc'
 org-version: 7.8.11 (release_7.8.11-16-ge67734)

 makeinfo --no-split 

Re: [O] Windows (Cygwin) make: Works, but org-release(void)

2012-05-29 Thread William Crandall
Thanks Jonathan!

Yes, I had commented out =(require 'org-install)= .

I'd taken the FAQ instructions for ELPA installations to apply
more broadly than they do:

;; Functionality of Org-mode's org-install.el is supplanted by
;; Package Manager's org-autoloads.el. Since Package Manager
;; autoloads Org-mode, the following line (require 'org-install) in
;; your .emacs is no longer required and can be safely removed.
http://orgmode.org/worg/org-faq.html


Now M-x org-version gives (correctly):

   Org-mode version 7.8.11 (release_7.8.11-16-ge67734
   @ g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/)

Thanks again!

-BC


On Tue, May 29, 2012 at 5:29 AM, Jonathan Leech-Pepin
   jonathan.leechpe...@gmail.com wrote:

 Hello,

 I haven't had any issues with Org and Cygwin lately.  I did however
 come across this issue on a fresh install of Debian last week.

 I was able to resolve it by adding =(require 'org-install)= to the
 initialization (or calling it manually from the *scratch* buffer)
 before checking the version.

 Do you have (require 'org-install) in your initialization file
 already?  And if not does it fix the issue?

 Regards,

 Jonathan

 On Tue, May 29, 2012 at 1:15 AM, William Crandall bc3141...@gmail.com
 wrote:
 
  Hello,
 
  I know this has been an issue:
  http://lists.gnu.org/archive/html/emacs-orgmode/2012-05/msg00552.html
  http://lists.gnu.org/archive/html/emacs-orgmode/2012-04/msg01144.html
 
  So I was glad to get Cygwin to make the current org-mode master (git),
  seemingly with success. But restarting emacs brings up:
 
 
  Debugger entered--Lisp error: (void-function org-release)
org-release()
org-version()
(if (fboundp (quote org-version)) (org-version) (Unknown))
(format Generated by Org mode %s in Emacs %s. (if (fboundp
  (quote org-version)) (org-version) (Unknown)) emacs-version)
eval((format Generated by Org mode %s in Emacs %s. (if (fboundp
  (quote org-version)) (org-version) (Unknown)) emacs-version))