From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Evaluating inline source blocks on export issue Date: Wed, 23 Jul 2014 08:43:24 -0400 Message-ID: <87sils9rf7.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9vtf-0004jS-JD for emacs-orgmode@gnu.org; Wed, 23 Jul 2014 08:43:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9vtW-0007Pu-JC for emacs-orgmode@gnu.org; Wed, 23 Jul 2014 08:43:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:52992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9vtW-0007Pq-74 for emacs-orgmode@gnu.org; Wed, 23 Jul 2014 08:43:42 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X9vtT-00087C-2A for emacs-orgmode@gnu.org; Wed, 23 Jul 2014 14:43:39 +0200 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Jul 2014 14:43:39 +0200 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Jul 2014 14:43:39 +0200 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: emacs-orgmode@gnu.org Grant Rettke writes: > Good evening, > > From [org-scraps] I pasted this example into a buffer: > > ,—- > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ > > #+name: square > #+begin_src emacs-lisp :var it=0 > > (* it it) > #+end_src > > Here is a call_square(it=4), stuck in the middle of some prose. > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ > `—- > > When I export the buffer I get: > > ,—- > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ > ╭──── > │ (* it it) > ╰──── > > Here is a , stuck in the middle of some prose. > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ > `—- > > I expected a 16 to have appeared there. > The following works for me: --8<---------------cut here---------------start------------->8--- #+name: square #+begin_src emacs-lisp :var it=0 :exports none (* it it) #+end_src Here is a call_square(it=4), stuck in the middle of some prose. --8<---------------cut here---------------end--------------->8--- -- Nick