emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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

When no :buffer is specified, buffer *org results* is used, e.g.:

  #+begin_src sh :results buffer
  echo foo

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

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 --]

             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 ` Arthur A. Gleckler
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:

  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 \


* 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


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).