[Slime-devel] SLY, a fork of SLY
Helmut Eller
eller.helmut at gmail.com
Sun Sep 7 06:42:52 UTC 2014
On Sun, Sep 07 2014, João Távora wrote:
[..,]
> My reticence to this particular renaming stems from the fact that the
> RPC protocol between Emacs and the Lisp process is itself based on the
> identifier "swank" *and* on its package-designating quality. This is an
> example of what goes on the > wire
>
> (:emacs-rex (swank:connection-info) nil t 1)
>
> If I blindly rename "swank-">"slynk" in all symbols, packages and parts
> of symbols, as is being requested, SLY will be immediately locked out of
> the existing communication protocol.
In swank-rpc.lisp is a function SIMPLE-READ that can be used to parse
the string that comes from the wire. You could replace the call to
INTERN there with something that splits the string at the #\: and then
map "SWANK" or other package qualifiers to your own packages. Doesn't
sound so hard and it would not need any conflicting package nicknames.
Helmut
More information about the slime-devel
mailing list