[slim-vim] the slime- prefix
Brad Beveridge
brad.beveridge at gmail.com
Tue Jul 25 10:48:10 CDT 2006
On 25/07/06, Larry Clapp <larry at theclapp.org> wrote:
> A note on the "slime-" prefix naming convention (slime-connect,
> slime-disconnect, slime-this, slime-that): slime.el uses that naming
> convention because Elisp doesn't have packages. Since we do, I would
> rather just use the package name: slime:this and slime:that. It bugs
> me to have to say slime:slime-this and slime:slime-that, you know?
>
> It *has* occurred to me that keeping the exact same function names
> *may* make it easier to keep in sync with slime.el, so I acknowledge
> that reasonable people might disagree and that making such a change
> involves trade-offs.
>
> What does the group think?
I could probably be convinced either way. Initially I wanted to mimic
slime.el where possible, but I think that packaging is the way to go.
However, even within the package I think I would like to use fully
qualified names.
eg
(defpackage #:slime
(:export #:connect))
(in-package #:slime)
(defun slime:connect () ....)
That way you can grep slime.el and slime.lisp for functions with the
regular expression
slime.foo, and match both. Or am I trying too hard to match slime.el here?
Brad
More information about the slim-vim
mailing list