emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: koma-letter-export does not work [8.0.6 (8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]
@ 2013-07-25 13:13 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
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Reichör @ 2013-07-25 13:13 UTC (permalink / raw)
  To: emacs-orgmode


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

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.\0\n@.\306\v	\"\203.\0\307\301\305\"\210\nA\211.\204\b.*\310\v!\2034.\vG\311Y\2034.\v\312H\f>\204:.\313\314\315\316#\210\v\317H\207" [org-export-invisible-backends ignored --dolist-tail-- name cl-struct-org-export-backend-tags nil org-export-derived-backend-p throw vectorp 8 0 error "%s accessing a non-%s" org-export-backend-menu org-export-backend 7] 5)
  #[(b) "\b@.\302\303\215)\207" [b name ignored (byte-code "\b\305.\211.\203.\0\n@.\306\v	\"\203.\0\307\301\305\"\210\nA\211.\204\b.*\310\v!\2034.\vG\311Y\2034.\v\312H\f>\204:.\313\314\315\316#\210\v\317H\207" [org-export-invisible-backends ignored --dolist-tail-- name cl-struct-org-export-backend-tags nil org-export-derived-backend-p throw vectorp 8 0 error "%s accessing a non-%s" org-export-backend-menu org-export-backend 7] 5)] 2]((latex :translate-alist ((bold . org-latex-bold) (center-block . org-latex-center-block) (clock . org-latex-clock) (code . org-latex-code) (comment lambda (&rest args) "") (comment-block lambda (&rest args) "") (drawer . org-latex-drawer) (dynamic-block . org-latex-dynamic-block) (entity . org-latex-entity) (example-block . org-latex-example-block) (export-block . org-latex-export-block) (export-snippet . org-latex-export-snippet) (fixed-width . org-latex-fixed-width) (footnote-definition . org-latex-footnote-definition) (footnote-reference . org-latex-footnote-reference) (headline . org-latex-headline) (horizontal-rule . org-latex-horizontal-rule) (inline-src-block . org-latex-inline-src-block) (inlinetask . org-latex-inlinetask) (italic . org-latex-italic) (item . org-latex-item) (keyword . org-latex-keyword) (latex-environment . org-latex-latex-environment) (latex-fragment . org-latex-latex-fragment) (line-break . org-latex-line-break) (link . org-latex-link) (paragraph . org-latex-paragraph) (plain-list . org-latex-plain-list) (plain-text . org-latex-plain-text) (planning . org-latex-planning) (property-drawer lambda (&rest args) "") (quote-block . org-latex-quote-block) (quote-section . org-latex-quote-section) (radio-target . org-latex-radio-target) (section . org-latex-section) (special-block . org-latex-special-block) (src-block . org-latex-src-block) (statistics-cookie . org-latex-statistics-cookie) (strike-through . org-latex-strike-through) (subscript . org-latex-subscript) (superscript . org-latex-superscript) (table . org-latex-table) (table-cell . org-latex-table-cell) (table-row . org-latex-table-row) (target . org-latex-target) (template . org-latex-template) (timestamp . org-latex-timestamp) (underline . org-latex-underline) (verbatim . org-latex-verbatim) (verse-block . org-latex-verse-block)) :options-alist ((:latex-class "LATEX_CLASS" nil org-latex-default-class t) (:latex-class-options "LATEX_CLASS_OPTIONS" nil nil t) (:latex-header "LATEX_HEADER" nil nil newline) (:latex-header-extra "LATEX_HEADER_EXTRA" nil nil newline) (:latex-hyperref-p nil "texht" org-latex-with-hyperref t) (:date "DATE" nil "\\today" t)) :menu-entry (108 "Export to LaTeX" ((76 "As LaTeX buffer" org-latex-export-as-latex) (108 "As LaTeX file" org-latex-export-to-latex) (112 "As PDF file" org-latex-export-to-pdf) (111 "As PDF file and open" (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b)))))))))
  mapcar(#[(b) "\b@.\302\303\215)\207" [b name ignored (byte-code "\b\305.\211.\203.\0\n@.\306\v	\"\203.\0\307\301\305\"\210\nA\211.\204\b.*\310\v!\2034.\vG\311Y\2034.\v\312H\f>\204:.\313\314\315\316#\210\v\317H\207" [org-export-invisible-backends ignored --dolist-tail-- name cl-struct-org-export-backend-tags nil org-export-derived-backend-p throw vectorp 8 0 error "%s accessing a non-%s" org-export-backend-menu org-export-backend 7] 5)] 2] ((latex :translate-alist ((bold . org-latex-bold) (center-block . org-latex-center-block) (clock . org-latex-clock) (code . org-latex-code) (comment lambda (&rest args) "") (comment-block lambda (&rest args) "") (drawer . org-latex-drawer) (dynamic-block . org-latex-dynamic-block) (entity . org-latex-entity) (example-block . org-latex-example-block) (export-block . org-latex-export-block) (export-snippet . org-latex-export-snippet) (fixed-width . org-latex-fixed-width) (footnote-definition . org-latex-footnote-definition) (footnote-reference . org-latex-footnote-reference) (headline . org-latex-headline) (horizontal-rule . org-latex-horizontal-rule) (inline-src-block . org-latex-inline-src-block) (inlinetask . org-latex-inlinetask) (italic . org-latex-italic) (item . org-latex-item) (keyword . org-latex-keyword) (latex-environment . org-latex-latex-environment) (latex-fragment . org-latex-latex-fragment) (line-break . org-latex-line-break) (link . org-latex-link) (paragraph . org-latex-paragraph) (plain-list . org-latex-plain-list) (plain-text . org-latex-plain-text) (planning . org-latex-planning) (property-drawer lambda (&rest args) "") (quote-block . org-latex-quote-block) (quote-section . org-latex-quote-section) (radio-target . org-latex-radio-target) (section . org-latex-section) (special-block . org-latex-special-block) (src-block . org-latex-src-block) (statistics-cookie . org-latex-statistics-cookie) (strike-through . org-latex-strike-through) (subscript . org-latex-subscript) (superscript . org-latex-superscript) (table . org-latex-table) (table-cell . org-latex-table-cell) (table-row . org-latex-table-row) (target . org-latex-target) (template . org-latex-template) (timestamp . org-latex-timestamp) (underline . org-latex-underline) (verbatim . org-latex-verbatim) (verse-block . org-latex-verse-block)) :options-alist ((:latex-class "LATEX_CLASS" nil org-latex-default-class t) (:latex-class-options "LATEX_CLASS_OPTIONS" nil nil t) (:latex-header "LATEX_HEADER" nil nil newline) (:latex-header-extra "LATEX_HEADER_EXTRA" nil nil newline) (:latex-hyperref-p nil "texht" org-latex-with-hyperref t) (:date "DATE" nil "\\today" t)) :menu-entry (108 "Export to LaTeX" ((76 "As LaTeX buffer" org-latex-export-as-latex) (108 "As LaTeX file" org-latex-export-to-latex) (112 "As PDF file" org-latex-export-to-pdf) (111 "As PDF file and open" (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file ...))))))) (html :translate-alist ((bold . org-html-bold) (center-block . org-html-center-block) (clock . org-html-clock) (code . org-html-code) (drawer . org-html-drawer) (dynamic-block . org-html-dynamic-block) (entity . org-html-entity) (example-block . org-html-example-block) (export-block . org-html-export-block) (export-snippet . org-html-export-snippet) (fixed-width . org-html-fixed-width) (footnote-definition . org-html-footnote-definition) (footnote-reference . org-html-footnote-reference) (headline . org-html-headline) (horizontal-rule . org-html-horizontal-rule) (inline-src-block . org-html-inline-src-block) (inlinetask . org-html-inlinetask) (inner-template . org-html-inner-template) (italic . org-html-italic) (item . org-html-item) (keyword . org-html-keyword) (latex-environment . org-html-latex-environment) (latex-fragment . org-html-latex-fragment) (line-break . org-html-line-break) (link . org-html-link) (paragraph . org-html-paragraph) (plain-list . org-html-plain-list) (plain-text . org-html-plain-text) (planning . org-html-planning) (property-drawer . org-html-property-drawer) (quote-block . org-html-quote-block) (quote-section . org-html-quote-section) (radio-target . org-html-radio-target) (section . org-html-section) (special-block . org-html-special-block) (src-block . org-html-src-block) (statistics-cookie . org-html-statistics-cookie) (strike-through . org-html-strike-through) (subscript . org-html-subscript) (superscript . org-html-superscript) (table . org-html-table) (table-cell . org-html-table-cell) (table-row . org-html-table-row) (target . org-html-target) (template . org-html-template) (timestamp . org-html-timestamp) (underline . org-html-underline) (verbatim . org-html-verbatim) (verse-block . org-html-verse-block)) :filters-alist ((:filter-options . org-html-infojs-install-script) (:filter-final-output . org-html-final-function)) :options-alist ((:html-extension nil nil org-html-extension) (:html-link-org-as-html nil nil org-html-link-org-files-as-html) (:html-doctype "HTML_DOCTYPE" nil org-html-doctype) (:html-container "HTML_CONTAINER" nil org-html-container-element) (:html-link-home "HTML_LINK_HOME" nil org-html-link-home) (:html-link-up "HTML_LINK_UP" nil org-html-link-up) (:html-mathjax "HTML_MATHJAX" nil "" space) (:html-postamble nil "html-postamble" org-html-postamble) (:html-preamble nil "html-preamble" org-html-preamble) (:html-head "HTML_HEAD" nil org-html-head newline) (:html-head-extra "HTML_HEAD_EXTRA" nil org-html-head-extra newline) (:html-head-include-default-style "HTML_INCLUDE_STYLE" nil org-html-head-include-default-style newline) (:html-head-include-scripts "HTML_INCLUDE_SCRIPTS" nil org-html-head-include-scripts newline) (:html-table-attributes nil nil org-html-table-default-attributes) (:html-table-row-tags nil nil org-html-table-row-tags) (:html-xml-declaration nil nil org-html-xml-declaration) (:html-inline-images nil nil org-html-inline-images) (:infojs-opt "INFOJS_OPT" nil nil) (:creator "CREATOR" nil org-html-creator-string) (:with-latex nil "tex" org-html-with-latex)) :menu-entry (104 "Export to HTML" ((72 "As HTML buffer" org-html-export-as-html) (104 "As HTML file" org-html-export-to-html) (111 "As HTML file and open" (lambda (a s v b) (if a (org-html-export-to-html t s v b) (org-open-file ...))))))) (ascii :translate-alist ((bold . org-ascii-bold) (center-block . org-ascii-center-block) (clock . org-ascii-clock) (code . org-ascii-code) (comment lambda (&rest args) "") (comment-block lambda (&rest args) "") (drawer . org-ascii-drawer) (dynamic-block . org-ascii-dynamic-block) (entity . org-ascii-entity) (example-block . org-ascii-example-block) (export-block . org-ascii-export-block) (export-snippet . org-ascii-export-snippet) (fixed-width . org-ascii-fixed-width) (footnote-reference . org-ascii-footnote-reference) (headline . org-ascii-headline) (horizontal-rule . org-ascii-horizontal-rule) (inline-src-block . org-ascii-inline-src-block) (inlinetask . org-ascii-inlinetask) (inner-template . org-ascii-inner-template) (italic . org-ascii-italic) (item . org-ascii-item) (keyword . org-ascii-keyword) (latex-environment . org-ascii-latex-environment) (latex-fragment . org-ascii-latex-fragment) (line-break . org-ascii-line-break) (link . org-ascii-link) (paragraph . org-ascii-paragraph) (plain-list . org-ascii-plain-list) (plain-text . org-ascii-plain-text) (planning . org-ascii-planning) (quote-block . org-ascii-quote-block) (quote-section . org-ascii-quote-section) (radio-target . org-ascii-radio-target) (section . org-ascii-section) (special-block . org-ascii-special-block) (src-block . org-ascii-src-block) (statistics-cookie . org-ascii-statistics-cookie) (strike-through . org-ascii-strike-through) (subscript . org-ascii-subscript) (superscript . org-ascii-superscript) (table . org-ascii-table) (table-cell . org-ascii-table-cell) (table-row . org-ascii-table-row) (target . org-ascii-target) (template . org-ascii-template) (timestamp . org-ascii-timestamp) (underline . org-ascii-underline) (verbatim . org-ascii-verbatim) (verse-block . org-ascii-verse-block)) :filters-alist ((:filter-headline . org-ascii-filter-headline-blank-lines) (:filter-parse-tree org-ascii-filter-paragraph-spacing org-ascii-filter-comment-spacing) (:filter-section . org-ascii-filter-headline-blank-lines)) :options-alist ((:ascii-charset nil nil org-ascii-charset)) :menu-entry (116 "Export to Plain Text" ((65 "As ASCII buffer" (lambda (a s v b) (org-ascii-export-as-ascii a s v b (quote ...)))) (97 "As ASCII file" (lambda (a s v b) (org-ascii-export-to-ascii a s v b (quote ...)))) (76 "As Latin1 buffer" (lambda (a s v b) (org-ascii-export-as-ascii a s v b (quote ...)))) (108 "As Latin1 file" (lambda (a s v b) (org-ascii-export-to-ascii a s v b (quote ...)))) (85 "As UTF-8 buffer" (lambda (a s v b) (org-ascii-export-as-ascii a s v b (quote ...)))) (117 "As UTF-8 file" (lambda (a s v b) (org-ascii-export-to-ascii a s v b (quote ...)))))))))
  org-export--dispatch-ui((buffer nil) nil nil)
  org-export-dispatch(nil)
  call-interactively(org-export-dispatch nil nil)
  command-execute(org-export-dispatch)


Emacs  : GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4)
 of 2013-07-11 on ubu64
