From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [patch] ox-koma-letter.el: clean-up/semantic bug [4/4] Date: Tue, 21 May 2013 11:05:07 +0200 Message-ID: <87wqqsd7p8.fsf@pank.eu> References: <87wqqusder.fsf@pank.eu> <87ehd2sc6t.fsf@pank.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeiVu-0006YX-Ei for emacs-orgmode@gnu.org; Tue, 21 May 2013 05:05:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeiVo-0008Ho-8E for emacs-orgmode@gnu.org; Tue, 21 May 2013 05:05:46 -0400 Received: from mout.gmx.net ([212.227.17.20]:64696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeiVn-0008HT-U2 for emacs-orgmode@gnu.org; Tue, 21 May 2013 05:05:40 -0400 In-Reply-To: (Alan Schmitt's message of "Mon, 20 May 2013 17:57:33 +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: alan.schmitt@polytechnique.org Cc: emacs-orgmode@gnu.org Alan Schmitt writes: >> It seems there are some semantic bugs in ox-koma-letter.el in that new >> variables are introduces for SENDER (as opposed to AUTHOR) and a >> separate email variable as well. This seems like a semantic bug IMO. >> This patch fixes these issues if they in fact are issues. > > Can we still use an lco file to set these after this change? (I'll also post this on the list). You can't set =20=20 #+SENDER:=20 Which seems to be how it was set up before. You can use=20 #+AUTHOR So if you decide to convert your document from something you'd export with the normal LaTeX exporter it would be smoother this way. Author now works the same way that it does in the LaTeX exporter (come to think of it, we probably shouldn't need to mention anything as it build on top of the LaTeX exporter anyway).=20 Thus, unless you disable export of author it wouldn't work with a LCO file. But then we could make export of author conditional on :with-author as in ox-latex.el and you could use LCO files. The gain is that in the (for me) 99.9% of the cases where I want to send a letter in my own name the exporter just figures it out without be having to specify anything (like in the normal exporter). =E2=80=93Rasmus --=20 In theory, practice and theory are the same. In practice they are not