emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporter prints strange and unwanted underscore
@ 2014-02-26 11:23 Thorsten Jolitz
  0 siblings, 0 replies; only message in thread
From: Thorsten Jolitz @ 2014-02-26 11:23 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-26 11:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-26 11:23 Exporter prints strange and unwanted underscore Thorsten Jolitz

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).