Hi Rasmus and Viktor,

listuse...@gmail.com writes:

> Hi,
>
> Alan Schmitt wrote:
>
>> -      (format "\\KOMAoption{backaddress}{%s}\n" (if with-backaddress "true" 
>> "false"))
>> -      (format "\\KOMAoption{foldmarks}{%s}\n" (if with-foldmarks 
>> with-foldmarks "false"))
>> -      (format "\\KOMAoption{fromphone}{%s}\n" (if with-phone "true" 
>> "false"))
>> -      (format "\\KOMAoption{fromemail}{%s}\n" (if with-email "true" 
>> "false"))))
>> +      (if with-backaddress (format "\\KOMAoption{backaddress}{true}\n") "")
>> +      (if (not (equal with-foldmarks "true")) (format 
>> "\\KOMAoption{foldmarks}{%s}\n" with-foldmarks) "")
>> +      (if with-phone   (format "\\KOMAoption{fromphone}{true}\n") "")
>> +      (if with-email   (format "\\KOMAoption{fromemail}{true}\n") "")))
>
> If I read the patch correctly then the consequence is that you cannot
> configure your LCO file to set defaults for these values and inhibit
> them in specific letters by setting the corresponding option to nil. For
> example, in my LCO file I enable all of these options but sometimes I
> don't want to have foldmarks or a backaddress or whatever. So I can
> write #+OPTIONS: backaddress:nil and it is supressed. The patch changes
> that.

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?

Alan

Reply via email to