From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: koma letter exporter: changing the priority of options Date: Mon, 22 Jul 2013 15:45:02 +0200 Message-ID: References: <20130609180059.GA2104@kenny.local> <874nd6we8q.fsf@pank.eu> <20130720115503.GA67549@kenny.local> <87li4z5906.fsf@gmail.com> <878v0y68et.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1GXH-0002tu-Dn for emacs-orgmode@gnu.org; Mon, 22 Jul 2013 09:52:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1GXF-0004fi-PR for emacs-orgmode@gnu.org; Mon, 22 Jul 2013 09:52:23 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:38226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1GQE-0002P6-LG for emacs-orgmode@gnu.org; Mon, 22 Jul 2013 09:45:06 -0400 In-reply-to: <878v0y68et.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Rasmus n.goaziou@gmail.com writes: > Alan Schmitt writes: > >> This is a promising approach. Unfortunately I cannot make it work: >> email-changed-in-buffer-p is always equal to nil, even with an EMAIL in >> the buffer (which I see picked up during export). >> >> Here is what I have. This is the code to set up the EMAIL keyword: >> >> (:email "EMAIL" nil (org-koma-letter--get-custom org-koma-letter-email) t) >> (:email-changed-in-buffer-p "EMAIL" nil nil t) >> >> Do we agree there should be two entries for "EMAIL"? > > Yes. But ox.el assumed there could be only one property per keyword. > I removed this limitation. > > Could you pull latest Org and try again? Thanks a lot, it's indeed working. I'll rework my patch using this. Alan