unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Mike Mattie <codermattie@gmail.com>
To: Xavier Maillard <xma@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: yasnippet and friends: usefull ?
Date: Mon, 4 May 2009 02:07:27 -0700	[thread overview]
Message-ID: <20090504090727.GA8306@reforged.homenet> (raw)
In-Reply-To: <200904280634.n3S6YjgJ009308@zogzog.maillard.mobi>

[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]

On Tue, Apr 28, 2009 at 08:34:46AM +0200, 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 ?
> 
> [not a flame, just curious]
> 
> 	Xavier
> -- 
> http://www.gnu.org
> http://www.april.org
> http://www.lolica.org
> 
> 

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.


-- 
GnuPG Key: B9012279 is available from HKP server pgp.mit.edu

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2009-05-04  9:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-28  6:34 yasnippet and friends: usefull ? Xavier Maillard
2009-04-28  8:05 ` Leo
2009-04-28 17:37 ` Ian Eure
2009-04-29 18:07   ` Alberto Luaces
2009-04-29 17:33 ` Nikolaj Schumacher
2009-05-04  9:07 ` Mike Mattie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-28 22:25 Xavier Maillard
2009-04-29  0:49 ` Leo
2009-04-29  5:57 ` thierry.volpiatto
     [not found] ` <mailman.6228.1240985098.31690.help-gnu-emacs@gnu.org>
2009-04-29 11:08   ` Richard Riley
2009-04-29 15:00     ` thierry.volpiatto
2009-05-02  6:18       ` thierry.volpiatto
     [not found]     ` <mailman.6255.1241017689.31690.help-gnu-emacs@gnu.org>
2009-04-29 16:23       ` Richard Riley
2009-04-29 22:13 ` Ian Eure
2009-04-29 22:25 Xavier Maillard
2009-04-29 22:25 Xavier Maillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090504090727.GA8306@reforged.homenet \
    --to=codermattie@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=xma@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).