From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Orgmode/Koma script letter Date: Sun, 24 Aug 2014 15:41:15 +0200 Message-ID: <878umeuhs4.fsf@gmx.us> References: <073E651C-34C0-45C6-81B2-1775B52942EB@agrarianresearch.org> <877g246g85.fsf@gmx.us> <87lhqgr5nt.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLY35-0003Cy-S2 for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 09:41:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLY30-0008DW-Gc for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 09:41:35 -0400 Received: from plane.gmane.org ([80.91.229.3]:56791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLY30-0008DP-AK for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 09:41:30 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XLY2z-00049u-6w for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 15:41:29 +0200 Received: from 109.201.154.147 ([109.201.154.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Aug 2014 15:41:29 +0200 Received: from rasmus by 109.201.154.147 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Aug 2014 15:41:29 +0200 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@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi, Bastien writes: >>> Is there something wrong in what I am doing or is there a problem? >> >> I don't think there is a code bug. There is a potentially a >> documentation bug in the first line of the doc string you mentioned. > > Indeed, this is a documentation bug -- can one of you provide a > patch for it? Please see attached. —Rasmus -- This space is left intentionally blank --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-ox-koma-letter.el-update-docstring.patch >From 19c35523994e55a0425d6d52159e6f4687e5ff9d Mon Sep 17 00:00:00 2001 From: Rasmus Date: Sun, 24 Aug 2014 15:35:17 +0200 Subject: [PATCH] ox-koma-letter.el: update docstring * ox-koma-letter.el (org-koma-letter-prefer-special-headings): change docstring. --- contrib/lisp/ox-koma-letter.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/ox-koma-letter.el b/contrib/lisp/ox-koma-letter.el index d3aa335..951edf4 100644 --- a/contrib/lisp/ox-koma-letter.el +++ b/contrib/lisp/ox-koma-letter.el @@ -222,7 +222,7 @@ This option can also be set with the OPTIONS keyword, e.g.: :type 'boolean) (defcustom org-koma-letter-subject-format t - "Use the title as the subject of the letter. + "When non-nil include subject. Supports formatting options. When t, insert a subject using default options. When nil, do not insert a subject at all. It can also be a list of symbols among @@ -609,7 +609,7 @@ holding export options." (org-koma-letter--build-settings 'buffer info) ;; From address. (let ((from-address (org-koma-letter--determine-to-and-from info 'from))) - (when (org-string-nw-p from-address) + (when (org-string-nw-p from-address) (format "\\setkomavar{fromaddress}{%s}\n" from-address))) ;; Date. (format "\\date{%s}\n" (org-export-data (org-export-get-date info) info)) -- 2.1.0 --=-=-=--