Re: M-. vs readtable on SBCL

[email protected] (Gábor Melis)
Newsgroups gmane.lisp.slime.devel
Message-ID <[email protected]>
Helmut Eller <[email protected]> writes:

> On Mon, Jan 26 2015, Gábor Melis wrote:
>
>> OK. C is ugly and fragile, B is just fragile, A requires changes in both
>> NAMED-READTABLES and SLIME/SWANK. Perhaps, you have better ideas?
>
> D: don't create reader macros that need A, B, or C.  That's what I do.

That's what I normally do, too.

> E: invent some magic comment or re-use Emacs's syntax for file variables
>    e.g. ;; -*- readtable: ... -*-
>    and recognize it in swank/source-path-parser.lisp.
>    Or search directly for lines matching
>     "^(named-readtables:in-readtable .*)"

Right, this is an implementation of A.

> F: get rid of swank/source-path-parser.lisp entirely and tell the SBCL
>    maintainers that they should represent source locations as a
>    file:line:column triple instead of source paths.

This is what I meant by B. But in some sense it would be a step
backwards, because the location today is not sensitive to editing within
toplevel forms.

_______________________________________________
Slime-devel mailing list
[email protected]
http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/slime-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.