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-field-group))) --8<---------------cut here---------------end--------------->8--- but what you already have looks more like the suggestion in the FAQ at http://orgmode.org/worg/org-faq.php#YASnippet, so I wouldn't be surprised if my setup doesn't work for you either... I'm also using the org git master, and emacs 23 git master, so maybe the problem is related to a recent change in the yasnippet repo? Best -- Eric Jeff Kowalczyk <j...@yahoo.com> writes: > 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/yasnippet.el") > (yas/initialize) > (yas/load-directory "~/.emacs.d/vendor/yasnippet/snippets") > (global-set-key "\C-cl" 'org-store-link) > (global-set-key "\C-ca" 'org-agenda) > (setq org-log-done 'time) > (setq org-special-ctrl-k t) > (org-remember-insinuate) > (setq org-directory "~/org/") > (setq org-default-notes-file (concat org-directory "/notes.org")) > (define-key global-map "\C-cr" 'org-remember) > (setq org-clock-into-drawer t) > (setq org-clock-clocktable-default-properties '(:maxlevel 2 :scope subtree)) > (add-hook 'org-mode-hook > (lambda () > (org-set-local 'yas/trigger-key [tab]) > (define-key yas/keymap [tab] 'yas/next-field-group))) > > > I normally have ido enabled, but I disabled it with no change in the behavior. > Thanks for any suggestions. > > Jeff > > > > _______________________________________________ > 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 _______________________________________________ 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