From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Kowalczyk Subject: Re: Using yasnippet with org Mode (C-i works TAB doesn't) Date: Sat, 19 Sep 2009 05:06:11 +0000 (UTC) Message-ID: References: <4929ADBB.6050809@manor-farm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mos9l-0000xI-GS for emacs-orgmode@gnu.org; Sat, 19 Sep 2009 01:06:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mos9g-0000u3-Q1 for emacs-orgmode@gnu.org; Sat, 19 Sep 2009 01:06:44 -0400 Received: from [199.232.76.173] (port=60825 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mos9g-0000tw-Ge for emacs-orgmode@gnu.org; Sat, 19 Sep 2009 01:06:40 -0400 Received: from lo.gmane.org ([80.91.229.12]:38174) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mos9g-0002DD-0I for emacs-orgmode@gnu.org; Sat, 19 Sep 2009 01:06:40 -0400 Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mos9c-0004kE-Sm for emacs-orgmode@gnu.org; Sat, 19 Sep 2009 07:06:37 +0200 Received: from 24-216-241-93.dhcp.mdfd.or.charter.com ([24.216.241.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Sep 2009 07:06:36 +0200 Received: from jtk by 24-216-241-93.dhcp.mdfd.or.charter.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Sep 2009 07:06:36 +0200 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: emacs-orgmode@gnu.org 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