From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel Ruiz Subject: Very minimal async export example does not work Date: Tue, 29 Oct 2013 07:49:40 +0000 (GMT) Message-ID: <1383032980.96135.YahooMailNeo@web171902.mail.ir2.yahoo.com> Reply-To: Miguel Ruiz Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="1132252431-187802879-1383032980=:96135" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb46W-0003vQ-A3 for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 03:52:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb46P-0001p2-E2 for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 03:52:44 -0400 Received: from nm37.bullet.mail.ne1.yahoo.com ([98.138.229.30]:28640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb46P-0001ok-20 for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 03:52:37 -0400 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: "emacs-orgmode@gnu.org" --1132252431-187802879-1383032980=:96135 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =0A=0AI'm trying to get a very minimal example of async export working.=0A= =0ACan you help me? I'm running out of ideas.=0A=0A=0ATIA=0A=0A=0A=0AWindow= sXP-SP3, Emacs 24.3, Org [8.2.1 (release_8.2.1-134-g8b264d @ c:/org-mode/li= sp/)]=0A=0A#+BEGIN_SRC command-line=0Aemacs -Q -l minimal-org.el=0A#+END_SR= C=0A=0A#+BEGIN_SRC minimal-org.el=0A;;; Minimal setup to load latest `org-m= ode'=0A=A0=A0=A0=A0 =0A=A0=A0=A0=A0 ;; activate debugging=0A=A0=A0=A0=A0 (s= etq debug-on-error t=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 debug-on-signal nil= =0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 debug-on-quit nil)=0A=A0=A0=A0=A0 =0A=A0= =A0=A0=A0 ;; add latest org-mode to load path=0A=A0=A0=A0=A0 (add-to-list '= load-path (expand-file-name "c:/org-mode/lisp"))=0A=0A#+END_SRC=0A=0A=0A#+B= EGIN_SRC minimal.org=0A* Hello world=0A=0AHow things are going?=0A#+END_SRC= =0A=0A=0A=0A#+BEGIN_SRC keys=0AC-c C-e C-a h h=0A=0A#+END_SRC=0A=0A=0A=0A#+= BEGIN_SRC Error message=0ADebugger entered--Lisp error: (wrong-type-argumen= t stringp nil)=0A=A0 start-process("org-export-process" "*Org Export Proces= s*" "c:/emacs-24.3/bin/emacs" "-Q" "--batch" "-l" nil "-l" "c:/DOCUME~1/ADM= INI~1/CONFIG~1/Temp/org-export-process3704Exd")=0A=A0 org-export-to-file(ht= ml "./minimal.html" t nil nil nil nil)=0A=A0 org-html-export-to-html(t nil = nil nil)=0A=A0 org-export-dispatch(nil)=0A=A0 call-interactively(org-export= -dispatch nil nil)=0A#+END_SRC=0A=0A=0A=0A=0A#+BEGIN_SRC Local/Temp/org-exp= ort-process3704Exd=0A;; -*- coding: iso-latin-1-dos; -*-=0A(with-temp-buffe= r (when org-export-async-debug (quote (setq debug-on-error t))) (setq kill-= emacs-hook nil org-babel-confirm-evaluate-answer-no t) (require (quote ox))= (funcall (lambda nil (let ((inhibit-modification-hooks t)) (let ((org-mode= -hook nil) (org-inhibit-startup t)) (org-mode)) (set (make-local-variable (= quote org-cycle-global-status)) (quote overview)) (set (make-local-variable= (quote org-target-link-regexp)) (quote nil)) (set (make-local-variable (qu= ote org-macro-templates)) (quote (("time" . "(eval (format-time-string \"$1= \"))") ("property" . "(eval (org-entry-get nil \"$1\" 'selective))")))) (se= t (make-local-variable (quote org-table-may-need-update)) (quote t)) (set (= make-local-variable (quote org-latex-and-related-regexp)) (quote "")) (set = (make-local-variable (quote org-all-time-keywords)) (quote ("SCHEDULED" "DE= ADLINE" "CLOCK" "CLOSED"))) (set (make-local-variable (quote org-maybe-keyw= ord-time-regexp)) (quote "\\(\\<\\(SCHEDULED:\\|DEADLINE:\\|CLOSED:\\|CLOCK:\\)\\)? *\\([[<][0-9]\\= {4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?[^]=0A=0A>]*?[]>]\\|<%%([^=0A=0A>]*>\\)"))= (set (make-local-variable (quote org-keyword-time-not-clock-regexp)) (quot= e "\\<\\(SCHEDULED:\\|DEADLINE:\\|CLOSED:\\) *[[<]\\([^]>]+\\)[]>]")) (set = (make-local-variable (quote org-keyword-time-regexp)) (quote "\\<\\(SCHEDUL= ED:\\|DEADLINE:\\|CLOSED:\\|CLOCK:\\) *[[<]\\([^]>]+\\)[]>]")) (set (make-l= ocal-variable (quote org-closed-time-regexp)) (quote "\\]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9-+:hdwmy = =A0=A0=A0 .]*\\)>")) (set (make-local-variable (quote org-scheduled-time-re= gexp)) (quote "\\]+\\)>")) (set (make-local-variable (q= uote org-scheduled-regexp)) (quote "\\]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9-+:hdwmy =A0=A0=A0 .]*\\)>")) (set (make-local-variable (quote org-deadline-time-re= gexp)) (quote "\\]+\\)>")) (set (make-local-variable (qu= ote org-deadline-regexp)) (quote "\\

I'm trying to get a very= minimal example of async export working.

Can you help me? I'm runni= ng out of ideas.

= TIA


<= font size=3D"2">
WindowsXP= -SP3, Emacs 24.3, Org [8.2.1 (release_8.2.1-134-g8b264d @ c:/org-mode/lisp/= )]

#+BEGIN_SRC command-line
emacs -Q -l minimal-org.el
#+END_S= RC

#+BEGIN_SRC minimal-org.el
;;; Minimal setup to load latest `o= rg-mode'
    
     ;; activa= te debugging
     (setq debug-on-error t
           debug-on= -signal nil
          = debug-on-quit nil)
    
    = ; ;; add latest org-mode to load path
     (add-to-l= ist 'load-path (expand-file-name "c:/org-mode/lisp"))

#+END_SRC
<= br>
#+BEGIN_SRC minimal.org
* Hello world

How things are going= ?
#+END_SRC


#+BEGIN_SRC keys
C-c C-e C-a h h
#+END_SRC


#+BEGIN_SRC Error message
Debugger = entered--Lisp error: (wrong-type-argument stringp nil)
  start-proc= ess("org-export-process" "*Org Export Process*" "c:/emacs-24.3/bin/emacs" "= -Q" "--batch" "-l" nil "-l" "c:/DOCUME~1/ADMINI~1/CONFIG~1/Temp/org-export-= process3704Exd")
  org-export-to-file(html "./minimal.html" t nil n= il nil nil)
  org-html-export-to-html(t nil nil nil)
  org-ex= port-dispatch(nil)
  call-interactively(org-export-dispatch nil nil= )
#+END_SRC




#+BEGIN_SRC Local/Temp/org-export-process= 3704Exd
;; -*- coding: iso-latin-1-dos; -*-
(with-temp-buffer (when o= rg-export-async-debug (quote (setq debug-on-error t))) (setq kill-emacs-hoo= k nil org-babel-confirm-evaluate-answer-no t) (require (quote ox)) (funcall= (lambda nil (let ((inhibit-modification-hooks t)) (let ((org-mode-hook nil= ) (org-inhibit-startup t)) (org-mode)) (set (make-local-variable (quote org= -cycle-global-status)) (quote overview)) (set (make-local-variable (quote o= rg-target-link-regexp)) (quote nil)) (set (make-local-variable (quote org-m= acro-templates)) (quote (("time" . "(eval (format-time-string \"$1\"))") ("= property" . "(eval (org-entry-get nil \"$1\" 'selective))")))) (set (make-l= ocal-variable (quote org-table-may-need-update)) (quote t)) (set (make-local-variable (quote org-latex-and-related-regexp)) (quote "")) (se= t (make-local-variable (quote org-all-time-keywords)) (quote ("SCHEDULED" "= DEADLINE" "CLOCK" "CLOSED"))) (set (make-local-variable (quote org-maybe-ke= yword-time-regexp)) (quote "\\(\\<\\(SCHEDULED:\\|DEADLINE:\\|CLOSED:\\|= CLOCK:\\)\\)? *\\([[<][0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?[^]
>]*?[]>]\\|<%%([^

>]*>\\)")) (set (make-local-variab= le (quote org-keyword-time-not-clock-regexp)) (quote "\\<\\(SCHEDULED:\\= |DEADLINE:\\|CLOSED:\\) *[[<]\\([^]>]+\\)[]>]")) (set (make-local-= variable (quote org-keyword-time-regexp)) (quote "\\<\\(SCHEDULED:\\|DEA= DLINE:\\|CLOSED:\\|CLOCK:\\) *[[<]\\([^]>]+\\)[]>]")) (set (make-l= ocal-variable (quote org-closed-time-regexp)) (quote "\\<CLOSED: *\\[\\(= [^]]+\\)\\]")) (set (make-local-variable (quote org-scheduled-time-hour-reg= exp)) (quote "\\<SCHEDULED: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9-+:hdwmy    = .]*\\)>")) (set (make-local-variable (quote org-scheduled-time-regexp))= (quote "\\<SCHEDULED: *<\\([^>]+\\)>")) (set (make-local-varia= ble (quote org-scheduled-regexp)) (quote "\\<SCHEDULED:")) (set (make-lo= cal-variable (quote org-deadline-line-regexp)) (quote "\\<\\(DEADLINE:\\= ).*")) (set (make-local-variable (quote org-deadline-time-hour-regexp)) (qu= ote "\\<DEADLINE: *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9-+:hdwm= y     .]*\\)>")) (set (make-local-variable (quote org-dea= dline-time-regexp)) (quote "\\<DEADLINE: *<\\([^>]+\\)>")) (set= (make-local-variable (quote org-deadline-regexp)) (quote "\\<DEADLINE:"= )) (set (make-local-variable (quote org-todo-line-tags-regexp)) (quote "^\\= (\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(.*?\\)\\)??\\(?:[   = ;  ]+\\(:[[:alnum:]:_@#%]+:\\)\\)?[     ]*$")) (set (make-local-variable (quote org-complex-heading-regexp-format)) (quot= e "^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(\\[#.\\]\\)\\)?\\(?: +\= \(?:\\[[0-9%%/]+\\] *\\)?\\(%s\\)\\(?: *\\[[0-9%%/]+\\]\\)?\\)\\(?:[  =    ]+\\(:[[:alnum:]_@#%%:]+:\\)\\)?[     ]*$")) (s= et (make-local-variable (quote org-complex-heading-regexp)) (quote "^\\(\\*= +\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(\\[#.\\]\\)\\)?\\(?: +\\(.*?\\)\\= )??\\(?:[     ]+\\(:[[:alnum:]_@#%:]+:\\)\\)?[   &= nbsp; ]*$")) (set (make-local-variable (quote org-todo-line-regexp)) (quote= "^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(.*?\\)\\)?[   =   ]*$")) (set (make-local-variable (quote org-not-done-regexp)) (quote= "\\(TODO\\)")) (set (make-local-variable (quote org-todo-regexp)) (quote "= \\(TODO\\|DONE\\)")) (set (make-local-variable (quote org-not-done-keywords= )) (quote ("TODO"))) (set (make-local-variable (quote org-drawer-regexp)) (quote "^[     ]*:\\(PROPERTIES\\|CLOCK= \\|LOGBOOK\\|RESULTS\\):[     ]*$")) (set (make-local-variab= le (quote org-ds-keyword-length)) (quote 12)) (set (make-local-variable (qu= ote org-use-sub-superscripts)) (quote t)) (set (make-local-variable (quote = org-file-properties)) (quote nil)) (set (make-local-variable (quote org-tod= o-log-states)) (quote nil)) (set (make-local-variable (quote org-todo-sets)= ) (quote (("TODO" "DONE")))) (set (make-local-variable (quote org-todo-head= s)) (quote ("TODO"))) (set (make-local-variable (quote org-done-keywords)) = (quote ("DONE"))) (set (make-local-variable (quote org-todo-keywords-1)) (q= uote ("TODO" "DONE"))) (set (make-local-variable (quote org-todo-key-trigge= r)) (quote nil)) (set (make-local-variable (quote org-todo-key-alist)) (quo= te ((:startgroup) ("TODO" . 116) ("DONE" . 100) (:endgroup)))) (set (make-l= ocal-variable (quote org-todo-kwd-alist)) (quote (("TODO" sequence "TODO" "DONE" "DONE") ("DONE" sequence "TODO" "DONE" "DONE")))) (set (make= -local-variable (quote org-tag-alist)) (quote nil)) (set (make-local-variab= le (quote org-tag-groups-alist)) (quote nil)) (set (make-local-variable (qu= ote org-file-tags)) (quote nil)) (set (make-local-variable (quote buffer-fi= le-name)) (quote "c:/emacs-24.3/bin/minimal.org")) (set (make-local-variabl= e (quote default-directory)) (quote "c:/emacs-24.3/bin/")) (set (make-local= -variable (quote buffer-file-coding-system)) (quote iso-latin-1-dos)) (inse= rt "* Hello world

How things are going?
") (narrow-to-region 1 38= ) (goto-char 37)))) (restore-buffer-modified-p
nil) (print (progn (let (= (output (org-export-as (quote html) nil nil nil
(quote nil)))) (with-tem= p-buffer (insert output) (let
((coding-system-for-write (quote utf-8))) = (write-file
"./minimal.html"))) (or (ignore-errors (funcall (quote nil)<= br>"./minimal.html")) "./minimal.html")))))
#+END_SRC






Emacs  = : GNU Emacs 24.3.1 (i386-mingw-nt5.1.2600)
 of 2013-03-17 on MARVIN=
Package: Org-mode version 8.2.1 (release_8.2.1-134-g8b264d @ c:/org-mod= e/lisp/)

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
(setq
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-= babel-execute-safely-maybe)
 org-latex-format-headline-function 'or= g-latex-format-headline-default-function
 org-tab-first-hook '(org-= hide-block-toggle-maybe org-src-native-tab-command-maybe
  &nb= sp;           org-babel-hide-result= -toggle-maybe org-babel-header-arg-expand)
 org-cycle-hook '(org-cy= cle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tas= ks
          org-cycle-show-empty-lin= es org-optimize-window-after-visibility-change)
 org-agenda-before-= write-hook '(org-agenda-add-entry-text)
 org-speed-command-hook '(org-speed-c= ommand-default-hook org-babel-speed-command-hook)
 org-babel-pre-ta= ngle-hook '(save-buffer)
 org-export-coding-system 'utf-8
 = org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(or= g-babel-load-in-session-maybe)
 org-confirm-elisp-link-function 'ye= s-or-no-p
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer= )
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
  = ;         [org-add-hook change-major-mode-hoo= k org-show-block-all append local] 5]
      &nb= sp;  #[nil "\300\301\302\303\304$\207"
     &nb= sp;     [org-add-hook change-major-mode-hook org-babel-show-= result-all append local] 5]
         = org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-metadown-hook '(org-babel-pop-to-s= ession-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buf= fer org-src-mode-configure-edit-buffer)
 org-after-todo-state-chang= e-hook '(org-clock-out-if-current)
 org-confirm-shell-link-function= 'yes-or-no-p
 )

--1132252431-187802879-1383032980=:96135--