Package: Org-mode version 8.0.6 (8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)

current state:
==============
(setq
 org-hide-leading-stars t
 org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-log-done 'time
 org-confirm-shell-link-function 'yes-or-no-p
 org-return-follows-link t
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-from-is-user-regexp "\\<stefan@ubu64\\>\\|\\<Stefan Reichoer\\>"
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5]
                 #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-odd-levels-only t
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
  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 ` Alan Schmitt
  2013-07-26  7:38   ` Stefan Reichör
  0 siblings, 1 reply; 11+ messages in thread
From: Alan Schmitt @ 2013-07-26  7:26 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: emacs-orgmode

Hello Stefan,

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"?

Alan

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
  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  8:56     ` Rasmus
  0 siblings, 2 replies; 11+ messages in thread
From: Stefan Reichör @ 2013-07-26  7:38 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: emacs-orgmode

Hello Alan!

> Hello Stefan,
>
> 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.

Stefan.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
  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  8:56     ` Rasmus
  1 sibling, 1 reply; 11+ messages in thread
From: Alan Schmitt @ 2013-07-26  7:59 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: emacs-orgmode

stefan@xsteve.at writes:

> Yes, I get the error message after hitting C-c C-e.
>
> I installed org via M-x list-packages yesterday.

Are you able to export an org file to a different format (like html)?
I'm trying to see whether this is koma-specific.

