From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus 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 Message-ID: <87iozxy8h6.fsf@gmx.us> References: <87bo5pzokl.fsf@gmx.us> 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]:53068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2eLh-0004j6-Ep for emacs-orgmode@gnu.org; Fri, 26 Jul 2013 05:30:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2eLf-0004Bb-Ri for emacs-orgmode@gnu.org; Fri, 26 Jul 2013 05:30:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:41905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2eLf-0004BA-M3 for emacs-orgmode@gnu.org; Fri, 26 Jul 2013 05:30:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V2eLe-0006Wy-J0 for emacs-orgmode@gnu.org; Fri, 26 Jul 2013 11:30:06 +0200 Received: from g229061171.adsl.alicedsl.de ([92.229.61.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Jul 2013 11:30:06 +0200 Received: from rasmus by g229061171.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Jul 2013 11:30: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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rasmus writes: > Stefan Reichör 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("\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!