From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Re: [Babel] Macro for begin_src? Date: Fri, 16 Apr 2010 23:55:39 -0400 Message-ID: <874ojag2bo.fsf@stats.ox.ac.uk> References: <87fx2ug61h.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2z8G-0001zy-Ma for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 23:55:48 -0400 Received: from [140.186.70.92] (port=60799 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2z8F-0001zq-Dk for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 23:55:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2z8D-0004J5-Rv for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 23:55:47 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:43070) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2z8D-0004Ip-GP for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 23:55:45 -0400 In-Reply-To: (Nathan Neff's message of "Fri, 16 Apr 2010 22:43:33 -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: Nathan Neff Cc: emacs-orgmode@gnu.org > Thanks!=C2=A0 I'm having trouble triggering the yasnippets using the TAB = key, so I'm > just using the GUI menu. > > Do you literally type "src" (no quotes), then press Tab? Yeah, but there's some magic code needed, which is also on Bernt's page. (add-hook 'org-mode-hook (lambda () ;; yasnippet (make-variable-buffer-local 'yas/trigger-key) (setq yas/trigger-key [tab]) (define-key yas/keymap [tab] 'yas/next-field-group))) Do you have that? What do you get if you do C-h k TAB in org? I get runs the command yas/expand ... Dan > > --Nate > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode