From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: Inline code :results replace not working Date: Mon, 10 Nov 2014 15:26:21 -0600 Message-ID: References: <545C987E.4020203@gmail.com> <87fvdtwfg3.fsf@nicolasgoaziou.fr> <8661enxvfi.fsf@example.com> <86mw7z4ag3.fsf@example.com> <86y4rj2tm1.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnwTg-0007I8-MB for emacs-orgmode@gnu.org; Mon, 10 Nov 2014 16:26:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnwTf-0003cA-Ly for emacs-orgmode@gnu.org; Mon, 10 Nov 2014 16:26:24 -0500 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:58869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnwTf-0003bU-Gd for emacs-orgmode@gnu.org; Mon, 10 Nov 2014 16:26:23 -0500 Received: by mail-ob0-f170.google.com with SMTP id nt9so6980908obb.15 for ; Mon, 10 Nov 2014 13:26:22 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: Andreas Leha , emacs-orgmode Mailinglist , Ista Zahn , "Charles C. Berry" On Mon, Nov 10, 2014 at 2:45 PM, Thomas S. Dye wrote: > Grant Rettke writes: > >> >> My approach here has been to use "hidden" source blocks that aren't >> exported but make it >> really easy to see the result during development. These settings >> should work on any configuration, >> so I didn't include mine here. > > I think you've set the :session header argument somewhere. I did. I use: #+begin_src emacs-lisp (print emacs-version) #+end_src #+NAME: #+begin_example "24.3.1" #+end_example #+begin_src emacs-lisp (print org-version) #+end_src #+NAME: #+begin_example "8.2.10" #+end_example #+begin_src emacs-lisp (print (pp-to-string org-babel-default-header-args)) #+end_src #+NAME: #+begin_example "((:eval . \"always\") (:padline . \"yes\") (:noweb . \"no-export\") (:exports . \"both\") (:results . \"output replace\") (:comments . \"noweb\") (:session . \"none\") (:cache . \"no\") (:hlines . \"no\") (:tangle . \"no\")) " #+end_example #+begin_src emacs-lisp (print (pp-to-string org-babel-default-header-args:R)) #+end_src #+NAME: #+begin_example "((:session . \"*R*\")) " #+end_example