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.
>> >
>> > http://doc.norang.ca/org-mode.html#Yasnippets
>> >
>> 
>> 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?
>> 
>
> 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,
>
>     C-h c <tab>
>
> says "TAB (translated from <tab>". This is all under X of course: I suspect
> that on a console, things would be simpler.
>
> HTH,
> Nick
>

Yes, thanks, it works.

Water Lin

-- 
Water Lin's blog: http://blog.waterlin.org
Email: water...@ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to