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