all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.