Re: [O] How to show/hide the snippet block in org-babel when the cursor is inside the snippet text

2014-12-16 Thread Grant Rettke
I use `org-babel-next-src-block' and `org-babel-previous-src-block' to go up and down and rely on the org folding. Not a streamlined approach but it works because I use it rarely. On Tue, Dec 16, 2014 at 6:01 AM, Oleh wrote: > > Hi Dmitry, > > > I would like to implement the following. Suppose,

Re: [O] How to show/hide the snippet block in org-babel when the cursor is inside the snippet text

2014-12-16 Thread Oleh
Hi Dmitry, > I would like to implement the following. Suppose, we have this org file: > > #+BABEL: :cache yes :tangle yes :noweb yes > > #+NAME: top_block > #+begin_src perl :tangle "test.pl" :noweb tangle :shebang #!/usr/bin/perl > use strict; > use warnings; > > open(my $fh, "<", "test.txt

[O] How to show/hide the snippet block in org-babel when the cursor is inside the snippet text

2014-12-16 Thread Ivanov Dmitry
I would like to implement the following. Suppose, we have this org file: #+BABEL: :cache yes :tangle yes :noweb yes #+NAME: top_block#+begin_src perl :tangle "test.pl" :noweb tangle :shebang #!/usr/bin/perl use strict; use warnings; open(my $fh, "<", "test.txt") or die "cannot open <