emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: emacs-orgmode@gnu.org
Subject: Struggling with setting up ox-koma-letter.el
Date: Sun, 26 Jun 2016 16:09:28 -0300	[thread overview]
Message-ID: <87y45rhimv.fsf@moondust.awandering> (raw)

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‰^]\bƒ<^@ÑÒÎÓ \"\"ˆ‚W^@\vƒW^@^M\bB^P\fÎÔ
    \"bˆÕÆxˆ`|ˆŠ\vcˆ)+)‚^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.

             reply	other threads:[~2016-06-28 12:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-26 19:09 N. Jackson [this message]
2016-06-28 13:03 ` Struggling with setting up ox-koma-letter.el N. Jackson
2016-07-18  7:32   ` Robert Klein
2016-07-18  9:21   ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y45rhimv.fsf@moondust.awandering \
    --to=nljlistbox2@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).