~ubuntu-branches/ubuntu/trusty/slime/trusty-proposed

« back to all changes in this revision

Viewing changes to contrib/slime-repl.el

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde, Torsten Landschoff, Peter Van Eynde
  • Date: 2009-06-17 22:38:38 UTC
  • mfrom: (1.5.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090617223838-d46ego7v4diibsj5
Tags: 1:20090616-1
[ Torsten Landschoff ]
* slime.el: Populate slime-lisp-implementations from known common
  lisp implementations on PATH (closes: #491602).

[ Peter Van Eynde ]
* New upstream. Removed xref.lisp (Closes: #527524) 
* fixed building instructions
* New upstream version. 
  Code rewrite that (Closes: #410856)
  Also fixes the swank-in-swank problem (Closes: #457648)
* Removed xref.lisp again and added a test in the makefile for it
  (Closes: #517205)
* Fixed typo in swank-loader.lisp that creates spurious warnings.
  (Closes: #477265)
* add a conflict for emacs21. xemacs. Limiting compatiblity to
  emacs22 will already be a challenge.
  (Closes: #517839, #478355)
* Move to debhelper v7 
* updated standard version without any real changes 
* use dh_prep instead of dh_clean -k
* fix debhelper dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
1312
1312
 
1313
1313
(defslime-repl-shortcut slime-repl-disconnect ("disconnect")
1314
1314
  (:handler 'slime-disconnect)
 
1315
  (:one-liner "Disconnect the current connection."))
 
1316
 
 
1317
(defslime-repl-shortcut slime-repl-disconnect-all ("disconnect-all")
 
1318
  (:handler 'slime-disconnect-all)
1315
1319
  (:one-liner "Disconnect all connections."))
1316
1320
 
1317
1321
(defslime-repl-shortcut slime-repl-sayoonara ("sayoonara")
1573
1577
  "Evaluate BODY within a fresh REPL buffer. The REPL prompt is
1574
1578
canonicalized to \"SWANK\"---we do actually switch to that
1575
1579
package, though."
1576
 
  `(let ((.old-prompt. (slime-lisp-package-prompt-string)))
 
1580
  `(let ((%old-prompt% (slime-lisp-package-prompt-string)))
1577
1581
     (unwind-protect
1578
1582
          (progn (with-current-buffer (slime-output-buffer)
1579
1583
                   (setf (slime-lisp-package-prompt-string) "SWANK"))
1580
1584
                 (kill-buffer (slime-output-buffer))
1581
1585
                 (with-current-buffer (slime-output-buffer)
1582
1586
                   ,@body))
1583
 
       (setf (slime-lisp-package-prompt-string) .old-prompt.))))
 
1587
       (setf (slime-lisp-package-prompt-string) %old-prompt%))))
1584
1588
 
1585
1589
(put 'with-canonicalized-slime-repl-buffer 'lisp-indent-function 0)
1586
1590