From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: debugging sbe calls Date: Fri, 06 Aug 2010 10:20:11 +0200 Message-ID: <87aap0885g.fsf@mundaneum.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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. Bu= t, 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 ' 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 --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode