Sébastien Vauban <wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org> writes:
> 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': > > #name : #+begin_src...#+end_src > # -- > #+srcname: ${1:name} > #+begin_src ${2:language} $3 > $0 > #+end_src > > 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... Hi Seb, I'm with you. That was annoying me too. I'm using this simpler one. #+begin_src...#+end_src # -- #+begin_src ${2:language} $0 #+end_src Dan > > Best regards, > Seb _______________________________________________ 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