Alan

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
  2013-07-26  7:38   ` Stefan Reichör
  2013-07-26  7:59     ` Alan Schmitt
@ 2013-07-26  8:56     ` Rasmus
  2013-07-26  9:29       ` Rasmus
  1 sibling, 1 reply; 11+ messages in thread
From: Rasmus @ 2013-07-26  8:56 UTC (permalink / raw)
  To: emacs-orgmode

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.

–Rasmus 

-- 
A page of history is worth a volume of logic

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
  2013-07-26  8:56     ` Rasmus
@ 2013-07-26  9:29       ` Rasmus
  0 siblings, 0 replies; 11+ messages in thread
From: Rasmus @ 2013-07-26  9:29 UTC (permalink / raw)
  To: emacs-orgmode

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!

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
  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
  0 siblings, 2 replies; 11+ messages in thread
From: Stefan Reichör @ 2013-07-26 10:12 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: emacs-orgmode

Hello Alan!

> stefan@xsteve.at writes:
>
>> Yes, I get the error message after hitting C-c C-e.
>>
>> I installed org via M-x list-packages yesterday.
>
> Are you able to export an org file to a different format (like html)?
> I'm trying to see whether this is koma-specific.

No. In my installation exporting seems completly broken.
I get the same error with a minimal org file.

