From: Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
To: William Crandall <bc3141592@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Windows (Cygwin) make: Works, but org-release(void)
Date: Tue, 29 May 2012 08:29:25 -0400 [thread overview]
Message-ID: <CAHRqSkT0PiaWTgQbMmk2rndhqPpvOqJLF-xiTvAB_a59g1cAgg@mail.gmail.com> (raw)
In-Reply-To: <CAENLK5Vp-4fsXF3P1vOBgyVw0Aq3bOp_kMq6MW=t0qmQ+U51=Q@mail.gmail.com>
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 <bc3141592@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 org.texi -o org
> make[1]: Leaving directory
> `/cygdrive/g/dev/bin/emacs/.emacs.d/org-7.8.11-dev/doc'
>
> [end make]
>
> --------------------------------------------------
>
>
> 2. The generated lisp/org-version.el:
>
> ;;; org-version.el --- autogenerated file, do not edit
> ;;
> ;;; Code:
> ;;;###autoload
> (defun org-release ()
> "The release version of org-mode.
> Inserted by installing org-mode or when a release is made."
> (let ((org-release "7.8.11"))
> org-release))
> ;;;###autoload
> (defun org-git-version ()
> "The Git version of org-mode.
> Inserted by installing org-mode or when a release is made."
> (let ((org-git-version "release_7.8.11-16-ge67734"))
> org-git-version))
> ;;;###autoload
> (defconst org-odt-data-dir "/usr/share/emacs/etc/org"
> "The location of ODT styles.")
>
> ;; Local Variables:
> ;; version-control: never
> ;; no-byte-compile: t
> ;; coding: utf-8
> ;; End:
> ;;; org-version.el ends here
>
> --------------------------------------------------
>
> 3. *Messages* from start up
>
> .>.>.>. Start Emacs loading . . .
> .>.>.>. Start loading clock [ 0.049000 s ]
> Loading g:/dev/bin/emacs/.emacs.d/custom.el (source)...
> Loading paren...done
> Loading g:/dev/bin/emacs/.emacs.d/custom.el (source)...done
> .>.>.>. Frames/Faces loaded [ 0.229000 s ]
> .>.>.>. I/A/Hunspell loaded [ 0.874000 s ]
> Loading em-joc...done
> .>.>.>. Org-mode: Start load: [ 0.899000 s ]
> .>.>.>. Org-mode: End load: [ 0.907000 s ]
> .>.>.>. Emacs startup time: [ 0.908000 s ]
> On GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601)
> of 2012-04-23 on MARVIN
>
> Starting new Ispell process [default] ...
> Loading vc-git...done
> Loading org...
> Entering debugger...
>
> --------------------------------------------------
>
>
> 4. Full debugger stack trace (lightly formatted)
>
> 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))
> custom-initialize-reset(org-export-creator-string (format "Generated by
> Org mode %s in Emacs %s."
> (if (fboundp (quote org-version)) (org-version) "(Unknown)")
> emacs-version))
> custom-declare-variable(org-export-creator-string (format "Generated by
> Org mode %s in Emacs %s."
> (if (fboundp (quote org-version)) (org-version) "(Unknown)")
> emacs-version)
> "String to insert at the end of the generated document." :group
> org-export-general
> :type (string :tag "Creator string"))
> (defcustom org-export-creator-string (format "Generated by Org mode %s in
> Emacs %s."
> (if (fboundp (quote org-version)) (org-version) "(Unknown)")
> emacs-version)
> "String to insert at the end of the generated document." :group (quote
> org-export-general)
> :type (quote (string :tag "Creator string")))
> eval-buffer(#<buffer *load*<2>> nil
> "g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/contrib/lisp/org-export.el" nil
> t) ;
> Reading at buffer position 15218
>
> load-with-code-conversion("g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/contrib/lisp/org-export.el"
> "g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/contrib/lisp/org-export.el"
> nil t)
>
>
> require(org-export)
> (lambda nil (require (quote org-export)))()
> funcall((lambda nil (require (quote org-export))))
> eval((funcall (quote (lambda nil (require (quote org-export))))))
> mapc(eval ((funcall (quote (lambda nil (setq
> org-export-html-special-string-regexps
> (append org-export-html-special-string-regexps (quote (...)))))))
> (funcall (quote (lambda nil
> (setq org-e-html-coding-system (quote utf-8))))) (funcall (quote
> (lambda nil (require (quote org-export)))))))
> #[(a-l-element) " @;\205 \306 \307 \310\f \n#,\205 [some control
> chars that do not copy]
> [a-l-element abs-file start string regexp inhibit-changing-match-data
> nil t string-match mapc eval] 4]
> (("\\(\\`\\|/\\)session\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall
> (quote (lambda nil (add-to-list
> (quote session-globals-exclude) (quote org-mark-ring))))))
> ("\\(\\`\\|/\\)ecb\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
> (funcall (quote (lambda nil (defadvice ecb-method-clicked (after
> esf/org-show-context activate)
> "Make hierarchy visible when jumping into location from ECB tree
> buffer." (if (derived-mode-p ...)
> (org-show-context)))))))
> ("\\(\\`\\|/\\)saveplace\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
> (funcall (quote (lambda nil (defadvice save-place-find-file-hook
> (after org-make-visible activate)
> "Make the position visible." (org-bookmark-jump-unhide))))))
> ("\\(\\`\\|/\\)bookmark\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
> (funcall (quote (lambda nil (if (boundp (quote
> bookmark-after-jump-hook)) (add-hook (quote bookmark-after-jump-hook)
> (quote org-bookmark-jump-unhide)) (defadvice bookmark-jump (after
> org-make-visible activate) "Make the position visible."
> (org-bookmark-jump-unhide)))))))
> ("\\(\\`\\|/\\)speedbar\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall (quote
> (lambda nil (progn (speedbar-add-supported-extension ".org")
> (define-key speedbar-file-key-map "<"
> (quote org-speedbar-set-agenda-restriction)) (define-key
> speedbar-file-key-map " <" (quote org-speedbar-set-agenda-restriction))
> (define-key speedbar-file-key-map ">" (quote
> org-agenda-remove-restriction-lock)) (define-key speedbar-file-key-map " >"
> (quote org-agenda-remove-restriction-lock)) (add-hook (quote
> speedbar-visiting-tag-hook) (lambda nil ...)))))))
> ("\\(\\`\\|/\\)imenu\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall
> (quote (lambda nil (progn (add-hook (quote imenu-after-jump-hook)
> (lambda nil ...)))))))
> ("\\(\\`\\|/\\)org-exp\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall (quote
> (lambda nil (add-hook
> (quote org-export-preprocess-before-normalizing-links-hook) (quote
> org-remove-file-link-modifiers))))))
> ("\\(\\`\\|/\\)calendar\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall
> (quote (lambda nil (progn
> (org-defkey calendar-mode-map org-calendar-to-agenda-key (quote
> org-calendar-goto-agenda)) (org-defkey calendar-mode-map
> org-calendar-agenda-action-key (quote org-agenda-action)) (add-hook
> (quote calendar-mode-hook) (lambda nil ...)))))))
> ("\\(\\`\\|/\\)org\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'" (funcall
> (quote (lambda nil (setq org-export-html-special-string-regexps
> (append org-export-html-special-string-regexps (quote ...))))))
> (funcall (quote (lambda nil (setq org-e-html-coding-system
> (quote utf-8))))) (funcall (quote (lambda nil (require (quote
> org-export)))))) (eshell (if load-file-name (let ((fun
> (make-symbol "eval-after-load-helper"))) (fset fun (\` (lambda (file)
> (if ... nil ... ...)))) (add-hook
> (quote after-load-functions) fun)) (funcall (quote (lambda nil #[nil
> "\300\301\302!\303\304 \305\260 \207"
> ["[" format-time-string "%R" "] " eshell/pwd "> "] 5]))))) (dired (if
> load-file-name (let ((fun (make-symbol "eval-after-load-helper")))
> (fset fun (\` (lambda (file) (if ... nil ... ...)))) (add-hook (quote
> after-load-functions) fun))
> (funcall (quote (lambda nil (progn (require ...)))))))
> ("\\(\\`\\|/\\)quail/Punct-b5\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
> (funcall (quote (lambda nil (quail-defrule " " 12288 nil t)))))
> ("\\(\\`\\|/\\)quail/Punct\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
> (funcall (quote (lambda nil (quail-defrule " " 12288 nil t)))))
> ("\\(\\`\\|/\\)quail/PY-b5\\(\\.elc\\|\\.el\\)?\\(\\.gz\\)?\\'"
> (funcall (quote (lambda nil (quail-defrule "ling2" 9675 nil t)))))
> (CUA-mode (if load-file-name (let ((fun
> (make-symbol "eval-after-load-helper"))) (fset fun (\` (lambda (file)
> (if ... nil ... ...)))) (add-hook (quote after-load-functions) fun))
> (funcall (quote (lambda nil (bad-package-check (quote CUA-mode)))))))
> (semantic (if load-file-name (let ((fun
> (make-symbol "eval-after-load-helper"))) (fset fun (\` (lambda (file)
> (if ... nil ... ...)))) (add-hook (quote after-load-functions) fun))
> (funcall (quote (lambda nil (bad-package-check (quote
> semantic)))))))))
>
> do-after-load-evaluation("g:/dev/bin/emacs/.emacs.d/org-7.8.11-dev/lisp/org.elc")
> load("org")
> desktop-load-file(org-mode)
> desktop-create-buffer(206 "g:/dev/site/rel/r1_0/docs/6.1-WhoWeAre.org"
> "6.1-WhoWeAre.org" org-mode
> (smooth-scroll-mode typopunct-mode flyspell-mode buffer-face-mode) 1
> (559 nil) nil nil
> ((buffer-file-coding-system . utf-8-dos) (truncate-lines . t)))
> eval-buffer(#<buffer *load*> nil
> "g:/dev/bin/emacs/.emacs.d/.emacs.desktop" nil t) ; Reading at buffer
> position 3380
> load-with-code-conversion("g:/dev/bin/emacs/.emacs.d/.emacs.desktop"
> "g:/dev/bin/emacs/.emacs.d/.emacs.desktop" t t)
> load("g:/dev/bin/emacs/.emacs.d/.emacs.desktop" t t t)
> desktop-read()
> #[nil "\304\211 \235\203 \210\310\211 \207"
> [key command-line-args desktop-save-mode inhibit-startup-screen
> "--no-desktop" delete nil desktop-read t] 4]()
> run-hooks(after-init-hook)
> command-line()
> normal-top-level()
>
> ------------------------------ [END] ------------------------------
>
>
>
>
>
next prev parent reply other threads:[~2012-05-29 12:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-29 5:15 Windows (Cygwin) make: Works, but org-release(void) William Crandall
2012-05-29 12:29 ` Jonathan Leech-Pepin [this message]
2012-05-29 17:06 ` William Crandall
2012-06-01 8:19 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHRqSkT0PiaWTgQbMmk2rndhqPpvOqJLF-xiTvAB_a59g1cAgg@mail.gmail.com \
--to=jonathan.leechpepin@gmail.com \
--cc=bc3141592@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.