unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: `completion-in-region'
Date: Mon, 12 Apr 2010 16:36:23 +0100	[thread overview]
Message-ID: <xbai1vek1y4o.fsf@cam.ac.uk> (raw)
In-Reply-To: <jwvk4sexbvp.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 11 Apr 2010 11:32:32 -0400")

On 2010-04-11 16:32 +0100, Stefan Monnier wrote:
>> I am re-designing snippet.el
>> (http://www.emacswiki.org/emacs/SnippetMode) to tightly integrate
>> with abbrev. Emacs has abbreviation feature for a very long time but
>> it hasn't advanced much. 'snippet' is a substantial step forward. It
>> was original introduced in textmate and becomes so popular that
>> almost all text editors have it now.
>
> There have been many Emacs packages to do such things. Emacs itself
> comes with skeleton.el, tempo.el, expand.el, and probably some more.
> I'm not really interested in adding yet another such package to Emacs.
> OTOH I'd be interested in consolidating them so as to try and reduce
> the urge of people to reinvent them yet again.

I think you are underestimating the power snippet brings about. It was
probably because it looks so simple that nobody thought worthwhile to
implement it until textmate did.

For example, with snippet one can set up an email blogging tool in under
30 seconds. Can any of the other packages gives user the same
productivity?

----------------

My intention is indeed to consolidate snippet.el and absorb good
features from other packages and textmate. For example I have the
following in the todo:

* Snippet language
  An easy-to-use language (syntax) for creating snippets should be
  constructed by taking into account:
*** study textmate's snippet syntax and features
*** Is there any nice features in yasnippet that worth adopting?
*** study tempo and skeleton
*** peg.el might be useful
    Library that might be useful:
    http://www.emacswiki.org/emacs/peg.el
*** form a usable sub-language for snippet
*** what's the best way to indicate same fields?

Leo




  parent reply	other threads:[~2010-04-12 15:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-06 14:37 `completion-in-region' Leo
2010-04-09  3:05 ` `completion-in-region' Stefan Monnier
2010-04-11 12:56   ` `completion-in-region' Leo
2010-04-11 15:32     ` `completion-in-region' Stefan Monnier
2010-04-11 18:05       ` `completion-in-region' Drew Adams
2010-04-11 19:44         ` `completion-in-region' Stefan Monnier
2010-04-11 19:56           ` `completion-in-region' Drew Adams
2010-04-11 20:49             ` `completion-in-region' Stefan Monnier
2010-04-11 21:13               ` `completion-in-region' Drew Adams
2010-04-11 20:08           ` `completion-in-region' Lennart Borgman
2010-04-11 20:51             ` `completion-in-region' Stefan Monnier
2010-04-11 21:06               ` `completion-in-region' Lennart Borgman
2010-04-12  2:10                 ` `completion-in-region' Stefan Monnier
2010-04-12  9:46                   ` `completion-in-region' Lennart Borgman
2010-04-12 13:10                     ` `completion-in-region' Stefan Monnier
2010-04-12 14:50                     ` `completion-in-region' Davis Herring
2010-04-11 21:12             ` `completion-in-region' Drew Adams
2010-04-12 15:36       ` Leo [this message]
2010-04-12 18:10         ` `completion-in-region' Stefan Monnier
2010-04-12 15:51       ` `completion-in-region' Leo

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=xbai1vek1y4o.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-devel@gnu.org \
    --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 public inbox

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

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).