all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danil Orlov <zargener@gmail.com>
To: Stefan <monnier@iro.umontreal.ca>
Cc: "João Távora" <joaotavora@gmail.com>, emacs-devel@gnu.org
Subject: Re: Including Yasnippet to Emacs
Date: Mon, 17 Mar 2014 19:42:44 +0200	[thread overview]
Message-ID: <20140317174244.GA28011@debian> (raw)
In-Reply-To: <jwv4n2w7uwu.fsf-monnier+emacs@gnu.org>

I've checked those ones you noted, even snippet.el . They all are not so powerful and user-friendly as yasnippet. And they are all not manage keybindings. And probably not support expansion depending on context in simple way. And docs are really stingy. And snippet language is not so powerful and readable, as in yasnippet.

But you are right - skeleton is totally enough for most modes.

And about snippet.el. I still think, that Yasnippet is better general solution for snippets for Emacs. It has the biggest user community, and lots of ready snippets on github, which can be installed easily. Yasnippet will be better concurrent for snippet systems in other editors and IDEs.

On Mon, Mar 17, 2014 at 10:45:29AM -0400, Stefan wrote:
> > one - lots of modes creates its own wheel to support snippets.
> 
> > html-mode uses own snippets for tags
> > web-mode uses own snippets "C-c C-s"
> > markdown-mode uses own snippets for headers
> 
> > and that's only modes I use.
> 
> Emacs already has several "snippet" systems builtin:
> tempo.el, skeleton.el, expand.el, and I'm sure I'm forgetting some.
> 
> > What do you think about it?
> 
> João has a snippet.el in the works, which is yet-another of those
> snippet systems, but this one is designed as a "Lispish core, such that
> yasnippet.el can be provided as a layer on top of it.  He's been writing
> it with a fair bit a bitching^H^H^H^H^H^H^Hreview from me, and if all
> goes well it could be included in 24.5.
> 
> 
>         Stefan



  parent reply	other threads:[~2014-03-17 17:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-17  4:10 Including Yasnippet to Emacs Danil Orlov
2014-03-17 14:45 ` Stefan
2014-03-17 14:53   ` joakim
2014-03-17 17:15   ` João Távora
2014-03-17 17:42   ` Danil Orlov [this message]
2014-03-17 19:36     ` Stefan
2014-03-17 20:23       ` João Távora
2014-03-17 21:12         ` Danil Orlov
2014-03-17 21:09       ` Danil Orlov

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

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

  git send-email \
    --in-reply-to=20140317174244.GA28011@debian \
    --to=zargener@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=joaotavora@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.