From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Ferrari Newsgroups: gmane.emacs.help Subject: Re: problemi with simple ya-snippets Date: Tue, 4 Mar 2014 13:01:45 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1393934513 19775 80.91.229.3 (4 Mar 2014 12:01:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2014 12:01:53 +0000 (UTC) Cc: help-gnu-emacs To: Christian Henz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 04 13:02:00 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WKo2p-00065l-H7 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Mar 2014 13:01:59 +0100 Original-Received: from localhost ([::1]:44362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKo2o-00054d-VM for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Mar 2014 07:01:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKo2e-00054M-6u for help-gnu-emacs@gnu.org; Tue, 04 Mar 2014 07:01:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKo2d-0007TM-BC for help-gnu-emacs@gnu.org; Tue, 04 Mar 2014 07:01:48 -0500 Original-Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:41956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKo2d-0007TI-47 for help-gnu-emacs@gnu.org; Tue, 04 Mar 2014 07:01:47 -0500 Original-Received: by mail-wg0-f45.google.com with SMTP id m15so4802780wgh.28 for ; Tue, 04 Mar 2014 04:01:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=lz8nryKG+AyhzuWXXn6ZyQqLIRLL5/f05iBGMSHRWbY=; b=NwcNpyk5rdcrmATtEWRiNIj6CcsGAWIE2DFbGeJdFy9KeEPhxKaP99pAAOAuGHLb3K ZWwuooiZ7GHTSdGzqtrHpiGPcvV77fY+ichbqR880ny1WrTTmE83SSD2ZgecYdQqhtAH W3mUy9SYusVZD2Iga8LaFO2Tu2A4n8hlun+lfRMm+U65tr9mucKOoDR/R46MlpdqZHu1 6a9sK6/U6EMfYKZgwVfnj1PxzRit29oYESf16Bq1MGEHCWu71HyCL/XtC9EMc8YUeIT3 FFDHRJ8ECwodkEObIZHZVF6UhNsjNtzJ+QIhJBbfM5OX5NPrGVnfAQNMl5fgCkL/6795 oeEw== X-Received: by 10.194.78.180 with SMTP id c20mr16072921wjx.57.1393934505792; Tue, 04 Mar 2014 04:01:45 -0800 (PST) Original-Received: by 10.194.249.40 with HTTP; Tue, 4 Mar 2014 04:01:45 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: 3H6gRkt1PlVY8TRLg3pT1G3giSg X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22d 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:96252 Archived-At: Hi Christian, On Tue, Mar 4, 2014 at 12:11 PM, Christian Henz wrote: >> [yas] Loaded /home/luca/.emacs.d/elpa/yasnippet-0.8.0/snippets >> [yas] Check your `yas-snippet-dirs': ~/.emacs.d/snippets is not a directory >> [yas] Reloaded everything... (some errors, check *Messages*). >> > > Maybe the '~' needs to be expanded? (manually, or via 'expand-file-name'). > I don't think: the directory does not exist, but the right one is the first one ( /home/luca/.emacs.d/elpa/yasnippet-0.8.0/snippets) which is loaded and works. I mean, all preloaded snippets are working (e.g., Perl), while mine are not. The real problem is that the TAB does not expand my snippets, while yas-expand does. Could it be something that is clashing with the usage of TAB? Luca