From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: [Babel] Macro for begin_src? Date: Fri, 16 Apr 2010 20:18:48 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1133521895==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2wgO-000843-CF for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 21:18:52 -0400 Received: from [140.186.70.92] (port=59414 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2wgN-00083v-6g for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 21:18:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2wgM-0000fo-5r for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 21:18:51 -0400 Received: from mail-pz0-f198.google.com ([209.85.222.198]:52579) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2wgL-0000fb-SD for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 21:18:50 -0400 Received: by pzk36 with SMTP id 36so2702830pzk.24 for ; Fri, 16 Apr 2010 18:18:48 -0700 (PDT) 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@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1133521895== Content-Type: multipart/alternative; boundary=000e0cd32c988bd83f04846482b5 --000e0cd32c988bd83f04846482b5 Content-Type: text/plain; charset=ISO-8859-1 I've been converting my init.el file to org-babel, and am getting tired of copying/pasting or typing the begin_src and end_src blocks. Example: #+begin_src emacs-lisp :results silent #+end_src As an Emacs n00b, I'd like to know if anyone here has defined some kind of macro / shortcut to define an org-babel block. I'd like a shortcut/macro that I could put into my config files, and put into my git repo. Thanks for any input, --Nate --000e0cd32c988bd83f04846482b5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've been converting my init.el file to org-babel, and am getting tired= of
copying/pasting or typing the begin_src and end_src blocks.

E= xample:
#+begin_src emacs-lisp :results silent
#+end_src

As an= Emacs n00b, I'd like to know if anyone here has defined some kind of macro / shortcut to define an org-babel block.

I'd like a shortc= ut/macro that I could put into my config files, and put into my git repo.
Thanks for any input,

--Nate
--000e0cd32c988bd83f04846482b5-- --===============1133521895== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1133521895==--