emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: latex table export fails in master [8.3beta (release_8.3beta-1253-gaa9c4b @ /home/theorie/kleinrob/.emacs.d/org-mode/lisp/)]
@ 2015-07-06  7:57 Robert Klein
  2015-07-06 15:46 ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Klein @ 2015-07-06  7:57 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2692 bytes --]


Hello,

when I export the attached (ECM'd) file t3.org to LaTeX (C-c C-e l l) I
get the error ``Symbol's value as variable is void: orgtbl-exp-regexp''

I first bisected and then backtraced.  Commit identified by bisect is:

> git bisect bad
aa9c4bfb6fe1f5db240b4f9b2d781abd1138e018 is the first bad commit
commit aa9c4bfb6fe1f5db240b4f9b2d781abd1138e018
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date:   Sun Jun 28 11:37:13 2015 +0200

    org-element: Remove dependency on `org-at-table-p'
    
    * lisp/org-element.el (org-element-table-parser): Do not call
      `org-at-table.el-p'.
    (org-element--current-element): Do not call `org-at-table-p'.

:040000 040000 282b28839f8d093d9db4d8510a9dfeac06b1a434
918ab11c6942a24243dd203cb66b800528b3302d M	lisp


I attached a Backtrace (gzipped) and the minimal .emacs I used (`emacs
-Q -l ~/.femacs).  "Current state" is below.

At first glance I didn't see anything pointing to this error in the
commit and the function calls 


Thanks a lot for any help.

Best regards
Robert



Emacs  : GNU Emacs 24.5.1 (x86_64-suse-linux-gnu, GTK+ Version 3.10.2)
 of 2015-04-30 on build83
Package: Org-mode version 8.3beta (release_8.3beta-1253-gaa9c4b
@ /home/theorie/kleinrob/.emacs.d/org-mode/lisp/)

current state:
==============
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe
		      org-babel-hide-result-toggle-maybe
		      org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook
			  org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-shell-link-function 'yes-or-no-p
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
		     org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook
org-show-block-all append local]
		   5]
		 #[nil "\300\301\302\303\304$\207"
		   [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-archive-hook '(org-attach-archive-delete-maybe)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
			  org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-hide-drawers org-cycle-show-empty-lines
		  org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )

