From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: [PATCH] Improve configurability of ox-koma-letter Date: Tue, 23 Apr 2013 09:28:02 +0200 Message-ID: References: <20130421175957.GA7821@cartman> <87ppxnkl4d.fsf@gmail.com> <20130422105742.GD7821@cartman> <20130422191448.GC725@kenny.fritz.box> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUXe5-0000Z9-43 for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 03:28:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUXe0-0005K2-F8 for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 03:28:08 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:52818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUXe0-0005Jr-87 for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 03:28:04 -0400 In-reply-to: <20130422191448.GC725@kenny.fritz.box> 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 Hi again, I've applied the patch. I propose a further tiny improvement: ,---- | --- a/contrib/lisp/ox-koma-letter.el | +++ b/contrib/lisp/ox-koma-letter.el | @@ -273,7 +273,7 @@ holding export options." | (when email (format "\\setkomavar{fromemail}{%s}\n" email)) | (when signature (format "\\setkomavar{signature}{%s}\n" signature)))) | ;; Date. | - (format "\\date{%s}\n" (org-export-data (org-export-get-date info) info)) | + (format "\\setkomavar{date}{%s}\n" (org-export-data (org-export-get-date info) info)) | ;; Place | (let ((with-place (plist-get info :with-place)) | (place (plist-get info :place))) `---- It seems that the date is not picked up by the letter unless it's in a koma var. I can commit this if you think it's correct. Thanks, Alan