From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Create a view of just source-code blocks? Date: Wed, 06 Jul 2011 11:49:07 -0600 Message-ID: <87vcvf1er0.fsf@gmail.com> References: <1309896511.26199.YahooMailRC@web161910.mail.bf1.yahoo.com> <8762nf7dzl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeWDu-0007gk-T8 for emacs-orgmode@gnu.org; Wed, 06 Jul 2011 13:49:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeWDs-0007Xw-Gc for emacs-orgmode@gnu.org; Wed, 06 Jul 2011 13:49:18 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:64054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeWDs-0007Wk-1H for emacs-orgmode@gnu.org; Wed, 06 Jul 2011 13:49:16 -0400 Received: by pwi12 with SMTP id 12so73480pwi.0 for ; Wed, 06 Jul 2011 10:49:14 -0700 (PDT) In-Reply-To: (Rainer M. Krug's message of "Wed, 6 Jul 2011 17:32:03 +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: Rainer M Krug Cc: Michael Hannon , Org-Mode List Rainer M Krug writes: > On Wed, Jul 6, 2011 at 1:21 AM, Eric Schulte wrote: > >> Michael Hannon writes: >> >> > Greetings. I'd like to be able to view just the source-code blocks in a >> Babel >> > file. I.e., I'd like to do something logically equivalent to "tangle", >> but >> > without creating a separate file, just a view within the current file. >> Any >> > suggestions? >> > >> > Thanks, >> > >> > -- Mike >> > >> >> Hi Mike, >> >> Something like the attached should work, although I'm not sure if/how >> this could be incorporated into Org-mode. >> >> >> > I like the idea of only showing the source code blocks, but I would think > that the org way would be to fold everything else and to od=pen the source > code blocks? Would that be possible? (I must say I haven't looked at your > solution, Eric) > folding everything else is basically exactly why my solution does :) Best -- Eric > > Rainer' > > >> >> -- >> Eric Schulte >> http://cs.unm.edu/~eschulte/ >> >> -- Eric Schulte http://cs.unm.edu/~eschulte/