[-- Attachment #2: orgtbl-backtrace.gz --]
[-- Type: application/gzip, Size: 2580 bytes --]

[-- Attachment #3: t3.org --]
[-- Type: application/octet-stream, Size: 321 bytes --]

# -*- fill-column:75; coding: utf-8-unix; -*-
#+LANGUAGE: en
#+TITLE: The GE Cluster
#+AUTHOR: Robert Klein
#+EMAIL: Robert.Klein@mpip-mainz.mpg.de



#+caption: a summary of commands
| command | options | does       | example |
|---------+---------+------------+---------|
| -M      | b, e, s | sends mail | -M bes  |



[-- Attachment #4: .femacs --]
[-- Type: application/octet-stream, Size: 892 bytes --]

;; activate debugging
     (setq debug-on-error t
           debug-on-signal nil
           debug-on-quit nil)

(setq load-path (cons "~/.emacs.d/org-mode/lisp" load-path))
(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))

(require 'org)

(setq org-latex-classes
  '(("scrartcl"
     "\\documentclass[11pt]{scrartcl}"
     ("\\section{%s}" . "\\section*{%s}")
     ("\\subsection{%s}" . "\\subsection*{%s}")
     ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
     ("\\paragraph{%s}" . "\\paragraph*{%s}")
     ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
    ("article"
     "\\documentclass[11pt]{article}"
     ("\\section{%s}" . "\\section*{%s}")
     ("\\subsection{%s}" . "\\subsection*{%s}")
     ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
     ("\\paragraph{%s}" . "\\paragraph*{%s}")
     ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))


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

* Re: Bug: latex table export fails in master [8.3beta (release_8.3beta-1253-gaa9c4b @ /home/theorie/kleinrob/.emacs.d/org-mode/lisp/)]
  2015-07-06  7:57 Bug: latex table export fails in master [8.3beta (release_8.3beta-1253-gaa9c4b @ /home/theorie/kleinrob/.emacs.d/org-mode/lisp/)] Robert Klein
@ 2015-07-06 15:46 ` Nicolas Goaziou
  2015-07-07  2:34   ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2015-07-06 15:46 UTC (permalink / raw)
  To: Robert Klein; +Cc: emacs-orgmode

Hello,

Robert Klein <roklein@roklein.de> writes:

> Hello,
>
> when I export the attached (ECM'd) file t3.org to LaTeX (C-c C-e l l) I
> get the error ``Symbol's value as variable is void:
> orgtbl-exp-regexp''

FWIW, I cannot reproduce it.

Regards,

-- 
Nicolas Goaziou

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

* Re: Bug: latex table export fails in master [8.3beta (release_8.3beta-1253-gaa9c4b @ /home/theorie/kleinrob/.emacs.d/org-mode/lisp/)]
  2015-07-06 15:46 ` Nicolas Goaziou
@ 2015-07-07  2:34   ` Nick Dokos
  2015-07-07 12:30     ` Robert Klein
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2015-07-07  2:34 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Robert Klein <roklein@roklein.de> writes:
>
>> Hello,
>>
>> when I export the attached (ECM'd) file t3.org to LaTeX (C-c C-e l l) I
>> get the error ``Symbol's value as variable is void:
>> orgtbl-exp-regexp''
>
> FWIW, I cannot reproduce it.
>

I can reproduce it:

emacs -Q -l ~/src/minimal/min.org.el ~/src/org/tables/robert-klein-ecm.org

and C-c C-e l l does it.

I think ox-latex.el needs to require org-table.

-- 
Nick

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

* Re: Bug: latex table export fails in master [8.3beta (release_8.3beta-1253-gaa9c4b @ /home/theorie/kleinrob/.emacs.d/org-mode/lisp/)]
  2015-07-07  2:34   ` Nick Dokos
@ 2015-07-07 12:30     ` Robert Klein
  2015-07-07 12:47       ` Rasmus
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Klein @ 2015-07-07 12:30 UTC (permalink / raw)
  To: emacs-orgmode


On Mon, 06 Jul 2015 22:34:35 -0400
Nick Dokos <ndokos@gmail.com> wrote:

> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> 
> > Hello,
> >
> > Robert Klein <roklein@roklein.de> writes:
> >
> >> Hello,
> >>
> >> when I export the attached (ECM'd) file t3.org to LaTeX (C-c C-e l
> >> l) I get the error ``Symbol's value as variable is void:
> >> orgtbl-exp-regexp''
> >
> > FWIW, I cannot reproduce it.
> >
> 
> I can reproduce it:
> 
> emacs -Q -l ~/src/minimal/min.org.el
> ~/src/org/tables/robert-klein-ecm.org
> 
> and C-c C-e l l does it.
> 
> I think ox-latex.el needs to require org-table.


Thanks.  I've been feeling a little hypochondriac.

When I require org-table in ox-latex.el the export works.

Thanks again.

Best regards
Robert

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

* Re: Bug: latex table export fails in master [8.3beta (release_8.3beta-1253-gaa9c4b @ /home/theorie/kleinrob/.emacs.d/org-mode/lisp/)]
  2015-07-07 12:30     ` Robert Klein
@ 2015-07-07 12:47       ` Rasmus
  2015-07-07 13:05         ` Nick Dokos
  2015-07-07 18:28         ` Robert Klein
  0 siblings, 2 replies; 7+ messages in thread
From: Rasmus @ 2015-07-07 12:47 UTC (permalink / raw)
  To: emacs-orgmode

>> I can reproduce it: [...]

Me too.

>> I think ox-latex.el needs to require org-table.
> ...
> When I require org-table in ox-latex.el the export works.

I added a autoload cookie for the relevant regexp in be019c4339.  It
solves the problem for me.

Rasmus 

-- 
Don't panic!!!

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

* Re: Bug: latex table export fails in master [8.3beta (release_8.3beta-1253-gaa9c4b @ /home/theorie/kleinrob/.emacs.d/org-mode/lisp/)]
  2015-07-07 12:47       ` Rasmus
@ 2015-07-07 13:05         ` Nick Dokos
  2015-07-07 18:28         ` Robert Klein
  1 sibling, 0 replies; 7+ messages in thread
From: Nick Dokos @ 2015-07-07 13:05 UTC (permalink / raw)
  To: emacs-orgmode

Rasmus <rasmus@gmx.us> writes:

>>> I can reproduce it: [...]
>
> Me too.
>
>>> I think ox-latex.el needs to require org-table.
>> ...
>> When I require org-table in ox-latex.el the export works.
>
> I added a autoload cookie for the relevant regexp in be019c4339.  It
> solves the problem for me.
>

Confirmed, thanks!

-- 
Nick

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

* Re: Bug: latex table export fails in master [8.3beta (release_8.3beta-1253-gaa9c4b @ /home/theorie/kleinrob/.emacs.d/org-mode/lisp/)]
  2015-07-07 12:47       ` Rasmus
  2015-07-07 13:05         ` Nick Dokos
@ 2015-07-07 18:28         ` Robert Klein
  1 sibling, 0 replies; 7+ messages in thread
From: Robert Klein @ 2015-07-07 18:28 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

On Tue, 07 Jul 2015 14:47:49 +0200
Rasmus <rasmus@gmx.us> wrote:

> >> I can reproduce it: [...]
> 
> Me too.
> 
> >> I think ox-latex.el needs to require org-table.
> > ...
> > When I require org-table in ox-latex.el the export works.
> 
> I added a autoload cookie for the relevant regexp in be019c4339.  It
> solves the problem for me.
> 
> Rasmus 
> 

Thanks a lot.  Works for me, too.

Best regards
Robert

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

end of thread, other threads:[~2015-07-07 18:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06  7:57 Bug: latex table export fails in master [8.3beta (release_8.3beta-1253-gaa9c4b @ /home/theorie/kleinrob/.emacs.d/org-mode/lisp/)] Robert Klein
2015-07-06 15:46 ` Nicolas Goaziou
2015-07-07  2:34   ` Nick Dokos
2015-07-07 12:30     ` Robert Klein
2015-07-07 12:47       ` Rasmus
2015-07-07 13:05         ` Nick Dokos
2015-07-07 18:28         ` Robert Klein

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).