Re: [Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-22 Thread Eric Schulte
Carsten Dominik writes: > Hi Eric, > > could I ask you to update the FAQ with this issue? > done, should update to Worg within the hour -- Eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.or

[Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-22 Thread Nicolas Goaziou
Carsten Dominik writes: > could I ask you to update the FAQ with this issue? It still doesn't work with org-indent-mode on, though. I guess the FAQ will have to specify to disable it before using yasnippet (which is a sad thing as both are providing great features). -- Nicolas Goaziou _

Re: [Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-21 Thread Carsten Dominik
Hi Eric, could I ask you to update the FAQ with this issue? Thanks. - Carsten On Sep 20, 2009, at 3:16 PM, Eric Schulte wrote: Nicolas Goaziou writes: Jeff Kowalczyk writes: (add-hook 'org-mode-hook (lambda () (org-set-local 'yas/trigger-key [tab]) (define-key yas/keymap [tab] 'yas/

Re: [Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-20 Thread Eric Schulte
Nicolas Goaziou writes: > Jeff Kowalczyk writes: > >> (add-hook 'org-mode-hook >> (lambda () >> (org-set-local 'yas/trigger-key [tab]) >> (define-key yas/keymap [tab] 'yas/next-field-group))) > > According to the yasnippet FAQ (or is it on its forum), it should be > > (add-hook 'org-mode-h

[Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-20 Thread Nicolas Goaziou
Jeff Kowalczyk writes: > (add-hook 'org-mode-hook > (lambda () > (org-set-local 'yas/trigger-key [tab]) > (define-key yas/keymap [tab] 'yas/next-field-group))) According to the yasnippet FAQ (or is it on its forum), it should be (add-hook 'org-mode-hook #'(lambda ()

Re: [Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-19 Thread Eric Schulte
Hmm, The following works for me --8<---cut here---start->8--- (add-hook 'org-mode-hook (lambda () (make-variable-buffer-local 'yas/trigger-key) (setq yas/trigger-key [tab]) (define-key yas/keymap [tab] 'yas/next-fie

[Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-18 Thread Jeff Kowalczyk
With Emacs 23.1, org git master, and yasnippet svn trunk, I have the problem that the TAB key does not expand snippets, but C-i does. I'm using the Org Manual's recommended configuration to address the conflict, see init.el lines matching org|yas below: (load-file "~/.emacs.d/vendor/yasnippet/yas