From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: [PATCH] ox-koma-letter.el: Reintroduce variables removed in commit 832c6fd with proper defaults (was Re: [patch] ox-koma-letter.el: clean-up/semantic bug [4/4]) Date: Sat, 25 May 2013 11:20:41 +0200 Message-ID: References: <87wqqsd7p8.fsf@pank.eu> <874ndwcyjx.fsf@pank.eu> <20130521170259.GB56408@client199-78.wlan.hu-berlin.de> <87ehd09p6r.fsf@pank.eu> <20130521195413.GA58739@kenny.local> <87vc6b9atm.fsf@pank.eu> <20130522143923.GA61443@kenny.local> <20130522220650.GB68001@kenny.local> <51A0487D.4020809@mpip-mainz.mpg.de> <20130525080554.GA590@kenny.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgAeh-0002gD-Jz for emacs-orgmode@gnu.org; Sat, 25 May 2013 05:20:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgAeb-0002f5-VL for emacs-orgmode@gnu.org; Sat, 25 May 2013 05:20:51 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:11059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgAeb-0002et-Og for emacs-orgmode@gnu.org; Sat, 25 May 2013 05:20:45 -0400 In-reply-to: <20130525080554.GA590@kenny.local> 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: Viktor Rosenfeld Cc: emacs-orgmode@gnu.org, Robert Klein , Rasmus Hello, Viktor Rosenfeld writes: > Hi Robert, > > Robert Klein wrote: > >> Hi, >> >> FWIW, from a users view it would be nice if: >> >> - Use Author/Email information from org file >> - If not present use information from LCO file >> - if neither org file nor LCO file has any information use >> user-full-name and user-email-address >> >> Could this be solved by having several e.g. `setkomavar{fromname}' >> and so on in the tex file, so is created as follows: >> >> >> if no #+AUTHOR in org-file and user-full-name is set: >> add user-full-name >> if #+LCO(s) in org-file: >> add LCO file(s) >> if #+AUTHOR in org-file: >> add \setkomavar{fromname}{#+AUTHOR} >> .... same for email >> add \setkomavar{signature}{\usekomavar{fromname}} > > This is what is implemented by the latest patch > (http://thread.gmane.org/gmane.emacs.orgmode/72430/focus=72525). I'm waiting for Rasmus's confirmation that it works for him before committing it. Alan