swank protocol symbol can start with "'"

5 views
Skip to first unread message

richard emberson

unread,
Oct 7, 2012, 5:58:36 PM10/7/12
to ens...@googlegroups.com

I noted on the ensime webpage:
http://aemoncannon.github.com/ensime/index.html
in the area that covers the swank protocol that
it seems that some symbols can start with a "'".

For example. swank:debug-value
The Example call has is:
(:swank-rpc (swank:debug-value (:type 'element :object-id "23" :index
2)) 42)
ant the Example Return is:
(:return (:ok (:val-type 'prim :summary "23" :type-name "Integer")) 42)

So, the call has 'element and the return as 'prim.

I had thought that symbols had a regular expression
[a-zA-Z][a-zA-Z0-9-:]
but should it be
'?[a-zA-Z][a-zA-Z0-9-:]? possibly start with '.

Thanks

Richard

--
Quis custodiet ipsos custodes

Aemon Cannon

unread,
Dec 6, 2012, 12:23:56 AM12/6/12
to ens...@googlegroups.com
Hi richard. Actually this is a mistake. The text of the example was probably taken from a pretty-printer in emacs that included the "'"

Aemon Cannon

unread,
Dec 6, 2012, 12:25:24 AM12/6/12
to ens...@googlegroups.com
Fixing in manual.
Reply all
Reply to author
Forward
0 new messages