From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: [PATCH] ox-koma-letter.el: Add support for 'location' koma variable Date: Fri, 29 Jan 2016 22:08:10 +0000 Message-ID: <878u38ghth.fsf@gmail.com> 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> 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]:52668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPHDF-0003OI-De for emacs-orgmode@gnu.org; Fri, 29 Jan 2016 17:08:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPHDC-0005Ju-5b for emacs-orgmode@gnu.org; Fri, 29 Jan 2016 17:08:17 -0500 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:36345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPHDB-0005Id-Uh for emacs-orgmode@gnu.org; Fri, 29 Jan 2016 17:08:14 -0500 Received: by mail-wm0-x230.google.com with SMTP id p63so86570395wmp.1 for ; Fri, 29 Jan 2016 14:08:13 -0800 (PST) In-reply-to: <87bn84a8e4.fsf@gmx.us> 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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus, Rasmus writes: > I’m arguing for a solution that supports BOTH "one-off" and permanent > data. OK, sorry, I thought you were arguing for a heading tagged :location: and against an option #+LOCATION or property :EXPORT_LOCATION:. How about applying my patch please and the tagged heading can be developed by someone™ 'later'. > The keyword is convenient when you want to insert a pointer to field. I > > But for a one-off letter where I might need to include "one-off" details > on the left, I’d rather type: > > * bank details :location: > Acc. No.: 1234567890 > at Big Bank > Sort Code: 11-22-33 > > Than > > #+latex_header: \setkomavar{frombank}{\raggedright Acc.~No.:\,1234567890\\at Big Bank\\Sort Code: 11-22-33} > #+Location: \usekomavar{frombank} > > To me the former reads much easier and hides away the technical details. > Thus, I wish to see to see support for entry forms. Alright, I get the general idea but in that specific case this would be simpler: #+LOCATION: \raggedright Acc.~No.:\,1234567890\\at Big Bank\\Sort Code: 11-22-33 Myles