From: "Arthur A. Gleckler" <aag@speechcode.com>
To: emacs-orgmode@gnu.org
Subject: send block evaluation results to specified buffer
Date: Wed, 11 Sep 2019 17:44:04 -0700 [thread overview]
Message-ID: <CALnw4LLxV=66BADQ1JX0cZhQ4+KLSkNT8hwnwS3V5ZZnyTG6bg@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 564 bytes --]
Attached is a patch to allow one to specify that results from executing a
block should go to a specific buffer.
When a :buffer is specified, output goes to that buffer, which is erased
first, e.g.:
#+begin_src sh :results buffer
echo foo
#+end_src
When no :buffer is specified, buffer *org results* is used, e.g.:
#+begin_src sh :results buffer
echo foo
#+end_src
I've tried to follow the conventions for contributions to Org mode, buf if
I've missed something, please let me know. (I'm happy to sign the FSF
paperwork.)
Thank you for Org mode!
[-- Attachment #1.2: Type: text/html, Size: 810 bytes --]
[-- Attachment #2: 0001-ob-core.el-block-result-output-to-buffer.patch --]
[-- Type: application/x-patch, Size: 3780 bytes --]
next reply other threads:[~2019-09-12 0:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-12 0:44 Arthur A. Gleckler [this message]
2019-09-12 0:45 ` send block evaluation results to specified buffer Arthur A. Gleckler
-- strict thread matches above, loose matches on Subject: below --
2019-09-12 1:14 Arthur A. Gleckler
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='CALnw4LLxV=66BADQ1JX0cZhQ4+KLSkNT8hwnwS3V5ZZnyTG6bg@mail.gmail.com' \
--to=aag@speechcode.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).