all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* is there summary of template systems for emacs?
@ 2008-12-02  2:53 Xah Lee
  2008-12-02  4:28 ` Xah Lee
  2008-12-03  0:34 ` Drew Adams
  0 siblings, 2 replies; 65+ messages in thread
From: Xah Lee @ 2008-12-02  2:53 UTC (permalink / raw)
  To: help-gnu-emacs

there seems to be a lot elisp packages for defining templates. Has
anyone studied them and can give a comparison? Basically, i just need
a brief explanation of their syntax and feature.

the emacswiki page
http://www.emacswiki.org/emacs/CategoryTemplates
is very helpful in listing them but a clear summary and comparison is
lacking.

here's what i found so far.

• skeleton.el is probably the oldest. It is officially part of gnu
emacs with full info doc. But its info doc is rather verbose and hard
to read.

• tempo.el is also officially part of gnu emacs. But other than being
included, there seems to be no mentioning of it, and lacks any doc
other than the few paragraphs in source code and chaotic info on
emacswiki.

the above's template syntax are lisp code, so it requires lisp
knowledge to use. There are several more elisp syntax templates:
Tempo, tempoSnippets.

consider how the advancement of technology today (looking at other
IDEs, etc), i think template systems based on lisp syntax is rather
obsolete. There are several plain text based template systems, which i
think are more proper today for emacs going forward:

MsfAbbrev, Snippet, TemplatesMode, ElseMode, YaSnippetMode.

I don't yet know their pro and cons... one wonders why there are so
many. I certainly hope emacs would choose ONE to be bundled as THE
template system for emacs.

With some cursory reading (spent like 3 hours now), it seems YaSnippet
is the most modern and feature rich...

it seems that Snippet is written in 2005 spurred by the Mac OS's
TextMate editor. Then, the author of YaSnippet tried to improve on
that and created SmartSnippet, but further improvement results in
YaSnippet. Looking at YaSnippet site, it seems to have extensive
documentation and examples. (a whole website dedicated to it)

e.g.
http://pluskid.lifegoo.com/upload/project/yasnippet/doc/define_snippet.html

though i'm haven't yet found out how other text based template system
compares.

Is there anyone, or authors of one the above, who actually studied the
whole and can give a summary?

Anyone got more info to add?

I'm interested because recently i'm writing a lsl mode. The lang lsl
has over 600 hundreds functions for scripting in the virtual world
environment Second Life  ... Being a game engine scripting lang, it is
unlike typical programing lang. Its hundreds of functions each has
unusual parameters. So a template set for lsl lang would be very
helpful for my mode.

• Linden Scripting Language with Emacs
  http://xahlee.org/sl/ls-emacs.html

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 65+ messages in thread

end of thread, other threads:[~2008-12-19 17:20 UTC | newest]

Thread overview: 65+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-02  2:53 is there summary of template systems for emacs? Xah Lee
2008-12-02  4:28 ` Xah Lee
2008-12-03  0:34 ` Drew Adams
2008-12-07 19:14   ` Peter Milliken
     [not found]   ` <mailman.2168.1228677280.26697.help-gnu-emacs@gnu.org>
2008-12-14 21:37     ` Xah Lee
2008-12-15 18:24       ` Distributed Maintenance for Emacs (was: is there summary of template systems for emacs?) Leo
2008-12-15 18:45         ` Distributed Maintenance for Emacs Paul R
2008-12-15 18:48       ` is there summary of template systems for emacs? Peter Milliken
2008-12-15 20:21         ` Peter Milliken
     [not found]       ` <mailman.2806.1229365513.26697.help-gnu-emacs@gnu.org>
2008-12-15 19:31         ` Emacs's popularity (was: Distributed Maintenance for Emacs) Teemu Likonen
2008-12-15 20:42           ` Peter Milliken
2008-12-15 21:09           ` Jonathan Groll
2008-12-15 21:37             ` Emacs's popularity Teemu Likonen
2008-12-15 21:41               ` Lennart Borgman
     [not found]               ` <mailman.2823.1229377291.26697.help-gnu-emacs@gnu.org>
