Fork me on GitHub
#emacs
<
2017-02-02
>
qqq05:02:40

@caio: thanks for the pseudocode! one question: can the two pop-to-buffer be simplified via a single "with-current-buffer" ?

caio15:02:34

@qqq yep. I was trying to find that function, but couldn’t remember the name 😄

qqq15:02:44

@caio: thanks! the key function was org-src-babel-info -- there's on way I would ahve guessed that it's last item contains the info

qqq15:02:03

here's another org problem I'm running into:

qqq15:02:47

I mostly have code blocks of the following form:

*** some heading
#+begin_src ...
#+end_src
basically, it's a heading containing only a single element, and that element is a code block

qqq15:02:04

right now, my actions are () navigate to heading, do org-cycle, then move down two lines, and do "insert special mode"

qqq15:02:28

I'm wondering if there is a way, when the cursor is over a heading, to say : get me a list of all code blocks within this heading

qqq15:02:23

ah, org-babel-next-src-block

qqq17:02:55

in an org file, is there a way to declare a "ENVIRONMENT VARISBLE" that I can use in all my :tangle options ?