From: Ken Mankoff <mankoff@gmail.com>
To: Org-mode list <emacs-orgmode@gnu.org>
Subject: Appending results from babel block
Date: Fri, 26 Jan 2024 19:19:41 -0800 [thread overview]
Message-ID: <87sf2jwjhu.fsf@gmail.com> (raw)
Hello,
I'd like to append results from a babel block, but without the leading ":" that sometimes appears. Is this possible. I'm using v9.7-pre.
This works, but has leading colons:
#+BEGIN_SRC bash :results append
echo $(date)
#+END_SRC
#+RESULTS:
: Fri Jan 26 07:17:00 PM PST 2024
: Fri Jan 26 07:17:01 PM PST 2024
: Fri Jan 26 07:17:02 PM PST 2024
: Fri Jan 26 07:17:04 PM PST 2024
Setting :results append raw
prepends - understandably because 'raw' means there is no delimiter, and no way to know where the results end.
Weirdly,
:results append drawer
Appends result #2, but then inserts all results after the first.
Is this last behavior a bug? Any way to have true 'append' w/o ":"?
Thanks,
-k.
next reply other threads:[~2024-01-27 2:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-27 3:19 Ken Mankoff [this message]
2024-01-27 20:22 ` Appending results from babel block Matt
2024-01-28 0:53 ` Ken Mankoff
2024-01-30 12:28 ` [FR] Append wrapped results from babel block (was: Appending results from babel block) Ihor Radchenko
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=87sf2jwjhu.fsf@gmail.com \
--to=mankoff@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).