From mboxrd@z Thu Jan 1 00:00:00 1970 From: Narendra Joshi Subject: Re: Babel problem: Output incomplete if it contains # character (only in session) Date: Tue, 12 Jun 2018 20:31:00 +0530 Message-ID: <877en49hhv.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSkns-0000jg-9n for emacs-orgmode@gnu.org; Tue, 12 Jun 2018 11:02:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSknD-0007Oe-QB for emacs-orgmode@gnu.org; Tue, 12 Jun 2018 11:01:48 -0400 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:43394) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSknD-0007Mw-JW for emacs-orgmode@gnu.org; Tue, 12 Jun 2018 11:01:07 -0400 Received: by mail-pf0-x233.google.com with SMTP id y8-v6so3195315pfm.10 for ; Tue, 12 Jun 2018 08:01:07 -0700 (PDT) In-Reply-To: (Marian Schubert's message of "Sat, 26 May 2018 18:01:53 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Marian Schubert Cc: emacs-orgmode@gnu.org Marian Schubert writes: > Hello, > > I'm having trouble with babel block like this: > > #+BEGIN_SRC shell :results output :session xyz > echo "foo#bar" > #+END_SRC > > #+RESULTS: > :=C2=A0 > : bar > > I expect results to be foo#bar, but it's just bar. > If I remove :session xyz it displays correct value, i.e.: I also face issues when there is a session involved with shell. Why don't you try: export PS1=3D$ at the beginning of the session as the first command and see if this fixes it for you? > #+RESULTS: > : foo#bar > > Any idea what might be wrong? > > Best regards, > Marian > --=20 Narendra Joshi