At Mon, 28 Sep 2009 23:36:02 -0400, Nick Dokos wrote: > > Bernt Hansen <be...@norang.ca> wrote: > > > > 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. > > > > For me both TAB and C-i run the command yas/expand (according to C-h k). > > I'm using GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of > > 2008-11-09 on raven, modified by Debian. > > > > I get <tab> and TAB as Nick does but both run yas/expand. > > > > I've never tried it in Emacs 23. > > > > I thought that Emacs23 would be the explanation, but I get the different > behavior even with Emacs 22. Ah, well: a mystery that will remain a mystery > (at last, afaiac...) > > Nick
Nick, I have both TAB and C-i bound to yas/expand. I use the following in my .emacs org-mode setup section: --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) ; from Richard Riley in org-mode mailing list ) ) --8<---------------cut here---------------end--------------->8--- HTH. _______________________________________________ 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