Re: Getting the source file pathname

Chaitanya Gupta <[email protected]> Sun, 10 Dec 2017 01:46:49 +0530
Newsgroups gmane.lisp.slime.devel
Message-ID <CANOhSrx09L6ib48i7ngCKev9uvGX4zjiPPHPFeB0TGzFd=4mPw@mail.gmail.com>
On 10 December 2017 at 01:35, Luís Oliveira <[email protected]> wrote:
> Regarding slime-compile-defun, maybe. However, it's not
> straightforward because we call COMPILE-FILE and LOAD and it's those
> two functions take care of binding these special variables.
>
> For the eval functions, maybe not. They're more akin to calling EVAL
> on the expression (or typing it out at the REPL). (Try for instance
> slime-eval-last-expression with this expression: (eval-when
> (:load-toplevel) (print 'hello)).)

Good point. Perhaps we can bind a symbol in the SWANK package instead?

>
> Cheers,
>
> --
> Luís Oliveira
> http://kerno.org/~luis/