From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: koma letter exporter: changing the priority of options Date: Mon, 22 Jul 2013 15:17:30 +0200 Message-ID: <878v0y68et.fsf@gmail.com> References: <20130609180059.GA2104@kenny.local> <874nd6we8q.fsf@pank.eu> <20130720115503.GA67549@kenny.local> <87li4z5906.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1FzP-0005Ar-0T for emacs-orgmode@gnu.org; Mon, 22 Jul 2013 09:17:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1FzK-0007rz-1P for emacs-orgmode@gnu.org; Mon, 22 Jul 2013 09:17:22 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:37375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1FzJ-0007ro-S7 for emacs-orgmode@gnu.org; Mon, 22 Jul 2013 09:17:17 -0400 Received: by mail-wi0-f174.google.com with SMTP id k10so1865778wiv.7 for ; Mon, 22 Jul 2013 06:17:17 -0700 (PDT) In-Reply-To: (Alan Schmitt's message of "Mon, 22 Jul 2013 14:42:47 +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 Cc: emacs-orgmode@gnu.org, Rasmus 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? Regards, -- Nicolas Goaziou