From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Mattie Newsgroups: gmane.emacs.help Subject: Re: yasnippet and friends: usefull ? Date: Mon, 4 May 2009 02:07:27 -0700 Message-ID: <20090504090727.GA8306@reforged.homenet> References: <200904280634.n3S6YjgJ009308@zogzog.maillard.mobi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" X-Trace: ger.gmane.org 1241428106 29776 80.91.229.12 (4 May 2009 09:08:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 May 2009 09:08:26 +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 Mon May 04 11:08:16 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 1M0u9n-000341-9V for geh-help-gnu-emacs@m.gmane.org; Mon, 04 May 2009 11:08:16 +0200 Original-Received: from localhost ([127.0.0.1]:54769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0u9m-00017i-EY for geh-help-gnu-emacs@m.gmane.org; Mon, 04 May 2009 05:08:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0u9E-00017R-Ci for help-gnu-emacs@gnu.org; Mon, 04 May 2009 05:07:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0u9A-00016Q-Ry for help-gnu-emacs@gnu.org; Mon, 04 May 2009 05:07:40 -0400 Original-Received: from [199.232.76.173] (port=56803 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0u9A-00016L-Ir for help-gnu-emacs@gnu.org; Mon, 04 May 2009 05:07:36 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.248]:6902) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M0u97-0002sG-0f; Mon, 04 May 2009 05:07:33 -0400 Original-Received: by rv-out-0708.google.com with SMTP id f25so1238984rvb.2 for ; Mon, 04 May 2009 02:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=4VCdNmm3Yb+4GVLK7f00wECVEfg/5UJsmYB7IUMH59A=; b=Ch6EhB9BJFLc54GKxHcipmkT9pTxo4sJ4xdssV5yaJmn3tLACoDR0abwoAlQgcjCcH DnPIys861EXcy2zCApXs4d60aFvz8Srf0I9prtkhtnDKwjG7o3IiKNJ1f+gydAOC4+Jf 6WS9xj6wi0+LQSJot5eui7njbeq9SGPo8gf5w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=xiXTTb/evc1Z+/MpuIZyq7LmuI/iC8Iyh1Cot9oLSYzaOTqRT1rYIP+NxBgwzTPIsq B1Z2QFeSYhGNdPszZu2aOZr6uP3LY62Hr1wHmChDtrzYzrg6N7ej6CmtcErqdBRruGR/ yHWOlZRs7gDKcyHGDsi8jXOyQ4bu/p1SGPHWA= Original-Received: by 10.114.94.1 with SMTP id r1mr419306wab.130.1241428051202; Mon, 04 May 2009 02:07:31 -0700 (PDT) Original-Received: from reforged.homenet (c66-235-1-45.sea2.cablespeed.com [66.235.1.45]) by mx.google.com with ESMTPS id l30sm9567063waf.35.2009.05.04.02.07.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 May 2009 02:07:30 -0700 (PDT) Content-Disposition: inline In-Reply-To: <200904280634.n3S6YjgJ009308@zogzog.maillard.mobi> User-Agent: Mutt/1.5.16 (2007-06-09) X-detected-operating-system: by monty-python.gnu.org: GNU/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:64170 Archived-At: --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 28, 2009 at 08:34:46AM +0200, Xavier Maillard wrote: > Hi, >=20 > I was revamping my $TMP directory and found on old archive of > yasnippet.=20 >=20 > 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 ? >=20 > [not a flame, just curious] >=20 > Xavier > --=20 > http://www.gnu.org > http://www.april.org > http://www.lolica.org >=20 >=20 I have overloaded my tab key to be sensitive to the overlays at the point and to try various completion methods. I don't need combos anymore, I simply type tab and it expands symbols, corrects typos with flyspell, expands templates, moves to the next template field, or indents a line according to the mode. Yasnippet is very useful for me. I tried ELSE, but I found the syntax to be difficult. I wrote a tool that translates from XML template definitions to ELSE templates, but in the end I ended up ditching it. I do wish that yasnippet could handle template expansion within template fields which ELSE implemented though. --=20 GnuPG Key: B9012279 is available from HKP server pgp.mit.edu --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkn+sE4ACgkQdfRchrkBInmgWACginMpL6Ci8cCvcwT793yITHcP KLEAoOzcWcS/IWOwrsxq+fx0in9kzpkF =7A/h -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--