From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Subject: novice - inline src ? Date: Wed, 3 Nov 2010 15:34:58 +1300 Message-ID: <201011031535.00063.ahcnz@ihug.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=52779 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDTAN-0001O0-Pf for Emacs-orgmode@gnu.org; Tue, 02 Nov 2010 22:33:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDTAM-0001ks-Sh for Emacs-orgmode@gnu.org; Tue, 02 Nov 2010 22:33:35 -0400 Received: from mailfilter4.ihug.co.nz ([203.109.136.4]:65243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDTAM-0001kX-JW for Emacs-orgmode@gnu.org; Tue, 02 Nov 2010 22:33:34 -0400 Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode@gnu.org Am a novice, and just trying my first src emacs lisp. Can a results output be included in the middle of a line of text ? I've looked through section 14 of the manual. Perhaps the entire line must be "concat"ed into the one composite line needed. See the "quick brown fox" example below, with src result plonked in the middle. Also, is there a switch on setting to avoid the "Evaluate this Lisp code on your system? (yes or no)" questions being asked at export - to always answer yes to this ? * test #+begin_src emacs-lisp :exports results (format-time-string "%a %e %b %Y ") #+end_src #+begin_src emacs-lisp :exports none (defun pt () (format-time-string "%a %e %b %Y ")) #+end_src The quick brown fox jumps #+begin_src emacs-lisp :exports results (pt) #+end_src over the lazy dog.