Stefan.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
  2013-07-26 10:12       ` Stefan Reichör
@ 2013-07-26 10:45         ` Robert Klein
  2013-07-26 12:00         ` Alan Schmitt
  1 sibling, 0 replies; 11+ messages in thread
From: Robert Klein @ 2013-07-26 10:45 UTC (permalink / raw)
  To: emacs-orgmode

On 07/26/2013 12:12 PM, Stefan Reichör wrote:
> Hello Alan!
> 
>> stefan@xsteve.at writes:
>>
>>> Yes, I get the error message after hitting C-c C-e.
>>>
>>> I installed org via M-x list-packages yesterday.
>>
>> Are you able to export an org file to a different format (like html)?
>> I'm trying to see whether this is koma-specific.
> 
> No. In my installation exporting seems completly broken.
> I get the same error with a minimal org file.
> 
> Stefan.
> 


Hi Stefan,

probably your org installation is borked, for example files from
different org versions mixed together.  I'd delete the org installation
and make install it again.

Best regards
Robert

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
  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
  1 sibling, 2 replies; 11+ messages in thread
From: Alan Schmitt @ 2013-07-26 12:00 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: emacs-orgmode

stefan@xsteve.at writes:

> Hello Alan!
>
>> stefan@xsteve.at writes:
>>
>>> Yes, I get the error message after hitting C-c C-e.
>>>
>>> I installed org via M-x list-packages yesterday.
>>
>> Are you able to export an org file to a different format (like html)?
>> I'm trying to see whether this is koma-specific.
>
> No. In my installation exporting seems completly broken.
> I get the same error with a minimal org file.

I'm sorry, but I'm afraid I don't know the cause of the problem.

Alan

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
  2013-07-26 12:00         ` Alan Schmitt
