indent based on subsequence of symbol

Luís Oliveira luismbo at gmail.com
Tue Oct 15 22:20:27 UTC 2013


On Tue, Oct 15, 2013 at 5:42 AM, Lucien Pullen <drurowin at gmail.com> wrote:
> It seems that *application-hints-table* is only used once, so subsequent
> symbols indent like functions [and not macros].  Getting indentation for
> the first symbol somehow tells slime to not call
> swank::symbol-indentation again.

That information comes from the elisp function
`slime-update-system-indentation', which is only invoked by
`slime-handle-indentation-update' which in turn gets triggered when
SLIME gets an :INDENTATION-UPDATE message from SWANK. There seems to
be some caching going on there. Can you figure out how it works?

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



More information about the slime-devel mailing list