Hi Inquisitive Scientist,

Inquisitive Scientist wrote:
> I *love* org-babel.

So do I. That's even not love anymore, but passion... Even if I almost don't
use it, only when I need to write doc in a "literate programming" style. But,
thinking at using it for every little script I write, as well.


> Any suggestions on debugging would be much appreciated.
>
> Below is a list of some common mistakes.
>
> ** common mistakes
>
> *** forgetting colon on srcname

This one is easy to fix. Use yasnippet. Type `sb <TAB>' and you're done.

Definition of `sb':

--8<---------------cut here---------------start------------->8---
#name : #+begin_src...#+end_src
# --
#+srcname: ${1:name}
#+begin_src ${2:language} $3
$0
#+end_src
--8<---------------cut here---------------end--------------->8---

The only thing that still annoys me, is:

- I type the name, then TAB
- I type the language, then TAB
- I have to delete the trailing space (yes, I'm paranoid), but I can't do it
  immediately. I first have to move cursor, then can come back to the extra
  space, and remove it...

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to