From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Create a view of just source-code blocks? Date: Wed, 6 Jul 2011 17:32:03 +0200 Message-ID: References: <1309896511.26199.YahooMailRC@web161910.mail.bf1.yahoo.com> <8762nf7dzl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636e0a88064a54404a7684dc4 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeU5A-0006zH-Mq for emacs-orgmode@gnu.org; Wed, 06 Jul 2011 11:32:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeU57-0005Kh-NB for emacs-orgmode@gnu.org; Wed, 06 Jul 2011 11:32:08 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:64353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeU57-0005KL-KV for emacs-orgmode@gnu.org; Wed, 06 Jul 2011 11:32:05 -0400 Received: by gwaa12 with SMTP id a12so27360gwa.0 for ; Wed, 06 Jul 2011 08:32:04 -0700 (PDT) In-Reply-To: <8762nf7dzl.fsf@gmail.com> 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: Eric Schulte Cc: Michael Hannon , Org-Mode List --001636e0a88064a54404a7684dc4 Content-Type: text/plain; charset=ISO-8859-1 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) Rainer' > > -- > Eric Schulte > http://cs.unm.edu/~eschulte/ > > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug --001636e0a88064a54404a7684dc4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Jul 6, 2011 at 1:21 AM, Eric Sch= ulte <schult= e.eric@gmail.com> wrote:
Michael Hannon <jm_hannon@yahoo.com> writes:

> Greetings. =A0I'd like to be able to view just the source-code blo= cks in a Babel
> file. =A0I.e., I'd like to do something logically equivalent to &q= uot;tangle", but
> without creating a separate file, just a view within the current file.= =A0Any
> 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 so= urce code blocks, but I would think that the org way would be to fold every= thing else and to od=3Dpen the source code blocks? Would that be possible? = (I must say I haven't looked at your solution, Eric)

Rainer'
=A0

--
Eric Schulte
http://cs.unm.ed= u/~eschulte/




--
Rainer M. Krug, PhD= (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. = (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch = University
South Africa

Tel : =A0 =A0 =A0 +33 - (0)9 53 10 27 44
Cell: =A0 = =A0 =A0 +33 - (0)6 85 62 59 98
Fax (F): =A0 =A0 =A0 +33 - (0)9 58 10 27 = 44

Fax (D): =A0 =A0+49 - (0)3 21 21 25 22 44

email: =A0 =A0 = =A0Rainer@krugs.de=

Skype: =A0 =A0 =A0RMkrug

--001636e0a88064a54404a7684dc4--