@ 2013-07-26 12:57           ` Rick Frankel
  2013-07-26 13:01           ` Stefan Reichör
  1 sibling, 0 replies; 11+ messages in thread
From: Rick Frankel @ 2013-07-26 12:57 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: emacs-orgmode

On 2013-07-26 08:00, Alan Schmitt wrote:
> stefan@xsteve.at writes:
> 
> Hello Alan!
> 
> stefan@xsteve.at writes:
> 
> Yes, I get the error message after hitting C-c C-e.
> 
> I installed org via M-x list-packages yesterday.
> 
> Are you able to export an org file to a different format (like html)?
> I'm trying to see whether this is koma-specific.
> 
> No. In my installation exporting seems completly broken.
> I get the same error with a minimal org file.
> 
> I'm sorry, but I'm afraid I don't know the cause of the problem.

There have been a number of discussions on this in the mailing list. For 
instance:

http://permalink.gmane.org/gmane.emacs.orgmode/69337

Short answer: You need to do the elpa install in an emacs instance that 
has not
yet loaded the old version of org. Try removing the package and 
reinstalling from an emacs -Q.

rick

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]
  2013-07-26 12:00         ` Alan Schmitt
  2013-07-26 12:57           ` Rick Frankel
@ 2013-07-26 13:01           ` Stefan Reichör
  1 sibling, 0 replies; 11+ messages in thread
From: Stefan Reichör @ 2013-07-26 13:01 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: emacs-orgmode

Hello Alan!

> stefan@xsteve.at writes:
>
>> Hello Alan!
>>
>>> stefan@xsteve.at writes:
>>>
>>>> Yes, I get the error message after hitting C-c C-e.
>>>>
>>>> I installed org via M-x list-packages yesterday.
>>>
>>> Are you able to export an org file to a different format (like html)?
>>> I'm trying to see whether this is koma-specific.
>>
>> No. In my installation exporting seems completly broken.
>> I get the same error with a minimal org file.
>
> I'm sorry, but I'm afraid I don't know the cause of the problem.

It seems to be an emacs byte compilation problem.
I use a rather up-to-date emacs (GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of 2013-07-11 on ubu64)

I deleted all *.elc files in /home/stefan/.emacs.d/elpa/org-20130722 to get a somewhat prettier backtrace.

Then I restarted emacs and the export problem is gone...


Stefan.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-07-26 13:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).