Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-29 Thread Stephan Schmitt
Hi Water Lin, (no with reply to all, sorry for double posting, Lin) did you try the workaround mentioned here: http://orgmode.org/worg/org-faq.php#YASnippet Greetings, Stephan Water Lin wrote: Nick Dokos nicholas.do...@hp.com writes: Water Lin water...@ymail.com wrote:

Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-29 Thread Carsten Dominik
On Sep 27, 2009, at 7:28 PM, Matt Lundin wrote: Water Lin water...@ymail.com 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

Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-29 Thread Eric S Fraga
At Mon, 28 Sep 2009 23:36:02 -0400, Nick Dokos wrote: Bernt Hansen be...@norang.ca wrote: Using Bernt's setup, I can get the block expanded using C-i, but the tab key itself is bound to org-cycle. When I say C-h c tab emacs says tab, whereas if I say C-h c C-i

Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-28 Thread Eric S Fraga
At Sun, 27 Sep 2009 10:50:41 -0400, Bernt Hansen wrote: I use yasnippet for this. http://doc.norang.ca/org-mode.html#Yasnippets +1 very easy to set up and works well for this. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send

Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-28 Thread Water Lin
Bernt Hansen be...@norang.ca writes: Water Lin water...@ymail.com 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

Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-28 Thread Nick Dokos
Water Lin water...@ymail.com wrote: Bernt Hansen be...@norang.ca writes: Water Lin water...@ymail.com writes: ... 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 I am

Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-28 Thread Bernt Hansen
Nick Dokos nicholas.do...@hp.com writes: Water Lin water...@ymail.com wrote: Bernt Hansen be...@norang.ca writes: Water Lin water...@ymail.com writes: ... I want to find a way to inset them handly. Is there a key binding for this? I use yasnippet for this.

Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-28 Thread Water Lin
Nick Dokos nicholas.do...@hp.com writes: Water Lin water...@ymail.com wrote: Bernt Hansen be...@norang.ca writes: Water Lin water...@ymail.com writes: ... I want to find a way to inset them handly. Is there a key binding for this? I use yasnippet for this.

Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-28 Thread Nick Dokos
Bernt Hansen be...@norang.ca wrote: Using Bernt's setup, I can get the block expanded using C-i, but the tab key itself is bound to org-cycle. When I say C-h c tab emacs says tab, whereas if I say C-h c C-i emacs says TAB. In an emacs without yasnippets, otoh,

[Orgmode] Re: short way to insert source tag in org mode?

2009-09-27 Thread Bernt Hansen
Water Lin water...@ymail.com 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.

[Orgmode] Re: short way to insert source tag in org mode?

2009-09-27 Thread Matt Lundin
Water Lin water...@ymail.com 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.