From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Symbol's value as variable is void: org-version Date: Sat, 28 Apr 2012 22:01:58 +0200 Message-ID: <548693E5-0047-4B87-AF0F-C31EE721359D@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SODqJ-00038U-Uf for emacs-orgmode@gnu.org; Sat, 28 Apr 2012 16:02:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SODqH-0001zC-SX for emacs-orgmode@gnu.org; Sat, 28 Apr 2012 16:02:07 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:46435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SODqH-0001yx-JY for emacs-orgmode@gnu.org; Sat, 28 Apr 2012 16:02:05 -0400 Received: by eaal1 with SMTP id l1so399450eaa.0 for ; Sat, 28 Apr 2012 13:02:02 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: Org-mode Dear all, I am sure I missed the discussion about this - but I do not understand = why org-version is not loaded by org.el by default. Really, this variable = belongs into org.el, and if it is not there, org.el should require = org-version.el. My 5c, of course. - Carsten On 28.4.2012, at 19:59, Thomas S. Dye wrote: > Aloha all, >=20 > In the last day or so, I started running into a problem with a = variable, > org-version. =20 >=20 > When I look at Org/Documentation/Show Version, I get: > Org-mode version N/A (N/A @ = /Users/dk/.emacs.d/src/org/lisp/org-install.el) >=20 > When I export to LaTeX with -Q and the appended initialization file, > export fails with the error message in the subject line. >=20 > Here is the call: >=20 > /Applications/Emacs-23-4.app/Contents/MacOS/Emacs --batch -Q -l > init-old.el sigproc-sp-org-new.org -f org-export-as-latex >=20 > The org file I'm exporting doesn't refer to org-version anywhere. >=20 > I don't know how to figure out what's going on. Can someone help? >=20 > Thanks, > Tom >=20 > ---- init-old.el > (add-to-list 'load-path "~/.emacs.d/src/org/lisp") ;; <- adjust > (add-to-list 'load-path "~/.emacs.d/src/org") ;; <- adjust >=20 > (require 'org-install) > (require 'org-latex) >=20 > ;; this line only required until the upcomming Org-mode/Emacs24 sync > (load "~/.emacs.d/src/org/lisp/org-exp-blocks.el") >=20 >=20 > ;; Configure Babel to support all languages included in the manuscript > (org-babel-do-load-languages > 'org-babel-load-languages > '((emacs-lisp . t) > (org . t))) > (setq org-confirm-babel-evaluate nil) >=20 > ;; Configure Org-mode > (setq org-export-latex-hyperref-format "\\ref{%s}") > (setq org-entities-user '(("space" "\\ " nil " " " " " " " "))) > (setq org-latex-to-pdf-process '("texi2dvi --pdf --clean --verbose = --batch %f")) >=20 > (require 'org-special-blocks) > (defun org-export-latex-no-toc (depth) =20 > (when depth > (format "%% Org-mode is exporting headings to %s levels.\n" > depth))) > (setq org-export-latex-format-toc-function 'org-export-latex-no-toc) > (setq org-export-pdf-remove-logfiles nil) >=20 > (add-to-list 'org-export-latex-classes > '("acm-proc-article-sp" > "\\documentclass{acm_proc_article-sp} > [NO-DEFAULT-PACKAGES] > [EXTRA]" > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > ("\\paragraph{%s}" . "\\paragraph*{%s}") > ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) > ---- > --=20 > Thomas S. Dye > http://www.tsdye.com >=20 > --=20 > Thomas S. Dye > http://www.tsdye.com >=20