Update:
By request, I've added functionality for custom buffer modes to the expander. Code is attached.
Vladimir
On 5/20/07, Vladimir Sedach vsedach@gmail.com wrote:
Hello,
As a result of many long hours spent hacking ParenScript code, the idea for something like "C-c ret but with js:js instead of macroexpand-1" came up. Since ParenScript itself has nothing to do with Slime, and this feature is probably useful for many similar systems, I thought I might as well make this a general facility where you can just add the "expanders" you need in your .emacs. Code is attached (no diffs since I didn't have to change anything).
Vladimir