unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacsclient sends ^J, PicoLisp receives _
@ 2014-02-26 10:12 Thorsten Jolitz
  2014-02-26 10:57 ` Thorsten Jolitz
  0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Jolitz @ 2014-02-26 10:12 UTC (permalink / raw)
  To: help-gnu-emacs


Hi List, 

I had this problem before but could not even get close to solving it
even with the help of this mailing list, so I try it again.

In a program, I let PicoLisp call Emacsclient to do some work and
receive the result as a nested list (with the syntax transformed from
Emacs Lisp to PicoLisp so it can be read-in right away).

This works quite well in most cases, but sometimes not.

Emacsclient sends this:

#+begin_src picolisp
  ## sent from Emacs
  (section (parent-id 8) "[2013-06-28 Fr 11:01]^J")
  ^J(headline (org-elem-id 12 ...) )
#+end_src

PicoLisp receives this:

#+begin_src picolisp
  ## received from PicoLisp 
   (section (parent-id 8) "[2013-06-28 Fr 11:01]^J")
  _ (headline (org-elem-id 12 ...
#+end_src

here, and only here, ^J is received as an underscore (_) , while
it is received as line-break in all the other cases (as desired).

Now its very hard to tell what might happen here. Who causes this
(Emacsclient? PicoLisp?) and why? It does not look any different from
the many other occurences of ^J in the nested list that is send.

Any hint would be welcome.

-- 
cheers,
Thorsten




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-28 18:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-26 10:12 Emacsclient sends ^J, PicoLisp receives _ Thorsten Jolitz
2014-02-26 10:57 ` Thorsten Jolitz
2014-02-26 15:54   ` Thorsten Jolitz
     [not found]   ` <mailman.16107.1393430045.10748.help-gnu-emacs@gnu.org>
2014-02-28 10:17     ` duthen01
2014-02-28 18:59       ` Thorsten Jolitz

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