From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: Re: Re: [Babel] Macro for begin_src? Date: Sat, 17 Apr 2010 09:06:58 -0500 Message-ID: <4BC9C082.6040709@ccbr.umn.edu> References: <87fx2ug61h.fsf@stats.ox.ac.uk> <874ojag2bo.fsf@stats.ox.ac.uk> <87wrw6z6hc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O38Zt-0008Hi-PM for emacs-orgmode@gnu.org; Sat, 17 Apr 2010 10:00:57 -0400 Received: from [140.186.70.92] (port=42921 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O38Zr-0008Gj-1k for emacs-orgmode@gnu.org; Sat, 17 Apr 2010 10:00:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O38Zo-0007CI-GI for emacs-orgmode@gnu.org; Sat, 17 Apr 2010 10:00:54 -0400 Received: from pegasus.biostat.wisc.edu ([144.92.73.35]:59162) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O38Zo-0007C2-6F for emacs-orgmode@gnu.org; Sat, 17 Apr 2010 10:00:52 -0400 In-Reply-To: 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: Nathan Neff Cc: Dan Davison , emacs-orgmode@gnu.org, =?UTF-8?B?xaB0xJtww6FuIE7Em21lYw==?= > I'm guessing what you really want there is > > (set (make-local-variable 'yas/trigger-key) [tab]) > > instead of > > > (make-variable-buffer-local 'yas/trigger-key) > > (setq yas/trigger-key [tab]) > > > Hmmm. > > Do you guys un-map your TAB key so that it doesn't run org-cycle? > My TAB key will correctly trigger yas/insert-snippet in emacs-lisp mode. > However, in org-mode my TAB key is still mapped to org-cycle, even if I > add the org-mode hook using the code above. > > Thanks, > --Nate > The order you do it might matter?