Helmut Eller heller@common-lisp.net writes:
Can't you do that with Emacs' file local variables? E.g.
not exactly. here I'm mostly concerned with _other_ files that use the macro (indeed, at least in my code, such macros tend to _never_ be used in the file they are defined in). so to have this scheme be useful, it'd be required either to replicate the local-eval form in every file that uses the macro (or in some "<foo>-tweaks.el" file on the side, I guess), or to have the macro-defining file be open in Emacs.
This way we wouldn't need to put anything into *features*.
this was a minor point, of course.
and the file could also be edited without connected Lisp.
the present &BODY-based macro indentation logic also requires connected Lisp, so no change there.
just to be clear: the patch (if the puny little thing can even be called that) is there mostly to illustrate an idea. it's small enough for me to maintain it quite painlessly in my local checkout of Slime for the foreseeable future, so I'd hate for anyone to feel under any kind of pressure to react to this as something to be either included in Slime or not. I think it would be cool if someone came up with a better idea, really.
thanks, --m