Re: [O] send block evaluation results to specified buffer

2021-12-20 Thread Arthur A. Gleckler
On Mon, Dec 20, 2021 at 6:02 AM Ihor Radchenko wrote: > "Arthur A. Gleckler" writes: > > > Attached is a patch to allow one to specify that results from executing a > > block should go to a specific buffer. > > It seems that nobody have noticed this email. &g

[O] send block evaluation results to specified buffer

2019-09-12 Thread Arthur A. Gleckler
Org mode! From 929b1ae2f908b39de529384a5854fc5b8d035282 Mon Sep 17 00:00:00 2001 From: "Arthur A. Gleckler" Date: Wed, 11 Sep 2019 17:03:33 -0700 Subject: [PATCH] ob-core.el: block result output to buffer * lisp/ob-core.el (org-babel-execute-src-block): Support buffers. Allow specifying that results from executi

Re: [O] send block evaluation results to specified buffer

2019-09-12 Thread Arthur A. Gleckler
On Wed, Sep 11, 2019 at 5:44 PM Arthur A. Gleckler wrote: > 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 > Sorry, the first example was supposed to be: #+begin_s

[O] send block evaluation results to specified buffer

2019-09-11 Thread Arthur A. Gleckler
Org mode! From 52de54b8cf5b91ac01d3a566b3c1ca6176a9cb1d Mon Sep 17 00:00:00 2001 From: "Arthur A. Gleckler" Date: Wed, 11 Sep 2019 17:03:33 -0700 Subject: [PATCH] ob-core.el: block result output to buffer * lisp/ob-core.el (org-babel-execute-src-block): Support buffers. Allow specifying that resul

Re: [O] using variables with :dir

2015-09-05 Thread Arthur A. Gleckler
On Sat, Sep 5, 2015 at 8:36 PM, Kyle Meyer wrote: > There may be a better way, but this seems to work. > > #+begin_src sh :dir (substitute-in-file-name "$HOME/.emacs.d/") :results > output > ls | tail -2 > #+end_src > > #+RESULTS: > : tramp > : url > > Thanks. While that does substitute for $

[O] using variables with :dir

2015-09-05 Thread Arthur A. Gleckler
Is it possible to use variables with :dir? For example, I've tried this, but no substitution of ${SRFI} seems to happen: #+BEGIN_SRC sh :dir ~/srfi/split/srfi-${SRFI} :results output silent :session local git push #+END_SRC Thanks.