Re: snippet.el -- TextMate-like templates

2007-10-22 Thread Leo
On 2005-06-30 23:45 +0100, Pete Kazmier wrote: > Paul Lennon <[EMAIL PROTECTED]> writes: [...] >> And there's also tempo. Avery good package for template. >> Paul. > > Although both skeleton and tempo are very nice (I prefer tempo), > neither of them address my two concerns with the existing templ

Re: snippet.el -- TextMate-like templates

2005-06-30 Thread Pete Kazmier
Paul Lennon <[EMAIL PROTECTED]> writes: > Ted Zlatanov a écrit : >> On 26 Jun 2005, [EMAIL PROTECTED] wrote: >> >> There's also skeleton.el. It's very simple to set it up. >> Ted > > And there's also tempo. Avery good package for template. > Paul. Although both skeleton and tempo are very nice

Re: snippet.el -- TextMate-like templates

2005-06-28 Thread Kevin Rodgers
Nic Ferrier wrote: > This is not necessary. The more natural elisp would be this: > > (define-abbrev python-mode-abbrev-table > "for" > "" > (let ((fn >(lambda () > (snippet-insert > "for $${element} in $${sequence}:" > (put 'fn 'no-se

Re: snippet.el -- TextMate-like templates

2005-06-28 Thread Paul Lennon
Ted Zlatanov a écrit : On 26 Jun 2005, [EMAIL PROTECTED] wrote: Your package is very intuitive and easy to use... As far as I remember (and as far as I understand) there is something comparable called tempo (tempo.el). But I didn't have a look at it because it seems to be quite complex... T

Re: snippet.el -- TextMate-like templates

2005-06-27 Thread Ted Zlatanov
On 26 Jun 2005, [EMAIL PROTECTED] wrote: > Your package is very intuitive and easy to use... > As far as I remember (and as far as I understand) there is something > comparable called tempo (tempo.el). But I didn't have a look at it > because it seems to be quite complex... There's also skeleton.

Re: snippet.el -- TextMate-like templates

2005-06-26 Thread Nic Ferrier
Pete Kazmier <[EMAIL PROTECTED]> writes: > This is my first piece of elisp so I would appreciate any comments > and/or feedback. Its supposed to provide a very simple and easy to > use template system similar to that of TextMate (an editor for OSX). > It is heavily documented (description, use, a

Re: snippet.el -- TextMate-like templates

2005-06-26 Thread Christian Unger
Great stuff! Here are some suggestions that might be useful: - named fields: consider this java-template: "Iterator $${it} = $${list}.iterator();\nwhile( $${it}.hasNext() ) {\n$${Object} $${obj} = $${it}.next();\n" - indentation (i've seen your commented "indent-region" and commented it out) p

snippet.el -- TextMate-like templates

2005-06-25 Thread Pete Kazmier
This is my first piece of elisp so I would appreciate any comments and/or feedback. Its supposed to provide a very simple and easy to use template system similar to that of TextMate (an editor for OSX). It is heavily documented (description, use, and implementation). ;;; snippet.el -- insert snip