From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Re: [Babel] Macro for begin_src? Date: Fri, 16 Apr 2010 20:32:31 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0964630143==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2wth-0003Jd-8X for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 21:32:37 -0400 Received: from [140.186.70.92] (port=36833 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2wtg-0003Hw-0D for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 21:32:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2wte-0002eU-Lw for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 21:32:35 -0400 Received: from mail-pz0-f198.google.com ([209.85.222.198]:50993) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2wte-0002eD-EL for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 21:32:34 -0400 Received: by pzk36 with SMTP id 36so2706346pzk.24 for ; Fri, 16 Apr 2010 18:32:33 -0700 (PDT) In-Reply-To: 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 --===============0964630143== Content-Type: multipart/alternative; boundary=000e0cd28db09e71c4048464b3a8 --000e0cd28db09e71c4048464b3a8 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Apr 16, 2010 at 8:18 PM, Nathan Neff wrote: > 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 > > *Sigh* I Googled around for about 15 minutes, then posted the question to the mailing list. (I swear!) Then, I stumbled upon Brent's Yasnippets when researching something totally different. http://doc.norang.ca/org-mode.html#Yasnippets If anyone else has a different macro set up, I'm still interested in hearing your solutions. Thanks, --Nate --000e0cd28db09e71c4048464b3a8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Fri, Apr 16, 2010 at 8:18 PM, Nathan = Neff <nathan.= neff@gmail.com> wrote:
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


*Sigh* I Googled around for about 15 minutes, then posted the ques= tion to the mailing list. (I swear!)

Then, I stumbled upon Brent'= ;s Yasnippets when researching something totally different.

http://doc.norang.ca/org= -mode.html#Yasnippets

If anyone else has a different macro set up, I'm still interested i= n hearing your solutions.

Thanks,
--Nate
--000e0cd28db09e71c4048464b3a8-- --===============0964630143== 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 --===============0964630143==--