From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Illiterate programming question Date: Wed, 30 Mar 2011 17:33:24 -0400 Message-ID: <8766.1301520804@alphaville.usa.hp.com> References: <4D93935B.1020402@sift.info> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=60333 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5316-0001o9-Gi for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 17:33:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5315-0000D3-9W for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 17:33:28 -0400 Received: from g4t0016.houston.hp.com ([15.201.24.19]:18112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5315-0000Cl-6R for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 17:33:27 -0400 In-Reply-To: Message from Robert Goldman of "Wed, 30 Mar 2011 15:32:27 CDT." <4D93935B.1020402@sift.info> 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: rpgoldman@sift.info Cc: nicholas.dokos@hp.com, Org Mode Robert Goldman wrote: > I would like to do the opposite of literate programming (hence the > subject line!): > > I would like to pull into my org file snippets from a code file. I know > that org-mode will let me import /entire/ source code files. Is there > some way to say "Import the region of this file between these two > delimiters?" > > If not, do you think it would be hard to add this feature? I already > have the snappy name, after all! > I don't really understand: can't you cut and paste? And what do you mean that "org-mode will let me import /entire/ source code files"? Is this a facility other than insert-file? Or are you talking about the #+INCLUDE mechanism? Thanks, Nick