From: Water Lin <WaterLin@ymail.com>
To: nicholas.dokos@hp.com
Cc: Bernt Hansen <bernt@norang.ca>, Emacs-orgmode@gnu.org
Subject: Re: Re: short way to insert source tag in org mode?
Date: Tue, 29 Sep 2009 11:18:46 +0800 [thread overview]
Message-ID: <838wfyfnft.fsf@ymail.com> (raw)
In-Reply-To: <29623.1254192352@gamaville.dokosmarshall.org> (Nick Dokos's message of "Mon, 28 Sep 2009 22:45:52 -0400")
Nick Dokos <nicholas.dokos@hp.com> writes:
> Water Lin <WaterLin@ymail.com> wrote:
>
>> Bernt Hansen <bernt@norang.ca> writes:
>>
>> > Water Lin <WaterLin@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: WaterLin@ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next prev parent reply other threads:[~2009-09-29 3:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-27 6:22 short way to insert source tag in org mode? Water Lin
2009-09-27 14:50 ` Bernt Hansen
2009-09-28 9:50 ` Eric S Fraga, Eric S Fraga
2009-09-29 1:48 ` Water Lin
2009-09-29 2:45 ` Nick Dokos
2009-09-29 3:14 ` Bernt Hansen
2009-09-29 3:36 ` Nick Dokos
2009-09-29 9:36 ` Eric S Fraga, Eric S Fraga
2009-09-29 3:18 ` Water Lin [this message]
2009-09-29 7:15 ` Stephan Schmitt
2009-09-27 17:28 ` Matt Lundin
2009-09-29 9:25 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=838wfyfnft.fsf@ymail.com \
--to=waterlin@ymail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=bernt@norang.ca \
--cc=nicholas.dokos@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.