From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Eure Newsgroups: gmane.emacs.help Subject: Re: yasnippet and friends: usefull ? Date: Wed, 29 Apr 2009 15:13:57 -0700 Message-ID: <3173E455-E1A5-42EF-806C-D7FD210EE8C5@digg.com> References: <200904282225.n3SMP36j017386@zogzog.maillard.mobi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241043275 8196 80.91.229.12 (29 Apr 2009 22:14:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2009 22:14:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Leo To: Xavier Maillard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 30 00:14:28 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LzI2u-0005qj-05 for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Apr 2009 00:14:28 +0200 Original-Received: from localhost ([127.0.0.1]:50293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzI2t-0004hx-Bc for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 18:14:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzI2T-0004hp-7V for help-gnu-emacs@gnu.org; Wed, 29 Apr 2009 18:14:01 -0400 Original-Received: from [199.232.76.173] (port=46011 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzI2S-0004hh-Op for help-gnu-emacs@gnu.org; Wed, 29 Apr 2009 18:14:00 -0400 Original-Received: from mail.digg.com ([64.191.203.36]:33549) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LzI2S-0007NW-CA; Wed, 29 Apr 2009 18:14:00 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.digg.com (Postfix) with ESMTP id 9776DA850BF; Wed, 29 Apr 2009 15:13:58 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Score: -4.436 Original-Received: from mail.digg.com ([127.0.0.1]) by localhost (mail.digg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HPWCskO2ts3m; Wed, 29 Apr 2009 15:13:58 -0700 (PDT) Original-Received: from [10.2.16.50] (diggstage01.digg.com [64.191.203.34]) by mail.digg.com (Postfix) with ESMTP id 1476BA85098; Wed, 29 Apr 2009 15:13:58 -0700 (PDT) In-Reply-To: <200904282225.n3SMP36j017386@zogzog.maillard.mobi> X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64108 Archived-At: On Apr 28, 2009, at 3:25 PM, Xavier Maillard wrote: > > On 2009-04-28 07:34 +0100, Xavier Maillard wrote: >> Hi, >> >> I was revamping my $TMP directory and found on old archive of >> yasnippet. >> >> Does anybody is really using it ? I mean do you find easy to TAB >> everytime you are typing code ? How do you use it in real life ? >> Don't you think abbrev-* is easier and less intrusive ? > > I use a modified snippet.el that integrates into abbrev > seamlessly. I > like it better than yasnippet. > > Why ? Is it available somewhere ? How do you practically use it ? > Along my previous post, I decided to try yasnippet. It is nice > but you have to remember what is the "combo trigger" to use in > order to have it does something ;) > (setq yas/trigger-key (kbd "SPC")) The other I prefer about yasnippet is that it will expand snippets containing non-word-constituent characters, which abbrev can't. So I can't have "@p" expand to "@param" with abbrev, but I can with yasnippet. - Ian