Re: [O] Bug: :session doesn't honor :verbatim [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/26.0.50/lisp/org/)]

2017-04-17 Thread Michael Albinus
"Charles C. Berry" writes: >> However, I don't want to change this globally. Is there an org mean to >> change this locally just for the session? >> >> Maybe the shell prompt could be customizable for a session in ob-sh.el? > > That happens in the shell. You can do this to

Re: [O] Bug: :session doesn't honor :verbatim [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/26.0.50/lisp/org/)]

2017-04-16 Thread Charles C. Berry
On Sun, 16 Apr 2017, Michael Albinus wrote: "Charles C. Berry" writes: Michael might get some relief by altering `shell-prompt-pattern' whose default value is "^[^#$%>\n]*[#$%>] *" is tricked by the embedded `%' in the output lines If you know the prompt will not contain

Re: [O] Bug: :session doesn't honor :verbatim [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/26.0.50/lisp/org/)]

2017-04-16 Thread Michael Albinus
"Charles C. Berry" writes: > Michael might get some relief by altering `shell-prompt-pattern' whose > default value is > > "^[^#$%>\n]*[#$%>] *" > > is tricked by the embedded `%' in the output lines > > If you know the prompt will not contain `%', you could delete that. > >

Re: [O] Bug: :session doesn't honor :verbatim [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/26.0.50/lisp/org/)]

2017-04-16 Thread Charles C. Berry
On Sun, 16 Apr 2017, Tilmann Singer wrote: Let me add that when not specifying ":results verbatim", the presence of the % sign in the output also triggers table formatting: #+BEGIN_SRC sh :session *session* echo "a%b" #+END_SRC #+RESULTS: | | | b | The extra line looks like a bug in

Re: [O] Bug: :session doesn't honor :verbatim [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/26.0.50/lisp/org/)]

2017-04-16 Thread Tilmann Singer
Let me add that when not specifying ":results verbatim", the presence of the % sign in the output also triggers table formatting: #+BEGIN_SRC sh :session *session* echo "a%b" #+END_SRC #+RESULTS: | | | b | Whereas without session, the output is formatted like this #+BEGIN_SRC sh echo "a%b"

[O] Bug: :session doesn't honor :verbatim [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/26.0.50/lisp/org/)]

2017-04-16 Thread Michael Albinus
Hi, when I eval the following source block, everything is fine: #+BEGIN_SRC sh :results verbatim df -h / #+END_SRC #+RESULTS: : Filesystem Size Used Avail Use% Mounted on : /dev/sda6 137G 55G 76G 43% / However, using a :session shortens the output unexpectedly: #+BEGIN_SRC sh