From: Rick Frankel <rick@rickster.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: [PATCH] ox-ascii extra blank before table caption
Date: Fri, 02 Aug 2013 13:26:58 -0400 [thread overview]
Message-ID: <70e2702e39e66541841cc2bc36ab69ce@mail.rickster.com> (raw)
ox-ascii is putting a blank line between a table and a following
caption.
It is not doing this for listing captions so, IMHO, it is a bug.
Here is a (very small) patch which fixes the problem.
diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el
index 59d0152..3baf4bd 100644
--- a/lisp/ox-ascii.el
+++ b/lisp/ox-ascii.el
@@ -1658,7 +1658,7 @@ contextual information."
(t (org-remove-indentation (org-element-property :value table))))
;; Possible add a caption string below.
(when (and caption (not org-ascii-caption-above))
- (concat "\n" caption)))))
+ caption))))
rick
next reply other threads:[~2013-08-02 20:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-02 17:26 Rick Frankel [this message]
2013-08-02 23:53 ` [PATCH] ox-ascii extra blank before table caption Nicolas Goaziou
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=70e2702e39e66541841cc2bc36ab69ce@mail.rickster.com \
--to=rick@rickster.com \
--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).