[slime-devel] return value of `slime-eval-print-last-expression' vs `slime-eval-last-expression' conflict

MON KEY monkey at sandpframing.com
Fri Mar 4 19:39:17 UTC 2011


On SBCL querying the `CL:TYPE-OF' for `CL:*STANDARD-OUTPUT*' returns with
conflicting values for the Emacs commands `slime-eval-print-last-expression' and
`slime-eval-last-expression'

>From an non-repl slime buffer evaluating the following form:
  (type-of *standard-output*)
with Emacs command `slime-eval-print-last-expression' returns:
  => SB-IMPL::STRING-OUTPUT-STREAM

Whereas, evaluating the same form:
  (type-of *standard-output*)
with Emacs command `slime-eval-last-expression' returns:
 => SWANK-BACKEND::SLIME-OUTPUT-STREAM

Evaluating any of the following from a terminal or Emacs' *inferior-lisp*:

* (type-of *standard-input*)
  => SYNONYM-STREAM

* (type-of *standard-output*)
  => SYNONYM-STREAM

* (synonym-stream-symbol *standard-output*)
  => SB-SYS:*STDOUT*


With the assumption that this is a bug I've reported this to lauchpad
as bug 729286:
:SEE (URL `https://bugs.launchpad.net/slime/+bug/729286')

--
/s_P\




More information about the slime-devel mailing list