From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: yasnippet doesn't work after switching to github version Date: Thu, 17 Nov 2011 19:51:11 +0100 Message-ID: <87lireoa5c.fsf@thinkpad.tsdh.de> References: <87obwb89vc.fsf@tsdh.uni-koblenz.de> <87obwavfub.fsf@mean.albasani.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321555901 7260 80.91.229.12 (17 Nov 2011 18:51:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Nov 2011 18:51:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 17 19:51:36 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RR73g-0000d1-Eg for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Nov 2011 19:51:36 +0100 Original-Received: from localhost ([::1]:40480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RR73f-0003OX-Bx for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Nov 2011 13:51:35 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RR73b-0003OH-4u for help-gnu-emacs@gnu.org; Thu, 17 Nov 2011 13:51:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RR73a-0004dX-3t for help-gnu-emacs@gnu.org; Thu, 17 Nov 2011 13:51:31 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:41089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RR73Z-0004dI-V8 for help-gnu-emacs@gnu.org; Thu, 17 Nov 2011 13:51:30 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RR73X-0000Zi-RB for help-gnu-emacs@gnu.org; Thu, 17 Nov 2011 19:51:27 +0100 Original-Received: from 91-67-11-43-dynip.superkabel.de ([91.67.11.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Nov 2011 19:51:27 +0100 Original-Received: from tassilo by 91-67-11-43-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Nov 2011 19:51:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91-67-11-43-dynip.superkabel.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) Cancel-Lock: sha1:DBhZBI0096T9bKNElSX1ma2HXh4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82949 Archived-At: Memnon Anon writes: Hi Memnon! >> That's the `b' file for example: >> >> #contributor : Tassilo Horn >> #name : Bye, Tassilo >> # -- >> Bye, >> Tassilo >> >> Comparing that to the snippets that ship with yasnippet, the syntax >> and structure of the snippet dir seems correct. >> >> Any idea what's wrong or where I should start debugging. > > I did the same switch a few days ago. > Seems like the "Filename=Abbrev Key" format is about to be obsolete. > > When my snipppets wouldn't expand, I added the `# key: ' directive, > to all my snippets... now it works. Ah, indeed! I've added a key in all files, now everything works fine. Thanks a ton. Bye, Tassilo -- (What the world needs (I think) is not (a Lisp (with fewer parentheses)) but (an English (with more.))) Brian Hayes, http://tinyurl.com/3y9l2kf