ras...@gmx.us writes: > As Viktor argues, mainly ugly and fragile solutions exist to check the > LCO file (e.g. find the file with kpsewhich in texlive). Yet, it > doesn't matter, as all you care about it the location of the variable > /depending/ on whether it's set in the buffer. > > E.g. > > #+LCO: test > * my letter > text > > produces > > [...] > \setkomavar{fromemail}{ras...@gmx.us} > \LoadLetterOption{test} > [...] > > which may or may not produce result in ras...@gmx.us being printed > depending on what test.lco contains. > > On the other hand > > #+EMAIL: ras...@gmx.us > #+LCO: test > * my letter > text > > triggers and updatedp variable (how to automate this I'd have to think > about) and > > [...] > \LoadLetterOption{test} > \setkomavar{fromemail}{ras...@gmx.us} > [...] > > Is this not what you want?
Yes, this is exactly what I want (and what is being done by the patch). So if I understand correctly, you propose an alternative way to do this? Alan