From: Christophe Rhodes Date: Tue, 24 Apr 2012 12:39:47 +0000 (+0100) Subject: declare a version in `swank:connection-info` X-Git-Url: http://christophe.rhodes.io/gitweb/?a=commitdiff_plain;h=2b90642449296fbb529321bb67ec50595e004b07;p=swankr.git declare a version in `swank:connection-info` Useful both for me, to track what slime version is most likely to be maximally compatible, and for SLIMV users, which dispatch on the version to know whether the protocol is byte-count-based or character-count-based. --- diff --git a/swank.R b/swank.R index 49f73ff..979bd84 100644 --- a/swank.R +++ b/swank.R @@ -293,6 +293,7 @@ printToString <- function(val) { `swank:connection-info` <- function (slimeConnection, sldbState) { list(quote(`:pid`), Sys.getpid(), quote(`:package`), list(quote(`:name`), "R", quote(`:prompt`), "R> "), + quote(`:version`), "2012-04-23", quote(`:encoding`), list(quote(`:coding-systems`), list("utf-8-unix")), quote(`:lisp-implementation`), list(quote(`:type`), "R", quote(`:name`), "R",