From: Narendra Joshi <narendraj9@gmail.com>
To: Marian Schubert <marian.schubert@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Babel problem: Output incomplete if it contains # character (only in session)
Date: Tue, 12 Jun 2018 20:31:00 +0530 [thread overview]
Message-ID: <877en49hhv.fsf@gmail.com> (raw)
In-Reply-To: <CAAd4LWxh-RSxAd4+Rdj9MC0wEExEH2jvMo7VSJTPzrMMnV9dwg@mail.gmail.com> (Marian Schubert's message of "Sat, 26 May 2018 18:01:53 +0200")
Marian Schubert <marian.schubert@gmail.com> writes:
> Hello,
>
> I'm having trouble with babel block like this:
>
> #+BEGIN_SRC shell :results output :session xyz
> echo "foo#bar"
> #+END_SRC
>
> #+RESULTS:
> :
> : 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=$
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
>
--
Narendra Joshi
next prev parent reply other threads:[~2018-06-12 15:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-26 16:01 Babel problem: Output incomplete if it contains # character (only in session) Marian Schubert
2018-06-12 15:01 ` Narendra Joshi [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-06-04 16:42 Marian Schubert
2018-06-05 1:38 ` Berry, Charles
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877en49hhv.fsf@gmail.com \
--to=narendraj9@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=marian.schubert@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).