slime-sexp-at-point in slime-repl buffers

Stas Boukarev stassats at gmail.com
Thu May 9 21:06:56 UTC 2013


Marco Baringer <mb at bese.it> writes:

> Calling slime-inspect at a prompt in the slime repl buffer without any
> other input will suggest the prompt itself ("CL-USER>" or whatever) as
> the default value to inspect. I can not think of any case where this
> behaviour would be useful :)
>
> The attached patch advises slime-sexp-at-point, when the slime-repl.el
> contrib is loaded, to ignore the prompt text (if point is in the input
> area, otherwise the normal behaviour of slime-sexp-at-point applies).
>
> Unless anyone objects to the patch (or the implementation) i'll commit
> this later tomorrow.
>
I object to the use of defadvice.

-- 
With best regards, Stas.



More information about the slime-devel mailing list