emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] koma letter exporter: changing the priority of options


From: Alan Schmitt
Subject: Re: [O] koma letter exporter: changing the priority of options
Date: Mon, 22 Jul 2013 14:42:47 +0200
User-agent: mu4e 0.9.9.5; emacs 24.3.1

Hello Nicolas,

address@hidden writes:

> Hello,
>
> Alan Schmitt <address@hidden> writes:
>
>> Yes, this is not satisfactory (and the email and author is also
>> problematic in this regard). We need to know whether an option was set
>> in the file, independently of its default value. Is there a way to do
>> this?
>
> I didn't follow this thread closely, but to answer your question, you
> can add the following option:
>
>   (:email-changed-in-buffer-p "EMAIL" nil nil t)
>
> If (plist-get info :email-changed-in-buffer-p) is non-nil, email was set
> from a buffer keyword.

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"?

Thanks,

Alan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]