From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Errors on start up when loading ox-md and ox-beamer (seems caused by recent commit) Date: Tue, 19 Mar 2013 18:41:06 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI69V-0004st-Dv for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 19:41:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UI69T-0006zS-W0 for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 19:41:09 -0400 Received: from mail-oa0-f49.google.com ([209.85.219.49]:32789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI69T-0006zO-PJ for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 19:41:07 -0400 Received: by mail-oa0-f49.google.com with SMTP id j6so1194494oag.36 for ; Tue, 19 Mar 2013 16:41:07 -0700 (PDT) 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 I haven't changed my setup since getting the new exporter up and going after pulling yesterday. Here's the problem section: #+begin_src emacs-lisp (require 'ox-latex) (require 'ox-html) ;;(require 'ox-beamer) ;;(require 'ox-md) (require 'ox-odt) (require 'ox-taskjuggler) (add-to-list 'org-latex-classes '("beamer" "\\documentclass\[presentation\]\{beamer\}" ("\\section\{%s\}" . "\\section*\{%s\}") ("\\subsection\{%s\}" . "\\subsection*\{%s\}") ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}"))) (setq org-latex-tables-booktabs t) #+end_src If I uncomment requiring either ox-beamer or ox-md, I get this error: #+begin_src error Warning (initialization): An error occurred while loading `/home/jwhendy/.emacs': Wrong type argument: symbolp, ((TEX . org-element-export-block-parser) (LATEX . org-element-export-block-parser) (HTML . org-element-export-block-parser) (ASCII . org-element-export-block-parser) (CENTER . org-element-center-block-parser) (COMMENT . org-element-comment-block-parser) (EXAMPLE . org-element-example-block-parser) (QUOTE . org-element-quote-block-parser) (SRC . org-element-src-block-parser) (VERSE . org-element-verse-block-parser)) To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. #+end_src Running `emacs --debug-init` yields (this was with ox-md uncommented; I could re-run with ox-beamer instead if desired): #+begin_src debug Debugger entered--Lisp error: (wrong-type-argument symbolp (("TEX" . org-element-export-block-parser) ("LATEX" . org-element-export-block-parser) ("HTML" . org-element-export-block-parser) ("ASCII" . org-element-export-block-parser) ("CENTER" . org-element-center-block-parser) ("COMMENT" . org-element-comment-block-parser) ("EXAMPLE" . org-element-example-block-parser) ("QUOTE" . org-element-quote-block-parser) ("SRC" . org-element-src-block-parser) ("VERSE" . org-element-verse-block-parser))) add-to-list((("TEX" . org-element-export-block-parser) ("LATEX" . org-element-export-block-parser) ("HTML" . org-element-export-block-parser) ("ASCII" . org-element-export-block-parser) ("CENTER" . org-element-center-block-parser) ("COMMENT" . org-element-comment-block-parser) ("EXAMPLE" . org-element-example-block-parser) ("QUOTE" . org-element-quote-block-parser) ("SRC" . org-element-src-block-parser) ("VERSE" . org-element-verse-block-parser)) ("MD" . org-element-export-block-parser)) #[(name) "\302=08 \303B\"\207" [org-element-block-name-alist name add-to-list org-element-export-block-parser] 4]("MD") mapc(#[(name) "\302=08 \303B\"\207" [org-element-block-name-alist name add-to-list org-element-export-block-parser] 4] ("MD" "MARKDOWN")) org-export-define-derived-backend(md html :export-block ("MD" "MARKDOWN") :filters-alist ((:filter-parse-tree . org-md-separate-elements)) :menu-entry (109 "Export to Markdown" ((77 "To temporary buffer" (lambda (a s v b) (org-md-export-as-markdown a s v))) (109 "To file" (lambda (a s v b) (org-md-export-to-markdown a s v))) (111 "To file and open" (lambda (a s v b) (if a (org-md-export-to-markdown t s v) (org-open-file (org-md-export-to-markdown nil s v))))))) :translate-alist ((bold . org-md-bold) (code . org-md-verbatim) (underline . org-md-verbatim) (comment lambda (&rest args) "") (comment-block lambda (&rest args) "") (example-block . org-md-example-block) (fixed-width . org-md-example-block) (footnote-definition . ignore) (footnote-reference . ignore) (headline . org-md-headline) (horizontal-rule . org-md-horizontal-rule) (inline-src-block . org-md-verbatim) (italic . org-md-italic) (item . org-md-item) (line-break . org-md-line-break) (link . org-md-link) (paragraph . org-md-paragraph) (plain-list . org-md-plain-list) (plain-text . org-md-plain-text) (quote-block . org-md-quote-block) (quote-section . org-md-example-block) (section . org-md-section) (src-block . org-md-example-block) (template . org-md-template) (verbatim . org-md-verbatim))) require(ox-md) eval-buffer(#> nil "/home/jwhendy/org/aux/emacs-config.el" nil t) ; Reading at buffer position 281 load-with-code-conversion("/home/jwhendy/org/aux/emacs-config.el" "/home/jwhendy/org/aux/emacs-config.el" nil nil) load("/home/jwhendy/org/aux/emacs-config.el" nil nil t) load-file("~/org/aux/emacs-config.el") org-babel-load-file("~/org/aux/emacs-config.org") eval-buffer(# nil "/home/jwhendy/.emacs" nil t) ; Reading at buffer position 520 load-with-code-conversion("/home/jwhendy/.emacs" "/home/jwhendy/.emacs" t= t) load("~/.emacs" t t) #[0 "=08\205\262 #+end_src I don't know git very well. If someone can provide a way to view what commit I was on most recently before today's pull, I can provide that. >From doing `ls -l` in my git repo, it appears I pulled yesterday. I pulled this afternoon after Bastien announced that =3D:width Xpx=3D is now the format for html export. That appears to be this one: commit eff59a15d76647ce8282626b9eb463dc3706d56e Author: Bastien Guerry Date: Tue Mar 19 19:35:44 2013 +0100 As one last check, I created a config with *only* the bit pasted above setting exporter options. I then set my .emacs to load that instead of my full orgmode file config. Same errors. Let me know if I can provide further information. Best regards, John