From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [PATCH] ox-koma-letter.el: Add support for 'location' koma variable Date: Sun, 03 Apr 2016 13:33:15 +0200 Message-ID: <871t6nork4.fsf@gmx.us> References: <87egd2ho08.fsf@gmail.com> <87vb6eekzj.fsf@gmx.us> <87d1smgdcw.fsf@gmail.com> <87k2mtdhem.fsf@gmx.us> <87a8npgy92.fsf@gmail.com> <87bn84a8e4.fsf@gmx.us> <878u38ghth.fsf@gmail.com> <87vb6c6mdh.fsf@gmx.us> <87mvr2xeso.fsf@gmail.com> <87wpoizajs.fsf@pank.eu> <8760w2p6kq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amgHT-0004U0-1n for emacs-orgmode@gnu.org; Sun, 03 Apr 2016 07:33:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amgHP-0004n3-0s for emacs-orgmode@gnu.org; Sun, 03 Apr 2016 07:33:22 -0400 Received: from mout.gmx.net ([212.227.15.18]:56816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amgHO-0004mz-Oh for emacs-orgmode@gnu.org; Sun, 03 Apr 2016 07:33:18 -0400 In-Reply-To: <8760w2p6kq.fsf@gmail.com> (Myles English's message of "Fri, 01 Apr 2016 00:32:05 +0100") 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: mylesenglish@gmail.com Cc: emacs-orgmode@gnu.org Myles English writes: > Thanks for looking at this again. I'm just sorry about the delay, but I hope you can appreciate that sometimes time is at a premium. >> Is :with-location something you feel strongly about? I'm not sure I find >> that it makes sense... >> >> I would like to apply the following patch on top of yours. > > I think that's alright. > > Just to recap: I use the "location" field, intended as a general purpose > extension field, for bank details. Those details shouldn't be in every > letter I write and I don't want to have to enter those details every > time they are used. For those reasons I put the bank details in > variable in a LCO file and toggle the inclusion by setting the > :LOCATION: (or :EXPORT_LOCATION) property like this: > > :EXPORT_LOCATION: \usekomavar{frombank} So if something should be in ALL letters the advised method would be to use LCO file or set the location variable. I=E2=80=99m just concerned with= having too many variables. ox-koma-letter is already fairly complex. It might make sense to NOT parse (i.e. interpret org syntax) the keyword version or location then. Then you=E2=80=99d be able to add latex commands= there. The headline version would still be parsed. Rasmus --=20 Nothing's wrong with an email that ends in a minor key