From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: short way to insert source tag in org mode? Date: Sun, 27 Sep 2009 10:50:41 -0400 Message-ID: <873a68fnlq.fsf@gollum.intra.norang.ca> References: <83iqf429fq.fsf@ymail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mrv5S-0001sY-Mo for emacs-orgmode@gnu.org; Sun, 27 Sep 2009 10:50:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mrv5O-0001sJ-Bv for Emacs-orgmode@gnu.org; Sun, 27 Sep 2009 10:50:53 -0400 Received: from [199.232.76.173] (port=58323 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mrv5O-0001s9-4P for Emacs-orgmode@gnu.org; Sun, 27 Sep 2009 10:50:50 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:62821) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mrv5N-0005Zk-EL for Emacs-orgmode@gnu.org; Sun, 27 Sep 2009 10:50:49 -0400 In-Reply-To: <83iqf429fq.fsf@ymail.com> (Water Lin's message of "Sun\, 27 Sep 2009 14\:22\:49 +0800") 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: Water Lin Cc: Emacs-orgmode@gnu.org Water Lin writes: > While I am using org to publish my source code, I include my code in > following way: > > #+BEGIN_SRC emacs-lisp > some emacs-lisp code > #+END_SRC > > Everytime I copy the begin and the end tag which is > > #+BEGIN_SRC emacs-lisp > > and > > #+END_SRC > > to my org file. > > I want to find a way to inset them handly. Is there a key binding for > this? I use yasnippet for this. http://doc.norang.ca/org-mode.html#Yasnippets -Bernt