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: Fri, 21 Mar 2008 00:03:39 +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 1206029175 9113 80.91.229.12 (20 Mar 2008 16:06:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2008 16:06:15 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Nikolaj Schumacher" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 20 17:06:44 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 1JcNG1-0008JK-MB for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Mar 2008 17:04:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcNFR-00005S-Bj for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Mar 2008 12:04:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JcNFA-0008V5-TV for help-gnu-emacs@gnu.org; Thu, 20 Mar 2008 12:03:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JcNF7-0008Px-2c for help-gnu-emacs@gnu.org; Thu, 20 Mar 2008 12:03:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcNF6-0008Pg-T3 for help-gnu-emacs@gnu.org; Thu, 20 Mar 2008 12:03:48 -0400 Original-Received: from rn-out-0910.google.com ([64.233.170.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JcNF6-0003hs-KZ for help-gnu-emacs@gnu.org; Thu, 20 Mar 2008 12:03:48 -0400 Original-Received: by rn-out-0910.google.com with SMTP id i6so761001rng.2 for ; Thu, 20 Mar 2008 09:03:40 -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=SGA3qzhmaADe3Fwu/8Ubvz+4OxDJPBw6ADB+M+/Cxi8=; b=d6jl7iZ+M8zkGhDWkkxI5/hhGDH/O4/f0jRjwA2sc+nr70859M6N0E9ZFqES+wVQyTvLF649g/uCYuYqthwjjRQHHZmvhsBErglx2dMDSDH4R5n/y5QhfOAPMsEg2xRP+b65QCnyjZshqr24BUS4LrOIxX6VeLanzSTCEI2m9Ww= 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=of1Nh9+8+UCHPSTsnD+6ApFySNHhFsEg6R4iQzOhsaZ7PIKBdRJGwQ/O8mELudEZcIYXrGl1A1qnqrxB7upX6J/6gyidVFGQS356/It8oVEc8AfJ82SrCGHssGIUoPydwPXI6eEjitMHVHp7Yc7ixpagVwm+ASIQ09Am1Z1mEgM= Original-Received: by 10.142.221.19 with SMTP id t19mr1389162wfg.100.1206029019683; Thu, 20 Mar 2008 09:03:39 -0700 (PDT) Original-Received: by 10.142.154.9 with HTTP; Thu, 20 Mar 2008 09:03:39 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:52569 Archived-At: 2008/3/20, Nikolaj Schumacher : > > "Chiyuan Zhang" wrote: > > > It also doesn't support multiple snippet with same name. > > > Why would one want to have multiple snippets with the same name? I think yes. :) Here are two example from the snippets come with yasnippet: inc for both #include "..." and #include <...> doctype for HTML, XHTML, XML, etc. BTW: I just released YASnippet 0.4.0 -- a condition system is added, now YASnippet is more smarter than smart-snippet. :p > > (I'm not dismissing the idea, I really want to know. :) ) > > regards, > > Nikolaj Schumacher >