Hello Lyle,
Thanks for link, I indeed do not know the right term for this.
However, abbrevs (and Hippie Expand) seem less powerful or
practical than http://www.emacswiki.org/SnippetMode or yasnippet,
notably because it seems they can't easily manage cursor position
and "mirrors".
As an example, using the "case" snippets for lists, defined as:
#name : case - case for Lists
# --
case ${1:X}s
of nil then $2
[] $1|$1r then $0
end
Typing case <TAB> Y <TAB> nil <TAB> {F Y} expands to
case Ys
of nil then nil
[] Y|Yr then {F Y}
end
Is this possible with abbrevs? How?
On 8 July 2012 02:14, Lyle Kopnicky <[email protected]> wrote:
> Hi Benoit,
>
> What you call 'snippets' are called 'abbrevs' in emacs.
>
> http://www.gnu.org/software/emacs/manual/html_node/emacs/Abbrevs.html
>
> - Lyle
>
> _________________________________________________________________________________
> mozart-users mailing list
> [email protected]
> http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users