From mboxrd@z Thu Jan 1 00:00:00 1970 From: nljlistbox2@gmail.com (N. Jackson) Subject: Struggling with setting up ox-koma-letter.el Date: Sun, 26 Jun 2016 16:09:28 -0300 Message-ID: <87y45rhimv.fsf@moondust.awandering> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHsJJ-0008Ds-29 for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 08:40:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHsJE-0005Ho-UK for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 08:40:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:33488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHsJE-0005HB-NE for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 08:40:08 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bHsJC-0000JD-Bh for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 14:40:06 +0200 Received: from 66-46-90-198.dedicated.allstream.net ([66.46.90.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jun 2016 14:40:06 +0200 Received: from nljlistbox2 by 66-46-90-198.dedicated.allstream.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jun 2016 14:40:06 +0200 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" To: emacs-orgmode@gnu.org I am trying to get ox-koma-letter.el working in my Emacs (25.0.95). I have been following the instructions at http://orgmode.org/worg/exporters/koma-letter-export.html and I am testing with the "A simple letter example" (http://orgmode.org/cgit.cgi/worg.git/plain/exporters/koma-letter-new-example.org). My org and my ox-koma-letter.el are from the Org Elpa org-plus-contrib package (version 20160620) and are located in ~/.emacs.d/elpa/org-plus-contrib-20160620/. I get an error message when I try to export the example letter using `C-c C-e k p'. The message is org-export-as: Wrong number of arguments: #[(templates) "ŠebˆÆ^XÇÈÆÉ#…\\^@Ê ^YË !Ì=ƒX^@Í \"^[ÎÏ \"‰^\ ÎÐ \"E‰^]ƒ<^@ÑÒÎÓ \"\"ˆ‚W^@ ƒW^@^MB^P ÎÔ \"bˆÕÆxˆ`|ˆŠ cˆ)+)‚^F^@*‡" [record object templates value begin signature nil re-search-forward "{{{[-A-Za-z0-9_]" t ...] 6 ("/data/projects/vc/emacs/emacs-25.0.95/lisp/org/org-macro.elc" . 3784)], 3 I can't read this error message due to all the escaped characters, but I do see a mention of an incorrect file. The org-macro.elc file mentioned in the error message is the one built in to Emacs and it should be hidden. I have normal-looking load path shadows, with the the elpa version hiding the version built in to Emacs (e.g. list-load-path-shadows shows for example that ~/.emacs.d/elpa/org-plus-contrib-20160620/org-macro hides /data/projects/vc/emacs/emacs-25.0.95/lisp/org/org-macro). I would welcome any help with getting this working. Thanks, N.