From mboxrd@z Thu Jan 1 00:00:00 1970 From: kevinbanjo Subject: can't export default koma letter Date: Mon, 29 Aug 2016 07:56:07 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=94eb2c123e4a62fe32053b371026 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beNyv-0006ro-LE for emacs-orgmode@gnu.org; Mon, 29 Aug 2016 10:56:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beNyr-0003Nz-DS for emacs-orgmode@gnu.org; Mon, 29 Aug 2016 10:56:12 -0400 Received: from mail-ua0-x229.google.com ([2607:f8b0:400c:c08::229]:34348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beNyq-0003Nr-U1 for emacs-orgmode@gnu.org; Mon, 29 Aug 2016 10:56:09 -0400 Received: by mail-ua0-x229.google.com with SMTP id k90so249920137uak.1 for ; Mon, 29 Aug 2016 07:56:08 -0700 (PDT) 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 --94eb2c123e4a62fe32053b371026 Content-Type: multipart/alternative; boundary=94eb2c123e4a62fe2d053b371024 --94eb2c123e4a62fe2d053b371024 Content-Type: text/plain; charset=UTF-8 Hi, I installed the get-stable version in ~/0work/org-mode and did the make on it (see my previous email). I then added (push "~/0work/org-mode/lisp" load-path) (push "~/0work/org-mode/etc" load-path) (push "~/0work/org-mode/contrib" load-path) (require 'org) (eval-after-load 'ox '(require 'ox-koma-letter)) (eval-after-load 'ox-koma-letter '(progn (add-to-list 'org-latex-classes '("my-letter" "\\documentclass\{scrlttr2\} \\usepackage[english]{babel} \\setkomavar{frombank}{(1234)\\,567\\,890} \[DEFAULT-PACKAGES] \[PACKAGES] \[EXTRA]")) (setq org-koma-letter-default-class "my-letter"))) to my .emacs. Now when I load up the attached koma example letter and try and export it (C-c C-e k o) I get the following stack trace: Debugger entered--Lisp error: (wrong-type-argument listp #("Romeo" 0 5 (:parent (#1)))) org-element-set-contents(#("Romeo" 0 5 (:parent (#0)))) apply(org-element-set-contents #("Romeo" 0 5 (:parent (#0))) nil) #[(s) " \306\307\310 # \311\312 \211 :\204 \313\202\" @9\203! AA\202\" )\"\210\314\315\n \211 :\2043\313\202@ @9\203? AA\202@ )#\210 \316\211\n ;\203V\317\320\f #\202\\\321 A@\f\"* \211 ;\203n\322 \313\f $\202z A\323 A@\f #\240\210 +\210\nA A@\240\210\n @\240*\207" [s new old element property value replace-regexp-in-string "\n" " " mapc #[(blob) " \305 \211 ;\203 \306\f\307 \n$\202 \fA\310\fA@ \n#\240\210\f+\207" [blob old value property element :parent org-add-props nil plist-put] 6] nil apply org-element-set-contents :parent get-text-property 0 plist-get org-add-props plist-put] 6](#("Romeo" 0 5 (:parent (#0)))) #[(--data) " \211 :\204 ;\205 \306\202 @9\205 @) ?\206\337 \203, \307 \310\">\206\337 \n\2047\311\f \"\202\337 \n\312=\203\\\311\f \211 :\204J\313\202W @9\203V AA\202W )\"\202\337 \n >\203\202 !\211 \203\201 \203z\314\315 \"\210\202\201 B ) \316=\203\312 ;\204\312\n \236A\313 \211 \203\311 @ \f ;\203\266\317\320 #\202\275\307 A@ \"*!\210 A\211 \204\234* \203\202 \316=\203\202 \n >\203\202 \313 \211 \203\201 @\211 @ A ;\203 \317\320 #\202 \307 A@ \"* ! \" !\203w \" #\235\203_ \" $\235\203P \321 !!\313 %\211 \203L @ %\f %A!\210\f %@!\210 A\211 \2042 *\202w \f !A!\210\f !@!\210\202w \" $\235\203r \311\f\321 !!\"\210\202w \f !!\210* A\211 \204\350*\n &>\206\337 \211 :\204\224 \313\202\241 @9\203\240 AA\202\241 )?\206\337 \322=\203\265 \n '>?\206\337 \323=\203\303 \n (>\206\337 \311\f \211 :\204\320 \313\202\335 @9\203\334 AA\202\335 )\")\207" [--data element --type info --walk-tree types plain-text plist-get :ignore-list mapc org-data nil throw --map-first-match objects get-text-property 0 reverse greater-elements elements fun result first-match --acc --category org-element-secondary-value-alist p --dolist-tail-- property with-affiliated org-element-all-elements org-element--parsed-properties-alist kwd-pair value kwd org-element-dual-keywords org-element-multiple-keywords line no-recursion org-element-greater-elements org-element-all-objects] 6](#("Romeo" 0 5 (:parent (#0)))) mapc(#[(--data) " \211 :\204 ;\205 \306\202 @9\205 @) ?\206\337 \203, \307 \310\">\206\337 \n\2047\311\f \"\202\337 \n\312=\203\\\311\f \211 :\204J\313\202W @9\203V AA\202W )\"\202\337 \n >\203\202 !\211 \203\201 \203z\314\315 \"\210\202\201 B ) \316=\203\312 ;\204\312\n \236A\313 \211 \203\311 @ \f ;\203\266\317\320 #\202\275\307 A@ \"*!\210 A\211 \204\234* \203\202 \316=\203\202 \n >\203\202 \313 \211 \203\201 @\211 @ A ;\203 \317\320 #\202 \307 A@ \"* ! \" !\203w \" #\235\203_ \" $\235\203P \321 !!\313 %\211 \203L @ %\f %A!\210\f %@!\210 A\211 \2042 *\202w \f !A!\210\f !@!\210\202w \" $\235\203r \311\f\321 !!\"\210\202w \f !!\210* A\211 \204\350*\n &>\206\337 \211 :\204\224 \313\202\241 @9\203\240 AA\202\241 )?\206\337 \322=\203\265 \n '>?\206\337 \323=\203\303 \n (>\206\337 \311\f \211 :\204\320 \313\202\335 @9\203\334 AA\202\335 )\")\207" [--data element --type info --walk-tree types plain-text plist-get :ignore-list mapc org-data nil throw --map-first-match objects get-text-property 0 reverse greater-elements elements fun result first-match --acc --category org-element-secondary-value-alist p --dolist-tail-- property with-affiliated org-element-all-elements org-element--parsed-properties-alist kwd-pair value kwd org-element-dual-keywords org-element-multiple-keywords line no-recursion org-element-greater-elements org-element-all-objects] 6] (#("Romeo" 0 5 (:parent #0)))) #[(--data) " \211 :\204 ;\205 \306\202 @9\205 @) ?\206\337 \203, \307 \310\">\206\337 \n\2047\311\f \"\202\337 \n\312=\203\\\311\f \211 :\204J\313\202W @9\203V AA\202W )\"\202\337 \n >\203\202 !\211 \203\201 \203z\314\315 \"\210\202\201 B ) \316=\203\312 ;\204\312\n \236A\313 \211 \203\311 @ \f ;\203\266\317\320 #\202\275\307 A@ \"*!\210 A\211 \204\234* \203\202 \316=\203\202 \n >\203\202 \313 \211 \203\201 @\211 @ A ;\203 \317\320 #\202 \307 A@ \"* ! \" !\203w \" #\235\203_ \" $\235\203P \321 !!\313 %\211 \203L @ %\f %A!\210\f %@!\210 A\211 \2042 *\202w \f !A!\210\f !@!\210\202w \" $\235\203r \311\f\321 !!\"\210\202w \f !!\210* A\211 \204\350*\n &>\206\337 \211 :\204\224 \313\202\241 @9\203\240 AA\202\241 )?\206\337 \322=\203\265 \n '>?\206\337 \323=\203\303 \n (>\206\337 \311\f \211 :\204\320 \313\202\335 @9\203\334 AA\202\335 )\")\207" [--data element --type info --walk-tree types plain-text plist-get :ignore-list mapc org-data nil throw --map-first-match objects get-text-property 0 reverse greater-elements elements fun result first-match --acc --category org-element-secondary-value-alist p --dolist-tail-- property with-affiliated org-element-all-elements org-element--parsed-properties-alist kwd-pair value kwd org-element-dual-keywords org-element-multiple-keywords line no-recursion org-element-greater-elements org-element-all-objects] 6]((#("Romeo" 0 5 (:parent #0)))) byte-code(" !\210\n\237\207" [--walk-tree data --acc] 2) org-element-map((#("Romeo" 0 5 (:parent #0))) plain-text #[(s) " \306\307\310 # \311\312 \211 :\204 \313\202\" @9\203! AA\202\" )\"\210\314\315\n \211 :\2043\313\202@ @9\203? AA\202@ )#\210 \316\211\n ;\203V\317\320\f #\202\\\321 A@\f\"* \211 ;\203n\322 \313\f $\202z A\323 A@\f #\240\210 +\210\nA A@\240\210\n @\240*\207" [s new old element property value replace-regexp-in-string "\n" " " mapc #[(blob) " \305 \211 ;\203 \306\f\307 \n$\202 \fA\310\fA@ \n#\240\210\f+\207" [blob old value property element :parent org-add-props nil plist-put] 6] nil apply org-element-set-contents :parent get-text-property 0 plist-get org-add-props plist-put] 6]) org-export--get-inbuffer-options([cl-struct-org-export-backend koma-letter latex ((export-block . org-koma-letter-export-block) (export-snippet . org-koma-letter-export-snippet) (headline . org-koma-letter-headline) (keyword . org-koma-letter-keyword) (template . org-koma-letter-template)) ((:latex-class "LATEX_CLASS" nil org-koma-letter-default-class t) (:lco "LCO" nil org-koma-letter-class-option-file) (:author "AUTHOR" nil (org-koma-letter--get-value org-koma-letter-author) parse) (:author-changed-in-buffer-p "AUTHOR" nil nil t) (:from-address "FROM_ADDRESS" nil org-koma-letter-from-address newline) (:phone-number "PHONE_NUMBER" nil org-koma-letter-phone-number) (:email "EMAIL" nil (org-koma-letter--get-value org-koma-letter-email) t) (:to-address "TO_ADDRESS" nil nil newline) (:place "PLACE" nil org-koma-letter-place) (:subject "SUBJECT" nil nil parse) (:opening "OPENING" nil org-koma-letter-opening parse) (:closing "CLOSING" nil org-koma-letter-closing parse) (:signature "SIGNATURE" nil org-koma-letter-signature newline) (:special-headings nil "special-headings" org-koma-letter-prefer-special-headings) (:special-tags nil nil (append org-koma-letter-special-tags-in-letter org-koma-letter-special-tags-after-closing org-koma-letter-special-tags-after-letter)) (:with-after-closing nil "after-closing-order" org-koma-letter-special-tags-after-closing) (:with-after-letter nil "after-letter-order" org-koma-letter-special-tags-after-letter) (:with-backaddress nil "backaddress" org-koma-letter-use-backaddress) (:with-email nil "email" org-koma-letter-use-email) (:with-foldmarks nil "foldmarks" org-koma-letter-use-foldmarks) (:with-phone nil "phone" org-koma-letter-use-phone) (:with-place nil "place" org-koma-letter-use-place) (:with-subject nil "subject" org-koma-letter-subject-format) (:with-title-as-subject nil "title-subject" org-koma-letter-prefer-subject) (:with-headline-opening nil nil org-koma-letter-headline-is-opening-maybe) (:inbuffer-author "AUTHOR" nil (quote koma-letter:empty)) (:inbuffer-email "EMAIL" nil (quote koma-letter:empty)) (:inbuffer-phone-number "PHONE_NUMBER" nil (quote koma-letter:empty)) (:inbuffer-place "PLACE" nil (quote koma-letter:empty)) (:inbuffer-signature "SIGNATURE" nil (quote koma-letter:empty)) (:inbuffer-with-backaddress nil "backaddress" (quote koma-letter:empty)) (:inbuffer-with-email nil "email" (quote koma-letter:empty)) (:inbuffer-with-foldmarks nil "foldmarks" (quote koma-letter:empty)) (:inbuffer-with-phone nil "phone" (quote koma-letter:empty)) (:inbuffer-with-place nil "place" (quote koma-letter:empty))) nil nil (107 "Export with KOMA Scrlttr2" ((76 "As LaTeX buffer" org-koma-letter-export-as-latex) (108 "As LaTeX file" org-koma-letter-export-to-latex) (112 "As PDF file" org-koma-letter-export-to-pdf) (111 "As PDF file and open" (lambda (a s v b) (if a (org-koma-letter-export-to-pdf t s v b) (org-open-file (org-koma-letter-export-to-pdf nil s v b)))))))]) org-export-get-environment([cl-struct-org-export-backend koma-letter latex ((export-block . org-koma-letter-export-block) (export-snippet . org-koma-letter-export-snippet) (headline . org-koma-letter-headline) (keyword . org-koma-letter-keyword) (template . org-koma-letter-template)) ((:latex-class "LATEX_CLASS" nil org-koma-letter-default-class t) (:lco "LCO" nil org-koma-letter-class-option-file) (:author "AUTHOR" nil (org-koma-letter--get-value org-koma-letter-author) parse) (:author-changed-in-buffer-p "AUTHOR" nil nil t) (:from-address "FROM_ADDRESS" nil org-koma-letter-from-address newline) (:phone-number "PHONE_NUMBER" nil org-koma-letter-phone-number) (:email "EMAIL" nil (org-koma-letter--get-value org-koma-letter-email) t) (:to-address "TO_ADDRESS" nil nil newline) (:place "PLACE" nil org-koma-letter-place) (:subject "SUBJECT" nil nil parse) (:opening "OPENING" nil org-koma-letter-opening parse) (:closing "CLOSING" nil org-koma-letter-closing parse) (:signature "SIGNATURE" nil org-koma-letter-signature newline) (:special-headings nil "special-headings" org-koma-letter-prefer-special-headings) (:special-tags nil nil (append org-koma-letter-special-tags-in-letter org-koma-letter-special-tags-after-closing org-koma-letter-special-tags-after-letter)) (:with-after-closing nil "after-closing-order" org-koma-letter-special-tags-after-closing) (:with-after-letter nil "after-letter-order" org-koma-letter-special-tags-after-letter) (:with-backaddress nil "backaddress" org-koma-letter-use-backaddress) (:with-email nil "email" org-koma-letter-use-email) (:with-foldmarks nil "foldmarks" org-koma-letter-use-foldmarks) (:with-phone nil "phone" org-koma-letter-use-phone) (:with-place nil "place" org-koma-letter-use-place) (:with-subject nil "subject" org-koma-letter-subject-format) (:with-title-as-subject nil "title-subject" org-koma-letter-prefer-subject) (:with-headline-opening nil nil org-koma-letter-headline-is-opening-maybe) (:inbuffer-author "AUTHOR" nil (quote koma-letter:empty)) (:inbuffer-email "EMAIL" nil (quote koma-letter:empty)) (:inbuffer-phone-number "PHONE_NUMBER" nil (quote koma-letter:empty)) (:inbuffer-place "PLACE" nil (quote koma-letter:empty)) (:inbuffer-signature "SIGNATURE" nil (quote koma-letter:empty)) (:inbuffer-with-backaddress nil "backaddress" (quote koma-letter:empty)) (:inbuffer-with-email nil "email" (quote koma-letter:empty)) (:inbuffer-with-foldmarks nil "foldmarks" (quote koma-letter:empty)) (:inbuffer-with-phone nil "phone" (quote koma-letter:empty)) (:inbuffer-with-place nil "place" (quote koma-letter:empty))) nil nil (107 "Export with KOMA Scrlttr2" ((76 "As LaTeX buffer" org-koma-letter-export-as-latex) (108 "As LaTeX file" org-koma-letter-export-to-latex) (112 "As PDF file" org-koma-letter-export-to-pdf) (111 "As PDF file and open" (lambda (a s v b) (if a (org-koma-letter-export-to-pdf t s v b) (org-open-file (org-koma-letter-export-to-pdf nil s v b)))))))] nil (:output-file "./k2.tex")) org-export-as(koma-letter nil nil nil (:output-file "./k2.tex")) org-export-to-file(koma-letter "./k2.tex" nil nil nil nil nil #[(file) "\301 !\207" [file org-latex-compile] 2]) org-koma-letter-export-to-pdf(nil nil nil nil) (org-open-file (org-koma-letter-export-to-pdf nil s v b)) (if a (org-koma-letter-export-to-pdf t s v b) (org-open-file (org-koma-letter-export-to-pdf nil s v b))) (lambda (a s v b) (if a (org-koma-letter-export-to-pdf t s v b) (org-open-file (org-koma-letter-export-to-pdf nil s v b))))(nil nil nil nil) org-export-dispatch(nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) I also used package-list-packages to delete org and org-contrib so hopefully its running the latest stable from my includes Can anyone help? I just want to be able to do letters, not a lot of lisp debugging. :\ --94eb2c123e4a62fe2d053b371024 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
I installed the get-stable version in ~/0work/org-= mode and did the make on it (see my previous email).

I then added=C2=A0

(push "~/0work/org= -mode/lisp" load-path)
(push "~/0work/org-mode/etc"= ; load-path)
(push "~/0work/org-mode/contrib" load-path= )

(require 'org)

(eval-after-load 'ox '(require 'ox-koma-letter))

(eval-after-load 'ox-koma-letter
=C2=A0 = 9;(progn
=C2=A0 =C2=A0 =C2=A0(add-to-list 'org-latex-classes<= /div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &#= 39;("my-letter"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "\\documentclass\{scrlttr2\}
=C2=A0 =C2=A0 =C2=A0\\usepackage[english]{babel}
=C2=A0 =C2=A0 = =C2=A0\\setkomavar{frombank}{(1234)\\,567\\,890}
=C2=A0 =C2=A0 = =C2=A0\[DEFAULT-PACKAGES]
=C2=A0 =C2=A0 =C2=A0\[PACKAGES]
=C2=A0 =C2=A0 =C2=A0\[EXTRA]"))

=C2=A0 =C2= =A0 =C2=A0(setq org-koma-letter-default-class "my-letter")))


to my .emacs.

Now when I load up the attached koma example letter and try and expor= t it (C-c C-e k o) I get the following stack trace:

Debugger entered--Lisp error: (wrong-type-argument listp #("Rom= eo" 0 5 (:parent (#1))))
=C2=A0 org-element-set-contents(#(&= quot;Romeo" 0 5 (:parent (#0))))
=C2=A0 apply(org-element-se= t-contents #("Romeo" 0 5 (:parent (#0))) nil)
=C2=A0 #[= (s) " \306\307\310 # \311\312 \211 :\204 \313\202\" @9\203! AA\202\" )\"\210\31= 4\315\n \211 :\2043\313\2= 02@ @9\203? AA\202@ )#\210 \316\211\n ;\203V\317\320\f #\202\\\321 A@\f\"* \211 ;\203n\322 \= 313\f
$\202z A\323 A@\f
#\240\210 +\210\nA A@\240\210\n @\240*\207" [s new old element property v= alue replace-regexp-in-string "\n" " " mapc #[(blob) &q= uot; \305 \211 ;\203 \3= 06\f\307 \n$\202 \fA\310\fA@ \n#\240\210\f+\207" [blob old value prope= rty element :parent org-add-props nil plist-put] 6] nil apply org-element-s= et-contents :parent get-text-property 0 plist-get org-add-props plist-put] = 6](#("Romeo" 0 5 (:parent (#0))))
=C2=A0 #[(--data) &qu= ot; \211 :\204 ;\205 \30= 6\202 @9\205 @) ?\206\337 \203, \307 \310\&quo= t;>\206\337 \n\2047\311\f \"\202\337 \n\312=3D\203\\\311\f \211 :\2= 04J\313\202W @9\203V AA\202W )\"\202\337 \n
>\203\202 != \211 \203\201 \203z\314\315 \"\210\202\201 B ) \316=3D\203\312= ;\204\312\n \236A\313 \211 \203\311 @ \f ;\203\266\317\320 #\202\275\307 A@ \"*!\210 A\211 \204\234* \203\202 \316=3D\203\20= 2 \n >\203\202 \313 \211 \203\201 @\211 @ A ;\203 \317\320 #\202 \307 A@ \"* ! \" !\203w \" #\235\203_ \" = $\235\203P \321 !!\313 %\211 \203L @ %\f %A!\210\f %@!\210 A\211 \2042= *\202w \f !A!\210\f !@!\210\202w \" $\235\203r \311\f\321 !!\"\= 210\202w \f !!\210* A\211 \204\350*\n &>\206\337 \211 :\204\224 \= 313\202\241 @9\203\240 <= span class=3D"" style=3D"white-space:pre"> AA\202\241 )?\206\337 \322=3D\203\265 \n '&= gt;?\206\337 \323=3D\203\303 \n (>\206\337 \311\f \211 :\204\320 \313\= 202\335 @9\203\334 AA\202\335 )\")\207" [--data element --type= info --walk-tree types plain-text plist-get :ignore-list mapc org-data nil= throw --map-first-match objects get-text-property 0 reverse greater-elemen= ts elements fun result first-match --acc --category org-element-secondary-v= alue-alist p --dolist-tail-- property with-affiliated org-element-all-eleme= nts org-element--parsed-properties-alist kwd-pair value kwd org-element-dua= l-keywords org-element-multiple-keywords line no-recursion org-element-grea= ter-elements org-element-all-objects] 6](#("Romeo" 0 5 (:parent (= #0))))
=C2=A0 mapc(#[(--data) " \211 :\204 ;\205 \306\202 @9\205 = @) ?\206\337 \203, \307 \310\">\206\337 \n\2047\311\f \&q= uot;\202\337 \n\312=3D\203\\\311\f \211 :\204J\313\202W @9\203V AA\202W )\&= quot;\202\337 \n
>\203\202 !\211 \203\201 \203z\314\315 \= "\210\202\201 B ) \316=3D\203\312 ;\204\312\n \236A\313 \211 \= 203\311 @ \f ;\20= 3\266\317\320 #\202\275= \307 A@ \"*!\210 A= \211 \204\234* \203\202 \316=3D\203\202 \n >\203\202 \313 \211 = \203\201 @\211 @ A ;\203 \317\320 #\202= \307 A@ \"* ! \&q= uot; !\203w \" #\235\203_ \" $\235\203P \321 !!\313 %\211 \203= L @ %\f %A!\210\f %@!\210 A\211 \2042 *\202w \f !A!\210\f !@!\210\202w = \" $\235\203r \311\f\321 !!\"\210\202w \f !!\210* A\211 \204\3= 50*\n &>\206\337 \211 :\204\224 \313\202\241 @9\203\240 AA\202\241 )?\206\337 \322=3D\203\265 \n '>?\206\337 \323=3D\203\303 \n = (>\206\337 \311\f \211 :\204\320 \313\202\335 @9\203\334 AA\202\335 )= \")\207" [--data element --type info --walk-tree types plain-text= plist-get :ignore-list mapc org-data nil throw --map-first-match objects g= et-text-property 0 reverse greater-elements elements fun result first-match= --acc --category org-element-secondary-value-alist p --dolist-tail-- prope= rty with-affiliated org-element-all-elements org-element--parsed-properties= -alist kwd-pair value kwd org-element-dual-keywords org-element-multiple-ke= ywords line no-recursion org-element-greater-elements org-element-all-objec= ts] 6] (#("Romeo" 0 5 (:parent #0))))
=C2=A0 #[(--data)= " \211 :\204 ;\205= \306\202 @9\205 @) ?\206\337 \203, \307 \310\= ">\206\337 \n\2047\311\f \"\202\337 \n\312=3D\203\\\311\f \211= :\204J\313\202W @9\203V<= span class=3D"" style=3D"white-space:pre"> AA\202W )\"\202\337 \n
>\203\202= !\211 \203\201 \203z\314\315 \"\210\202\201 B ) \316=3D\203= \312 ;\204\312\n \236A\313 \211 \203\311 @ \f ;\203\266\317\320 #\202\275\307 A@ \"*!\210 A\211 \204\234* \203\202 \316=3D\2= 03\202 \n >\203\202 \313 \211 \203\201 @\211 @ A ;\203 \317\320 #\202 \307 A@ \"* ! \" !\203w \" #\235\203_ \&qu= ot; $\235\203P \321 !!\313 %\211 \203L @ %\f %A!\210\f %@!\210 A\211 \= 2042 *\202w \f !A!\210\f !@!\210\202w \" $\235\203r \311\f\321 !!\&qu= ot;\210\202w \f !!\210* A\211 \204\350*\n &>\206\337 \211 :\204\2= 24 \313\202\241 @9\203\2= 40 AA\202\241 )?\206\337 \322=3D\203\265 \n &#= 39;>?\206\337 \323=3D\203\303 \n (>\206\337 \311\f \211 :\204\320 \= 313\202\335 @9\203\334 <= span class=3D"" style=3D"white-space:pre"> AA\202\335 )\")\207" [--data element --= type info --walk-tree types plain-text plist-get :ignore-list mapc org-data= nil throw --map-first-match objects get-text-property 0 reverse greater-el= ements elements fun result first-match --acc --category org-element-seconda= ry-value-alist p --dolist-tail-- property with-affiliated org-element-all-e= lements org-element--parsed-properties-alist kwd-pair value kwd org-element= -dual-keywords org-element-multiple-keywords line no-recursion org-element-= greater-elements org-element-all-objects] 6]((#("Romeo" 0 5 (:par= ent #0))))
=C2=A0 byte-code(" !\210\n\237\207" [--walk-tree data --acc] 2)
=C2=A0 org-element-map((#("Romeo" 0 5 (:parent #0))) plain-= text #[(s) " \306\307\310 # \311\312 \211 :\204 \313\202\" @9\203! AA\202\" )\"= \210\314\315\n \211 :\204= 3\313\202@ @9\203? AA\202@ )#\210 \316\211\n ;\203V\317\320\f #\202\\\321 A@\f\"* \211 ;\203= n\322 \313\f
$\202z A\323 A@\f
#\240\210 +\210\nA A@\240\210\n @\240*\207" [s new old element proper= ty value replace-regexp-in-string "\n" " " mapc #[(blob= ) " \305 \211 ;\20= 3 \306\f\307 \n$\202 \fA\310\fA@ \n#\240\210\f+\207" [blob old value p= roperty element :parent org-add-props nil plist-put] 6] nil apply org-eleme= nt-set-contents :parent get-text-property 0 plist-get org-add-props plist-p= ut] 6])
=C2=A0 org-export--get-inbuffer-options([cl-struct-org-ex= port-backend koma-letter latex ((export-block . org-koma-letter-export-bloc= k) (export-snippet . org-koma-letter-export-snippet) (headline . org-koma-l= etter-headline) (keyword . org-koma-letter-keyword) (template . org-koma-le= tter-template)) ((:latex-class "LATEX_CLASS" nil org-koma-letter-= default-class t) (:lco "LCO" nil org-koma-letter-class-option-fil= e) (:author "AUTHOR" nil (org-koma-letter--get-value org-koma-let= ter-author) parse) (:author-changed-in-buffer-p "AUTHOR" nil nil = t) (:from-address "FROM_ADDRESS" nil org-koma-letter-from-address= newline) (:phone-number "PHONE_NUMBER" nil org-koma-letter-phone= -number) (:email "EMAIL" nil (org-koma-letter--get-value org-koma= -letter-email) t) (:to-address "TO_ADDRESS" nil nil newline) (:pl= ace "PLACE" nil org-koma-letter-place) (:subject "SUBJECT&qu= ot; nil nil parse) (:opening "OPENING" nil org-koma-letter-openin= g parse) (:closing "CLOSING" nil org-koma-letter-closing parse) (= :signature "SIGNATURE" nil org-koma-letter-signature newline) (:s= pecial-headings nil "special-headings" org-koma-letter-prefer-spe= cial-headings) (:special-tags nil nil (append org-koma-letter-special-tags-= in-letter org-koma-letter-special-tags-after-closing org-koma-letter-specia= l-tags-after-letter)) (:with-after-closing nil "after-closing-order&qu= ot; org-koma-letter-special-tags-after-closing) (:with-after-letter nil &qu= ot;after-letter-order" org-koma-letter-special-tags-after-letter) (:wi= th-backaddress nil "backaddress" org-koma-letter-use-backaddress)= (:with-email nil "email" org-koma-letter-use-email) (:with-foldm= arks nil "foldmarks" org-koma-letter-use-foldmarks) (:with-phone = nil "phone" org-koma-letter-use-phone) (:with-place nil "pla= ce" org-koma-letter-use-place) (:with-subject nil "subject" = org-koma-letter-subject-format) (:with-title-as-subject nil "title-sub= ject" org-koma-letter-prefer-subject) (:with-headline-opening nil nil = org-koma-letter-headline-is-opening-maybe) (:inbuffer-author "AUTHOR&q= uot; nil (quote koma-letter:empty)) (:inbuffer-email "EMAIL" nil = (quote koma-letter:empty)) (:inbuffer-phone-number "PHONE_NUMBER"= nil (quote koma-letter:empty)) (:inbuffer-place "PLACE" nil (quo= te koma-letter:empty)) (:inbuffer-signature "SIGNATURE" nil (quot= e koma-letter:empty)) (:inbuffer-with-backaddress nil "backaddress&quo= t; (quote koma-letter:empty)) (:inbuffer-with-email nil "email" (= quote koma-letter:empty)) (:inbuffer-with-foldmarks nil "foldmarks&quo= t; (quote koma-letter:empty)) (:inbuffer-with-phone nil "phone" (= quote koma-letter:empty)) (:inbuffer-with-place nil "place" (quot= e koma-letter:empty))) nil nil (107 "Export with KOMA Scrlttr2" (= (76 "As LaTeX buffer" org-koma-letter-export-as-latex) (108 "= ;As LaTeX file" org-koma-letter-export-to-latex) (112 "As PDF fil= e" org-koma-letter-export-to-pdf) (111 "As PDF file and open"= ; (lambda (a s v b) (if a (org-koma-letter-export-to-pdf t s v b) (org-open= -file (org-koma-letter-export-to-pdf nil s v b)))))))])
=C2=A0 or= g-export-get-environment([cl-struct-org-export-backend koma-letter latex ((= export-block . org-koma-letter-export-block) (export-snippet . org-koma-let= ter-export-snippet) (headline . org-koma-letter-headline) (keyword . org-ko= ma-letter-keyword) (template . org-koma-letter-template)) ((:latex-class &q= uot;LATEX_CLASS" nil org-koma-letter-default-class t) (:lco "LCO&= quot; nil org-koma-letter-class-option-file) (:author "AUTHOR" ni= l (org-koma-letter--get-value org-koma-letter-author) parse) (:author-chang= ed-in-buffer-p "AUTHOR" nil nil t) (:from-address "FROM_ADDR= ESS" nil org-koma-letter-from-address newline) (:phone-number "PH= ONE_NUMBER" nil org-koma-letter-phone-number) (:email "EMAIL"= ; nil (org-koma-letter--get-value org-koma-letter-email) t) (:to-address &q= uot;TO_ADDRESS" nil nil newline) (:place "PLACE" nil org-kom= a-letter-place) (:subject "SUBJECT" nil nil parse) (:opening &quo= t;OPENING" nil org-koma-letter-opening parse) (:closing "CLOSING&= quot; nil org-koma-letter-closing parse) (:signature "SIGNATURE" = nil org-koma-letter-signature newline) (:special-headings nil "special= -headings" org-koma-letter-prefer-special-headings) (:special-tags nil= nil (append org-koma-letter-special-tags-in-letter org-koma-letter-special= -tags-after-closing org-koma-letter-special-tags-after-letter)) (:with-afte= r-closing nil "after-closing-order" org-koma-letter-special-tags-= after-closing) (:with-after-letter nil "after-letter-order" org-k= oma-letter-special-tags-after-letter) (:with-backaddress nil "backaddr= ess" org-koma-letter-use-backaddress) (:with-email nil "email&quo= t; org-koma-letter-use-email) (:with-foldmarks nil "foldmarks" or= g-koma-letter-use-foldmarks) (:with-phone nil "phone" org-koma-le= tter-use-phone) (:with-place nil "place" org-koma-letter-use-plac= e) (:with-subject nil "subject" org-koma-letter-subject-format) (= :with-title-as-subject nil "title-subject" org-koma-letter-prefer= -subject) (:with-headline-opening nil nil org-koma-letter-headline-is-openi= ng-maybe) (:inbuffer-author "AUTHOR" nil (quote koma-letter:empty= )) (:inbuffer-email "EMAIL" nil (quote koma-letter:empty)) (:inbu= ffer-phone-number "PHONE_NUMBER" nil (quote koma-letter:empty)) (= :inbuffer-place "PLACE" nil (quote koma-letter:empty)) (:inbuffer= -signature "SIGNATURE" nil (quote koma-letter:empty)) (:inbuffer-= with-backaddress nil "backaddress" (quote koma-letter:empty)) (:i= nbuffer-with-email nil "email" (quote koma-letter:empty)) (:inbuf= fer-with-foldmarks nil "foldmarks" (quote koma-letter:empty)) (:i= nbuffer-with-phone nil "phone" (quote koma-letter:empty)) (:inbuf= fer-with-place nil "place" (quote koma-letter:empty))) nil nil (1= 07 "Export with KOMA Scrlttr2" ((76 "As LaTeX buffer" o= rg-koma-letter-export-as-latex) (108 "As LaTeX file" org-koma-let= ter-export-to-latex) (112 "As PDF file" org-koma-letter-export-to= -pdf) (111 "As PDF file and open" (lambda (a s v b) (if a (org-ko= ma-letter-export-to-pdf t s v b) (org-open-file (org-koma-letter-export-to-= pdf nil s v b)))))))] nil (:output-file "./k2.tex"))
= =C2=A0 org-export-as(koma-letter nil nil nil (:output-file "./k2.tex&q= uot;))
=C2=A0 org-export-to-file(koma-letter "./k2.tex"= nil nil nil nil nil #[(file) "\301 !\207" [file org-latex-compil= e] 2])
=C2=A0 org-koma-letter-export-to-pdf(nil nil nil nil)
=C2=A0 (org-open-file (org-koma-letter-export-to-pdf nil s v b))
=C2=A0 (if a (org-koma-letter-export-to-pdf t s v b) (org-open-file (= org-koma-letter-export-to-pdf nil s v b)))
=C2=A0 (lambda (a s v = b) (if a (org-koma-letter-export-to-pdf t s v b) (org-open-file (org-koma-l= etter-export-to-pdf nil s v b))))(nil nil nil nil)
=C2=A0 org-exp= ort-dispatch(nil)
=C2=A0 call-interactively(org-export-dispatch n= il nil)
=C2=A0 command-execute(org-export-dispatch)



I also used package-list-pa= ckages to delete org and org-contrib so hopefully its running the latest st= able from my includes

Can anyone help?
<= br>
I just want to be able to do letters, not a lot of lisp debug= ging. =C2=A0:\

--94eb2c123e4a62fe2d053b371024-- --94eb2c123e4a62fe32053b371026 Content-Type: application/octet-stream; name="k2.org" Content-Disposition: attachment; filename="k2.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_isg5rucp0 KiBQcmVhbWJsZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIDpub2V4cG9ydDoKIytUSVRMRTogIE1pcy1zaGFwZW4gY2hhb3Mgb2Ygd2VsbC1z ZWVtaW5nIGZvcm1zIQojK1NVQkpFQ1Q6IE9yOiBvcmctbW9kZSBhbmQgS09NQS1TY3JpcHQgbGV0 dGVycwojK0RBVEU6IDE1ODAKCiMrQVVUSE9SOiBSb21lbwojK1BMQUNFOiBWZXJvbmEsIEl0YWx5 CgojK0xDTzogRElObXRleHQKCiMrT1BUSU9OUzogYWZ0ZXItY2xvc2luZy1vcmRlcjoobXlfYWZ0 ZXJfc2lnbmF0dXJlIHBzIGNjIGVuY2wpCiMrb3B0aW9uczogJzp0IGJhY2thZGRyZXNzOnQgc3Vi amVjdDpjZW50ZXJlZAoKIytMQVRFWF9IRUFERVI6IFxzZXRrb21hdmFye2ZpcnN0aGVhZH17fQoK KiBUby1hZGRyZXNzIG9mIHRoZSBsb3ZlbHkgSnVsaWV0ICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIDp0bzoKSnVsaWV0CkhvdXNlIG9mIENhcHVsZXQKVmVyb25hCgoqIEZy b20gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIDpmcm9tOgpIb3VzZSBvZiBNb250YWd1ZQpWZXJvbmEKKiBMb2NhdGlvbiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDpsb2Nh dGlvbjoKIytMQVRFWF9IRUFERVI6IFx1c2VwYWNrYWdle3Rpa3p9CiMrQkVHSU5fQ0VOVEVSCipN b250YWd1ZSoKIytCRUdJTl9FWFBPUlQgbGF0ZXgKXHRpa3ogXGRyYXcgKDAsMCkgLS0rICgwLC0x KQogICAgICAgYXJjIFtyYWRpdXM9MSwgc3RhcnQgYW5nbGU9LTE4MCwgZW5kIGFuZ2xlPTBdCiAg ICAgICAtLSsgKDAsMSkgLS0gY3ljbGUKICAgICAgIG5vZGUgW2JlbG93PTEuNWVtLG1pZHdheV0g e1xiZnNlcmllcyBNfTsKIytFTkRfRVhQT1JUCiMrRU5EX0NFTlRFUgoKKiBEZWFyIEp1bGlldCwK IytCRUdJTl9WRVJTRQpUaGVuIHBsYWlubHkga25vdyBteSBoZWFydCdzIGRlYXIgbG92ZSBpcyBz ZXQKT24gdGhlIGZhaXIgZGF1Z2h0ZXIgb2YgcmljaCBDYXB1bGV0OgpBcyBtaW5lIG9uIGhlcnMs IHNvIGhlcnMgaXMgc2V0IG9uIG1pbmU7CkFuZCBhbGwgY29tYmluJ2QsIHNhdmUgd2hhdCB0aG91 IG11c3QgY29tYmluZQpCeSBob2x5IG1hcnJpYWdlOiB3aGVuLCBhbmQgd2hlcmUsIGFuZCBob3cK V2UgbWV0LCB3ZSB3b28nZCwgYW5kIG1hZGUgZXhjaGFuZ2Ugb2Ygdm93LApJJ2xsIHRlbGwgdGhl ZSBhcyB3ZSBwYXNzOyBidXQgdGhpcyBJIHByYXksClRoYXQgdGhvdSBjb25zZW50IHRvIG1hcnJ5 IHVzIHRvLWRheS4KIytFTkRfVkVSU0UKCiogWW91cnMgdHJ1bHksICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOmNsb3Npbmc6ClJvbWVvIG9mIEhv dXNlIE1vbnRhZ3VlCiogc29tZSBhcmJpdHJhcnkgTGFUZVggY29kZSAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIDpteV9hZnRlcl9zaWduYXR1cmU6CiMrQkVHSU5fRVhQT1JUIGxhdGV4CiUg dGhpcyBzcGVjaWFsIGhlYWRpbmcgd2FzIGFkZGVkIGR5bmFtaWNhbGx5LgojK0VORF9FWFBPUlQK KiBQUyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIDpwczoKUFM6ICJQUyIgaXMgbm90IHR5cGVzZXQgYXV0b21hdGljYWxs eSBieSBLT01BLVNjcmlwdAoKQEBsYXRleDpcbm9pbmRlbnRAQCBQUFM6IFRoaXMgaXMgYSBmZWF0 dXJlIQoqIENDICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgOmNjOgpQYXJpcyBhbmQgTGF3cmVuY2UuCiogRU5DTCAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgOmVuY2w6ClNlZSBhbHNvIFRoZSBUcmFnZWR5IG9mIFJvbWVvIGFuZCBKdWxpZXQKKiBzb21l IG1vcmUgYXJiaXRyYXJ5IExhVGVYIGNvZGUgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg OmFmdGVyX2xldHRlcjoKIytCRUdJTl9FWFBPUlQgbGF0ZXgKJSBoZXJlIHdlIGNhbiBwbGFjZSBy YW5kb20gTGFUZVggY29kZSwgZS5nLiBpbmNsdWRpbmcgUERGcyB2aWEgdGhlIHBkZnBhZ2VzIHBh Y2thZ2UuCiMrRU5EX0VYUE9SVAo= --94eb2c123e4a62fe32053b371026--