From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: koma letter exporter: changing the priority of options Date: Sun, 09 Jun 2013 12:12:56 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlccP-0004KB-3p for emacs-orgmode@gnu.org; Sun, 09 Jun 2013 06:13:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlccO-0000Sz-A7 for emacs-orgmode@gnu.org; Sun, 09 Jun 2013 06:13:01 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:13441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlccO-0000So-3i for emacs-orgmode@gnu.org; Sun, 09 Jun 2013 06:13:00 -0400 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: emacs-orgmode Hello, I just had to write a new letter with a fresh LCO file, and I would like to propose to change the priority of options. The current priority is: local options > emacs variables > lco file. Unfortunately emacs variables have a default value, which means they are output in the .tex file even if they are not set. Thus it is impossible to set some options in the lco file (such as foldmarks or backaddress). I propose to either change the priority to: local options > lco file > emacs variables or to not output these options when they have not been set. Here are the four options I have not set that end up in my .tex file, shadowing my lco configuration: ,---- | \KOMAoption{backaddress}{true} | \KOMAoption{foldmarks}{true} | \KOMAoption{fromphone}{true} | \KOMAoption{fromemail}{true} `---- What do you think? Alan