From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Hudson Subject: Re: Tangling flow control Date: Wed, 9 Nov 2016 22:59:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4bqQ-0006uz-63 for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 17:59:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4bqL-0004hk-DP for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 17:59:50 -0500 Received: from mail-vk0-x230.google.com ([2607:f8b0:400c:c05::230]:35571) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4bqL-0004h8-8b for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 17:59:45 -0500 Received: by mail-vk0-x230.google.com with SMTP id w194so189004510vkw.2 for ; Wed, 09 Nov 2016 14:59:44 -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" To: "Charles C. Berry" Cc: emacs orgmode-mailinglist On 9 November 2016 at 21:41, Charles C. Berry wrote: > The org src block is just a container. Its body is a src block template that > gets copied into the variable `tmpl', which if filled and placed in file can > be tangled. That makes sense, but it seems to conflict with what you illustrate: #+RESULTS: #+BEGIN_src org ,#+BEGIN_SRC shell :tangle abc.sh ls -lt my-dir ,#+END_SRC #+END_src I'd expect/want: #+RESULTS: #+BEGIN_SRC shell :tangle abc.sh ls -lt my-dir #+END_SRC Wouldn't I? > Alternatively, you can eval (setq tmpl "