emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Orgmode/Koma script letter
Date: Sun, 24 Aug 2014 15:41:15 +0200	[thread overview]
Message-ID: <878umeuhs4.fsf@gmx.us> (raw)
In-Reply-To: 87lhqgr5nt.fsf@bzg.ath.cx

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]

Hi,

Bastien <bzg@gnu.org> 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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-ox-koma-letter.el-update-docstring.patch --]
[-- Type: text/x-diff, Size: 1392 bytes --]

From 19c35523994e55a0425d6d52159e6f4687e5ff9d Mon Sep 17 00:00:00 2001
From: Rasmus <rasmus@gmx.us>
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


      reply	other threads:[~2014-08-24 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-19  3:44 Orgmode/Koma script letter Vikas Rawal
2014-08-19  8:22 ` Rasmus
2014-08-22 13:54   ` Bastien
2014-08-24 13:41     ` Rasmus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878umeuhs4.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).