From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
Date: Fri, 26 Jul 2013 11:29:57 +0200 [thread overview]
Message-ID: <87iozxy8h6.fsf@gmx.us> (raw)
In-Reply-To: 87bo5pzokl.fsf@gmx.us
Rasmus <rasmus@gmx.us> writes:
> Stefan Reichör <stefan@xsteve.at> writes:
>
>>>> I tried the recipe on this site:
>>>> http://orgmode.org/worg/exporters/koma-letter-export.html
>>>>
>>>> C-c C-e gives the following error message:
>>>> Debugger entered--Lisp error: (error "org-export-backend-menu
>>>> accessing a non-org-export-backend")
>>>> signal(error ("org-export-backend-menu accessing a non-org-export-backend"))
>>>> error("%s accessing a non-%s" org-export-backend-menu org-export-backend)
>>>> byte-code("\b\305.\211.\203.
>>>
>>> I'm sorry but I cannot reproduce. The bug happens right at the moment
>>> you hit "C-c C-e"?
>>
>> Thanks for responding.
>> Yes, I get the error message after hitting C-c C-e.
>>
>> I installed org via M-x list-packages yesterday.
>
> Just to be able to compare, do you get the error when using the git
> version of ox-koma-letter?
>
> http://orgmode.org/cgit.cgi/org-mode.git/tree/contrib/lisp/ox-koma-letter.el
>
> Of course the "elpa" version should be working, but let's see if the
> problem exists in the newest version.
>
> I can test further in the beginning of August if it isn't solved by
> then.
I can't reproduce with git. With emacs -q and evaluating the
following scratch buffer I can export documents.
--8<---------------cut here---------------start------------->8---
(require 'ox-koma-letter)
;; Defined in ox-koma-letter, but there was a bug; fix has beeen submitted
(defun org-koma-letter-plug-into-ox ()
"Add a sparse `default-koma-letter' to `org-latex-classes' and set
`org-koma-letter-default-class' to `default-koma-letter'"
(let ((class "default-koma-letter"))
(eval-after-load "ox-latex"
`(unless (member ,class 'org-latex-classes)
(add-to-list 'org-latex-classes
`(,class
"\\documentclass[11pt]{scrlttr2}") ())
(setq org-koma-letter-default-class class)))))
(org-koma-letter-plug-into-ox)
--8<---------------cut here---------------end--------------->8---
I can typeset the letter from Worg with minimal changes (removing
redundant newline symbols). (The site somewhat it out of date)
–Rasmus
--
Enough with the bla bla!
prev parent reply other threads:[~2013-07-26 9:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 13:13 Bug: koma-letter-export does not work [8.0.6 (8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)] Stefan Reichör
2013-07-26 7:26 ` Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]] Alan Schmitt
2013-07-26 7:38 ` Stefan Reichör
2013-07-26 7:59 ` Alan Schmitt
2013-07-26 10:12 ` Stefan Reichör
2013-07-26 10:45 ` Robert Klein
2013-07-26 12:00 ` Alan Schmitt
2013-07-26 12:57 ` Rick Frankel
2013-07-26 13:01 ` Stefan Reichör
2013-07-26 8:56 ` Rasmus
2013-07-26 9:29 ` Rasmus [this message]
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=87iozxy8h6.fsf@gmx.us \
--to=rasmus@gmx.us \
--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).