2008-12-15 22:28                 ` Richard Riley
2008-12-15 22:59                   ` Lennart Borgman
     [not found]                   ` <mailman.2834.1229381955.26697.help-gnu-emacs@gnu.org>
2008-12-15 23:40                     ` Richard Riley
2008-12-16  0:53                       ` Lennart Borgman
     [not found]                       ` <mailman.2836.1229388824.26697.help-gnu-emacs@gnu.org>
2008-12-16  1:01                         ` Richard Riley
2008-12-16  8:37                           ` Lennart Borgman
     [not found]                           ` <mailman.2845.1229416641.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:41                             ` Richard Riley
2008-12-16  2:37                       ` Charles philip Chan
2008-12-16 10:09                       ` Tim X
2008-12-16 11:20                         ` Richard Riley
     [not found]                       ` <mailman.2843.1229395204.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:17                         ` Tim X
2008-12-16 11:34                     ` Phil Carmody
2008-12-16 11:58                       ` Juanma Barranquero
     [not found]                       ` <mailman.2853.1229428708.26697.help-gnu-emacs@gnu.org>
2008-12-16 12:36                         ` Phil Carmody
2008-12-16 12:52                           ` Juanma Barranquero
     [not found]                           ` <mailman.2855.1229431948.26697.help-gnu-emacs@gnu.org>
2008-12-16 13:03                             ` Phil Carmody
2008-12-16 14:07                               ` Juanma Barranquero
     [not found]                               ` <mailman.2858.1229436444.26697.help-gnu-emacs@gnu.org>
2008-12-16 15:09                                 ` Phil Carmody
2008-12-16 15:50                                   ` Richard Riley
2008-12-16 17:43                                     ` Andrea Vettorello
2008-12-16 16:05                                   ` Juanma Barranquero
2008-12-16 16:21                                   ` Paul R
     [not found]                                   ` <mailman.2867.1229443519.26697.help-gnu-emacs@gnu.org>
2008-12-16 17:15                                     ` Richard Riley
2008-12-17  1:35                                     ` Phil Carmody
2008-12-16 16:56                       ` Andreas Politz
2008-12-17  1:34                         ` Phil Carmody
2008-12-17  7:43                       ` Tim X
2008-12-17 14:17                         ` B Smith-Mannschott
2008-12-15 23:55               ` Óscar Fuentes
     [not found]               ` <mailman.2835.1229385349.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:21                 ` Tim X
2008-12-16 12:35               ` William Case
2008-12-15 22:03             ` Emacs's popularity (was: Distributed Maintenance for Emacs) Drew Adams
2008-12-15 22:07               ` Lennart Borgman
2008-12-15 22:19                 ` Drew Adams
2008-12-15 22:22                   ` Lennart Borgman
     [not found]                   ` <mailman.2830.1229379766.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:33                     ` Emacs's popularity Tim X
2008-12-16 13:18                   ` Emacs's popularity (was: Distributed Maintenance for Emacs) Jonathan Groll
2008-12-16 17:46                     ` Drew Adams
2008-12-19  2:10                       ` Sean Sieger
2008-12-18 16:30               ` David L
2008-12-18 17:50                 ` Drew Adams
2008-12-19 16:53                   ` David L
2008-12-19 17:20                     ` Drew Adams
2008-12-19  2:37                 ` Sean Sieger
     [not found]             ` <mailman.2825.1229378627.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:22               ` Tim X
2008-12-16 11:56                 ` Richard Riley
2008-12-16 18:29                   ` Drew Adams
2008-12-15 22:49           ` Emacs's popularity Teemu Likonen
2008-12-16  2:10           ` Giorgos Keramidas
2008-12-15 21:28         ` Distributed Maintenance for Emacs (was: is there summary of template systems for emacs?) Richard Riley
2008-12-15 19:46       ` is there summary of template systems for emacs? Drew Adams

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.