From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Sexton Subject: YASnippet fix not working Date: Sun, 02 Aug 2009 14:21:58 -0500 Message-ID: <87fxcanhrd.wl%ks@mocker.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXgdH-00060G-OS for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 15:22:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXgdC-0005tM-FT for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 15:22:10 -0400 Received: from [199.232.76.173] (port=42343 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXgdC-0005tA-CS for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 15:22:06 -0400 Received: from smtp-out.lamp5.admo.net ([64.57.210.223]:40030 helo=lamp5.admo.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXgdB-0008UV-TF for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 15:22:06 -0400 Received: from 99-8-212-210.lightspeed.mssnks.sbcglobal.net ([99.8.212.210] helo=thinkpad.lamp5.admo.net) by lamp5.admo.net with esmtpa (Exim 4.67) (envelope-from ) id 1MXgd7-0003Cb-1u for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 14:22:01 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode I'm trying to get YASnippet working with org-mode, but the fix I've found online doesn't seem to be working. --snip-- (add-hook 'org-mode-hook (lambda () (org-set-local 'yas/trigger-key [tab]) (define-key yas/keymap [tab] 'yas/next-field-group))) --snip-- I've added the above code to my emacs init file. When I run C-h k in an org-file, it still reports that org-cycle is bound to tab. The modeline while working on an org file shows that YASnippet is running, and manually executing M-x yas/expand will expand the org-mode hooks that are defined. For some reason I just can't remap that tab key! Thanks for any help, pretty soon I'll just remap it to a different key. :) -- Kyle Sexton