Article View: gnu.emacs.help
Article #188722Re: common lisp abbrevs
From: kpc
Date: Wed, 19 Jun 1991 01:26
Date: Wed, 19 Jun 1991 01:26
49 lines
2949 bytes
2949 bytes
does anybody have abbrev expansions for common lisp?
In article <SK.91Jun16152957@sun4.thp.uni-koeln.de>
sk@thp.uni-koeln.de (Sebastian Kremer) writes:
kpc> chari's suggestion about ilisp is very helpful. my query about
kpc> abbrevs goes slightly further in that it would require a file for
kpc> emacs' abbrev feature to insert function prototypes into a buffer when
kpc> you do an expand-abbrev. does ilisp, or any other package, do this?
I believe template.el by Wayne Mesard <WMesard@Oracle.com> does just this.
It was posted recently (16 Apr 1991) to gnu.emacs.sources.
thanks. this also sounds like a useful package. i must have missed
it.
what i am looking for is really not a package of emacs-lisp functions
and variables but a list of abbreviation name/instance pairs (using
the emacs Abbrev feature, described in the info file and the manual)
to expand common lisp function names to function templates. i suspect
that template.el probably either inserts file templates or has code
for other kinds of templates.
in other words, what i am looking for is a list of expansions for
function named in common lisp. they don't have to be perfect argument
lists; just something that saves typing and gives hints on the
arguments.
does anybody use the abbrev feature of emacs? it is almost starting
to look as if nobody has heard of it! (again, i really appreciate the
suggestions about symbol completion and template insertion. i suspect
that these are different things from what i am looking for.)
here is what is used to define abbrevs:
define-abbrev:
Define an abbrev in TABLE named NAME, to expand to EXPANSION or call HOOK.
NAME and EXPANSION are strings. HOOK is a function or nil.
To undefine an abbrev, define it with EXPANSION = nil
here is an example:
(define-abbrev 'lisp-mode-abbrev-table
"a-function" "(a-function first-arg second-arg)")
is there any chance that anybody has a list like this for common lisp?
--
Tweety is a bird. Socrates is a man. John loves Mary. Mary is tall.
Technical Details
Message-ID:
<KPC.91Jun18182647@shepard.arc.nasa.gov>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stanford.edu!ptolemy-ri!pluto.arc.nasa.gov!kpcReferences:
<KPC.91Jun11234106@shepard.arc.nasa.gov> <CHARI.91Jun13182334@sonia.ma.utexas.edu> <KPC.91Jun15015703@kronos-fi.arc.nasa.gov> <SK.91Jun16152957@sun4.thp.uni-koeln.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,23dc0575beffa176 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-06-19 14:39:13 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!stanford.edu!ptolemy-ri!pluto.arc.nasa.gov!kpc From: kpc@pluto.arc.nasa.gov (kpc) Newsgroups: gnu.emacs.help Subject: Re: common lisp abbrevs Message-ID: <KPC.91Jun18182647@shepard.arc.nasa.gov> Date: 19 Jun 91 01:26:47 GMT References: <KPC.91Jun11234106@shepard.arc.nasa.gov> <CHARI.91Jun13182334@sonia.ma.utexas.edu> <KPC.91Jun15015703@kronos-fi.arc.nasa.gov> <SK.91Jun16152957@sun4.thp.uni-koeln.de> Sender: usenet@ptolemy-ri.arc.nasa.gov Distribution: gnu Organization: Sterling at NASA Ames Research Center Artificial Intelligence applications Lines: 49 In-reply-to: sk@thp.uni-koeln.de's message of 16 Jun 91 15:29:57 GMT