From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Emacsclient sends ^J, PicoLisp receives _ Date: Wed, 26 Feb 2014 11:12:19 +0100 Message-ID: <87wqgiw5bw.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1393409520 10975 80.91.229.3 (26 Feb 2014 10:12:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Feb 2014 10:12:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 26 11:12:08 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WIbTE-0008SW-3I for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Feb 2014 11:12:08 +0100 Original-Received: from localhost ([::1]:39354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIbTD-0003pB-KT for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Feb 2014 05:12:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIbSt-0003nt-7k for help-gnu-emacs@gnu.org; Wed, 26 Feb 2014 05:11:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIbSl-0005CO-Ad for help-gnu-emacs@gnu.org; Wed, 26 Feb 2014 05:11:47 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:53719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIbSl-0005CA-4e for help-gnu-emacs@gnu.org; Wed, 26 Feb 2014 05:11:39 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WIbSf-00063s-Ar for help-gnu-emacs@gnu.org; Wed, 26 Feb 2014 11:11:33 +0100 Original-Received: from e178059018.adsl.alicedsl.de ([85.178.59.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Feb 2014 11:11:33 +0100 Original-Received: from tjolitz by e178059018.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Feb 2014 11:11:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178059018.adsl.alicedsl.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:zWkwnxdobgq7FCixEeMePS93kBw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96207 Archived-At: 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