From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Exporter prints strange and unwanted underscore
Date: Wed, 26 Feb 2014 12:23:25 +0100 [thread overview]
Message-ID: <87a9dew21e.fsf@gmail.com> (raw)
Hi List,
[This was posted on the Emacs help mailing list too with a different
subject - before I figured out it might rather be an Org-mode problem.]
This is what I see in a temporary Emacs buffer when I'm in Emacs(client)
and let my Org-mode exporter produce a nested list as output that will
be sent to PicoLisp:
#+begin_src picolisp
(section (parent-id 8) "[2013-06-28 Fr
11:01]^J") ^J(headline (org-elem-id 12 ...) )
#+end_src
but when I go to the other side and call Emacsclient from PicoLisp and
redirect what is sent into a file, it looks like this:
#+begin_src picolisp
(section (parent-id 8) \"[2013-06-28 Fr
11:01]^J\")_^J (headline (org-elem-id 12 ...) )
#+end_src
thus a strange and unwanted underscore (_) is printed before the ^J.
This is how the respective snippet looks in the original Org file:
,---------------------------------------------------------
| * header 2 :TASK:
| [2013-06-28 Fr 11:01]
| ** subheader 1
`---------------------------------------------------------
It looks like a problem with the Org-mode exporter who produces this
nested list from an Org-mode file/buffer. So the questions are probably:
1. what invisible character behind the inactive timestamp might be
transformed into an _ by the exporter?
2. why does the exporter behave differently when called from Emacs on
an open Org-mode buffer (correct output in the temporary buffer)
then when called from an external program (incorrect output with
strange underscore in the file where output was redirected)?
Any hints are welcome.
--
cheers,
Thorsten
reply other threads:[~2014-02-26 11:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9dew21e.fsf@gmail.com \
--to=tjolitz@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.