[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: short way to insert source tag in org mode?
From: |
Water Lin |
Subject: |
Re: [Orgmode] Re: short way to insert source tag in org mode? |
Date: |
Tue, 29 Sep 2009 09:48:03 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) |
Bernt Hansen <address@hidden> writes:
> Water Lin <address@hidden> 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
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
I am using YASnippets according to your suggestion. But my YASnippet
works in other modes like Perl, but just doesn't work in org-mode.
I have already added file "org-mode/block" under folder
"snippets\text-mode".
But while I type block and press TAB in org-mode, nothing happens. I
think the org must be use the TAB key for special work.
Is it true?
--
Water Lin's blog: http://blog.waterlin.org
Email: address@hidden
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Orgmode] Re: short way to insert source tag in org mode?, Matt Lundin, 2009/09/27