From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Chiyuan Zhang" Newsgroups: gmane.emacs.help Subject: Re: YASnippet -- Yet another snippet extension (after smart-snippet) for Emacs Date: Wed, 19 Mar 2008 20:21:42 +0800 Message-ID: References: <200803190100.m2J10Q2H032492@localhost.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205978593 14100 80.91.229.12 (20 Mar 2008 02:03:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2008 02:03:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Xavier Maillard" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 20 03:03:40 2008 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 1JcA83-00054g-LR for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Mar 2008 03:03:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcA7T-0003j2-KP for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2008 22:03:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbxIp-00045Y-EV for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 08:21:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbxIo-000455-3v for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 08:21:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbxIn-000451-Si for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 08:21:53 -0400 Original-Received: from wf-out-1314.google.com ([209.85.200.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JbxIn-00027F-Fw for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 08:21:53 -0400 Original-Received: by wf-out-1314.google.com with SMTP id 29so412146wff.24 for ; Wed, 19 Mar 2008 05:21:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=W4vmezI5NMNBpIcEBwlXP/85DTxOChAF2jqpYqtE/Ds=; b=SvBxDG6AaiT0xozlK45C1WmnOOsKIFzN+QfxVKaoFa+vgG+clsSwlyZUzdSRpYkPZclYqKctJ77bn2k6q8bm8p7NouqeXDWDYcK9DyqjZirBmHqZK0m/Xjc/yt5CEpCC9c3mTWyDO3fIEA/bU20QomGi650E5F0xSXHKSNzGd2I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MHctuH9Lcq2uPx+Fp4g4HulU74TWq9IVrsNhyWZwKZxJjUwlawduCLRq7UJD3f6ZnSINCFaKwUgFuSrmGiAZoYQeylyeT4EQ6Dz5JlXYxPgQkIZOqKf33Hv8mjcU4Cy7/1bQJTyvufqbTE0GsrJwiadAPmcb559D+Ez0q2dvDsU= Original-Received: by 10.142.163.14 with SMTP id l14mr107033wfe.110.1205929302171; Wed, 19 Mar 2008 05:21:42 -0700 (PDT) Original-Received: by 10.142.154.9 with HTTP; Wed, 19 Mar 2008 05:21:42 -0700 (PDT) In-Reply-To: <200803190100.m2J10Q2H032492@localhost.localdomain> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 19 Mar 2008 22:01:32 -0400 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:52555 Archived-At: Yes, there're some difference from msf-abbrev. For example, msf-abbrev doesn't support mirror fields and transformations. It also doesn't support multiple snippet with same name. I'll make a table to compare with those competitors when I have time. It's really a good idea. I'm quite confident of yasnippet. :P 2008/3/19, Xavier Maillard : > > The project is at http://code.google.com/p/yasnippet/ > > This is a re-design and re-writing of my original extension smart- > snippet. The goal is ease of use and full features. > > > I watched your video and I am impressed. > > Then I decided to look at "competitors" and found them on > emacswiki[1]. There are plenty of alternatives and the choice is > not easy. > > So, could you explain in what yasnippet differ from msfabbrev ? > Are you aware of anything like a comparative chart of all the > available modes ? > > Why did you feel the need to rewrite smart-snippet ? How does it > work internally ? Why did you need to write your own templating > system (serious question since I find it is pretty closed to what > Msf Abbrev does). > > Anyway, congratulations, it is really impressing. > > [1] http://emacswiki.org/cgi-bin/wiki/CategoryTemplates > > Xavier > > -- > http://www.gnu.org > http://www.april.org > http://www.lolica.org >