From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: [yasnippet] Symbol's function definition is void: yas/next-field-group Date: Tue, 9 Aug 2011 13:34:49 +0200 Message-ID: <2011-08-09T13-25-48@devnull.Karl-Voit.at> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqmJl-00009j-Cv for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 09:26:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqmJU-0003HI-QN for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 09:25:53 -0400 Received: from lo.gmane.org ([80.91.229.12]:54517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqmJU-0003H5-HS for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 09:25:44 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QqkaQ-0001VN-UJ for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 13:35:06 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Aug 2011 13:35:06 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Aug 2011 13:35:06 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi! I tried to set up yasnippet for me and it seems to me that I do have problems using yasnippet. yasnippet v0.6.1 Org-mode current git version I already found [1] and my .emacs contains: ,---- | ;; ###################################################### | ;;; yasnippet | ;; http://yasnippet.googlecode.com/svn/trunk/doc/index.html | (require 'yasnippet) | (setq yas/root-directory "~/.emacs.d/snippets") | (yas/load-directory yas/root-directory) | | ;; ###################################################### | ;; yasnippet and Org-mode | ;; from: http://orgmode.org/manual/Conflicts.html | (add-hook 'org-mode-hook | (lambda () | (org-set-local 'yas/trigger-key [tab]) | (define-key yas/keymap [tab] 'yas/next-field-group))) | (defun yas/org-very-safe-expand () | (let ((yas/fallback-behavior 'return-nil)) (yas/expand))) | (add-hook 'org-mode-hook | (lambda () | (make-variable-buffer-local 'yas/trigger-key) | (setq yas/trigger-key [tab]) | (add-to-list 'org-tab-first-hook 'yas/org-very-safe-expand) | (define-key yas/keymap [tab] 'yas/next-field))) `---- Whenever I try to expand a snippet containing $1, $2, ... I just get to $1 and then there I get «Symbol's function definition is void: yas/next-field-group» in the *Messages* buffer. Pressing «Tab» does not jump to $2 or $0. Does anybody have a clue, what is going on? Probably this is not even related to Org-mode since I changed to *scratch* and invoked latex-mode/begin+«Tab» and it does not work either ... 1. http://orgmode.org/manual/Conflicts.html -- Karl Voit