emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* (void-variable ignore) in
@ 2014-10-08 19:47 Julien Cubizolles
  2014-10-09 16:27 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Cubizolles @ 2014-10-08 19:47 UTC (permalink / raw)
  To: emacs-orgmode


I get this error when exporting an org file in async mode. The export
itself goes fine (the correct file is created) but something seems to go
wrong at the end. Sorry for the long lines...

Julien.

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-variable ignore)
  (funcall ignore results)
  (let ((results (with-current-buffer proc-buffer (goto-char (point-max)) (backward-sexp) (read (current-buffer))))) (funcall ignore results))
  (unwind-protect (let ((results (with-current-buffer proc-buffer (goto-char (point-max)) (backward-sexp) (read (current-buffer))))) (funcall ignore results)) (unless org-export-async-debug (and (get-buffer proc-buffer) (kill-buffer proc-buffer))))
  (if (zerop (process-exit-status p)) (unwind-protect (let ((results (with-current-buffer proc-buffer (goto-char (point-max)) (backward-sexp) (read (current-buffer))))) (funcall ignore results)) (unless org-export-async-debug (and (get-buffer proc-buffer) (kill-buffer proc-buffer)))) (org-export-add-to-stack proc-buffer nil p) (ding) (message "Process '%s' exited abnormally" p))
  (unwind-protect (if (zerop (process-exit-status p)) (unwind-protect (let ((results (with-current-buffer proc-buffer (goto-char ...) (backward-sexp) (read ...)))) (funcall ignore results)) (unless org-export-async-debug (and (get-buffer proc-buffer) (kill-buffer proc-buffer)))) (org-export-add-to-stack proc-buffer nil p) (ding) (message "Process '%s' exited abnormally" p)) (unless org-export-async-debug (delete-file "/tmp/org-export-process198726Ro")))
  (progn (unwind-protect (if (zerop (process-exit-status p)) (unwind-protect (let ((results (with-current-buffer proc-buffer ... ... ...))) (funcall ignore results)) (unless org-export-async-debug (and (get-buffer proc-buffer) (kill-buffer proc-buffer)))) (org-export-add-to-stack proc-buffer nil p) (ding) (message "Process '%s' exited abnormally" p)) (unless org-export-async-debug (delete-file "/tmp/org-export-process198726Ro"))))
  (if (eq (process-status p) (quote exit)) (progn (unwind-protect (if (zerop (process-exit-status p)) (unwind-protect (let ((results ...)) (funcall ignore results)) (unless org-export-async-debug (and (get-buffer proc-buffer) (kill-buffer proc-buffer)))) (org-export-add-to-stack proc-buffer nil p) (ding) (message "Process '%s' exited abnormally" p)) (unless org-export-async-debug (delete-file "/tmp/org-export-process198726Ro")))))
  (when (eq (process-status p) (quote exit)) (unwind-protect (if (zerop (process-exit-status p)) (unwind-protect (let ((results (with-current-buffer proc-buffer ... ... ...))) (funcall ignore results)) (unless org-export-async-debug (and (get-buffer proc-buffer) (kill-buffer proc-buffer)))) (org-export-add-to-stack proc-buffer nil p) (ding) (message "Process '%s' exited abnormally" p)) (unless org-export-async-debug (delete-file "/tmp/org-export-process198726Ro"))))
  (let ((proc-buffer (process-buffer p))) (when (eq (process-status p) (quote exit)) (unwind-protect (if (zerop (process-exit-status p)) (unwind-protect (let ((results ...)) (funcall ignore results)) (unless org-export-async-debug (and (get-buffer proc-buffer) (kill-buffer proc-buffer)))) (org-export-add-to-stack proc-buffer nil p) (ding) (message "Process '%s' exited abnormally" p)) (unless org-export-async-debug (delete-file "/tmp/org-export-process198726Ro")))))
  (lambda (p status) (let ((proc-buffer (process-buffer p))) (when (eq (process-status p) (quote exit)) (unwind-protect (if (zerop (process-exit-status p)) (unwind-protect (let (...) (funcall ignore results)) (unless org-export-async-debug (and ... ...))) (org-export-add-to-stack proc-buffer nil p) (ding) (message "Process '%s' exited abnormally" p)) (unless org-export-async-debug (delete-file "/tmp/org-export-process198726Ro"))))))(#<process org-export-process> "finished\n")
--8<---------------cut here---------------end--------------->8---

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: (void-variable ignore) in
  2014-10-08 19:47 (void-variable ignore) in Julien Cubizolles
@ 2014-10-09 16:27 ` Nicolas Goaziou
  2014-10-10  4:19   ` Julien Cubizolles
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2014-10-09 16:27 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: emacs-orgmode

Hello,

Julien Cubizolles <j.cubizolles@free.fr> writes:

> I get this error when exporting an org file in async mode. The export
> itself goes fine (the correct file is created) but something seems to go
> wrong at the end. Sorry for the long lines...
>
> Julien.
>
> Debugger entered--Lisp error: (void-variable ignore)

Does it happen with a specific export back-end or all of them? Could you
provide an ECM?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: (void-variable ignore) in
  2014-10-09 16:27 ` Nicolas Goaziou
@ 2014-10-10  4:19   ` Julien Cubizolles
  2014-10-10  9:15     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Cubizolles @ 2014-10-10  4:19 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Does it happen with a specific export back-end or all of them? 

I see it with all for of org-(beamer/latex)-export-to-(latex/pdf), but
only if publish.

> Could you provide an ECM?

The following needs to be saved in a file named "test.org", then run C-c
C-c on the elisp source block and C-c e P x beamer

--8<---------------cut here---------------start------------->8---
#+begin_src emacs-lisp :tangle yes :exports none
  (setq org-publish-project-alist
        `(("beamer"
           :base-directory "./"
           :publishing-directory "./"
           :publishing-function org-latex-publish-to-pdf
           :exclude ".*"
           :latex-class "article"
           :include ("test.org")
           )))
#+end_src

#+RESULTS:
| beamer | :base-directory | ./ | :publishing-directory | ./ | :publishing-function | org-latex-publish-to-latex | :exclude | .* | :latex-class | article | :include | (test.org) |

* Ceci est un essai
* Ceci est un deuxième heading
--8<---------------cut here---------------end--------------->8---

Julien.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: (void-variable ignore) in
  2014-10-10  4:19   ` Julien Cubizolles
@ 2014-10-10  9:15     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2014-10-10  9:15 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: emacs-orgmode

Julien Cubizolles <j.cubizolles@free.fr> writes:

> The following needs to be saved in a file named "test.org", then run C-c
> C-c on the elisp source block and C-c e P x beamer
>
> #+begin_src emacs-lisp :tangle yes :exports none
>   (setq org-publish-project-alist
>         `(("beamer"
>            :base-directory "./"
>            :publishing-directory "./"
>            :publishing-function org-latex-publish-to-pdf
>            :exclude ".*"
>            :latex-class "article"
>            :include ("test.org")
>            )))
> #+end_src
>
> #+RESULTS:
> | beamer | :base-directory | ./ | :publishing-directory | ./ | :publishing-function | org-latex-publish-to-latex | :exclude | .* | :latex-class | article | :include | (test.org) |
>
> * Ceci est un essai
> * Ceci est un deuxième heading

This should be fixed. Thank you for reporting it.

Regards,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-10  9:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-08 19:47 (void-variable ignore) in Julien Cubizolles
2014-10-09 16:27 ` Nicolas Goaziou
2014-10-10  4:19   ` Julien Cubizolles
2014-10-10  9:15     ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).