emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: debugging sbe calls


From: Sébastien Vauban
Subject: [Orgmode] Re: debugging sbe calls
Date: Fri, 06 Aug 2010 10:20:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]