[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: [Babel] Macro for begin_src?
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] Re: [Babel] Macro for begin_src? |
Date: |
Sat, 17 Apr 2010 09:05:59 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
RE: collections of org-mode yasnippets
There is a collection available on github
http://github.com/RickMoynihan/yasnippet-org-mode
RE: binding the tab key for Yas expansion in Org-mode
It is tricky, I use the solution shown here
http://eschulte.github.com/emacs-starter-kit/starter-kit-org.html
Best -- Eric
Nathan Neff <address@hidden> writes:
> On Sat, Apr 17, 2010 at 9:06 AM, Erik Iverson <address@hidden> wrote:
>
>>
>> I'm guessing what you really want there is
>>>
>>> (set (make-local-variable 'yas/trigger-key) [tab])
>>>
>>> instead of
>>>
>>> > (make-variable-buffer-local 'yas/trigger-key)
>>> > (setq yas/trigger-key [tab])
>>>
>>>
>>> Hmmm.
>>>
>>> Do you guys un-map your TAB key so that it doesn't run org-cycle?
>>> My TAB key will correctly trigger yas/insert-snippet in emacs-lisp mode.
>>> However, in org-mode my TAB key is still mapped to org-cycle, even if I
>>> add the org-mode hook using the code above.
>>>
>>> Thanks,
>>> --Nate
>>>
>>>
>> The order you do it might matter?
>>
>
> I found the problem -- it's detailed right here, and it's tailored to fix
> compatibility with org-mode:
> http://yasnippet.googlecode.com/svn/trunk/doc/faq.html
>
> --Nate
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Re: [Orgmode] Re: [Babel] Macro for begin_src?, (continued)
Re: [Orgmode] Re: [Babel] Macro for begin_src?, Dan Davison, 2010/04/16
- Re: [Orgmode] Re: [Babel] Macro for begin_src?, Nathan Neff, 2010/04/16
- Re: [Orgmode] Re: [Babel] Macro for begin_src?, Dan Davison, 2010/04/16
- [Orgmode] Re: [Babel] Macro for begin_src?, Štěpán Němec, 2010/04/17
- [Orgmode] Re: [Babel] Macro for begin_src?, Nathan Neff, 2010/04/17
- Re: [Orgmode] Re: [Babel] Macro for begin_src?, Erik Iverson, 2010/04/17
- Re: [Orgmode] Re: [Babel] Macro for begin_src?, Nathan Neff, 2010/04/17
- Re: [Orgmode] Re: [Babel] Macro for begin_src?,
Eric Schulte <=
Re: [Orgmode] [Babel] Macro for begin_src?, Thomas S. Dye, 2010/04/16
[Orgmode] Re: [Babel] Macro for begin_src?, Bernt Hansen, 2010/04/16