Bug#588575: SLIME and Swank have version mismatch

2010-07-18 Thread Milan Zamazal
The problem seems to be here:

  (defvar slime-protocol-version nil)
  (setq slime-protocol-version
(eval-when-compile (slime-changelog-date)))

When new slime version gets installed before cl-swank, it stores the old
cl-swank version into slime-protocol-version.  I don't know why
eval-when-compile is used there, I should probably ask upstream.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#588575: SLIME and Swank have version mismatch

2010-07-09 Thread Pierre THIERRY
Package: slime
Version: 1:20100605-1
Severity: minor

When both slime and cl-swank packages are installed with version
1:20100605-1, upon starting they claim there is the following version
mismatch:

  Versions differ: 2010-06-04 (slime) vs. 2010-02-20 (swank).

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable'), (600, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages slime depends on:
ii  dpkg  1.15.7.2   Debian package management system
ii  emacsen-common1.4.19 Common facilities for all emacsen
ii  install-info  4.13a.dfsg.1-5 Manage installed documentation in 

Versions of packages slime recommends:
pn  cl-swank   (no description available)
ii  emacs22 [info-browser]22.3+1-1.2 The GNU Emacs editor
ii  emacs23 [info-browser]23.1+1-5   The GNU Emacs editor (with GTK+ us
ii  info [info-browser]   4.13a.dfsg.1-5 Standalone GNU Info documentation 
ii  konqueror [info-browser]  4:4.4.4-1  KDE 4's advanced file manager, web

slime suggests no packages.

-- Configuration Files:
/etc/emacs/site-start.d/50slime.el changed:
;; -*-emacs-lisp-*-
;;
;; Emacs startup file for the Debian slime package
;;
;; Originally contributed by Nils Naumann 
;; Modified by Dirk Eddelbuettel 
;; Adapted for dh-make by Jim Van Zandt 
;; The slime package follows the Debian/GNU Linux 'emacsen' policy and
;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
;; xemacs19, emacs20, xemacs20...).  The compiled code is then
;; installed in a subdirectory of the respective site-lisp directory.
;; We have to add this to the load-path:
(let ((package-dir (concat "/usr/share/"
   (if (boundp 'flavor) (symbol-name flavor)
 "emacs")
   "/site-lisp/slime")))
  (when (file-directory-p package-dir)
(setq load-path (cons package-dir 
  (cons (concat package-dir "/contrib")
load-path)
(setq slime-backend
  "/usr/share/common-lisp/source/slime/swank-loader.lisp")
(let ((slime-autoloads (concat "/usr/share/"
   (if (boundp 'flavor) (symbol-name flavor)
 "emacs")
   "/site-lisp/slime/slime-autoloads.elc")))
  (if (file-exists-p slime-autoloads)
  (load slime-autoloads)
(load "/usr/share/emacs/site-lisp/slime/slime-autoloads.el")))
(eval-after-load "slime"
  '(progn
(slime-setup '(slime-fancy slime-asdf slime-banner))
(setq slime-complete-symbol*-fancy t)
(setq slime-complete-symbol-function 'slime-fuzzy-complete-symbol)))


-- no debconf information





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org