[Top][All Lists]

[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: Wed, 28 Aug 2013 13:43:32 +0200
User-agent: mu4e; emacs 24.3.1

Hi Rasmus,

address@hidden writes:

>>> I also find something like this ghastly:
>>> But perhaps it is the only way to get what you want.
>> I could not find a way to do it another way, but I'll gladly take any
>> suggestion. What we want is:
>> - if email is set in the file, use it;
>> - otherwise, use the one from the lco;
>> - otherwise, use the default one.
> Hmm, I guess we'd have to have to assign the variables to certain
> lists on the fly.  If the header string is a concat of
> where a member of DEFAULT-VALUES is a cons, e.g.
>     ("fromname" . "Rasmus").
> Then we can remove all pairs from DEFAULT-VALUES where the first first
> element (the "key") also exists in BUFFER-LOCAL.  
> It might be too much work?  I'm not sure. . .

This could be a way to do it. However, I don't know how to detect the
variables in the LCO file, which is why they may be duplicated in the
tex file.


reply via email to

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