medley icon indicating copy to clipboard operation
medley copied to clipboard

Add support for LOOP formatting to SEdit

Open pamoroso opened this issue 1 year ago • 1 comments

Medley Common Lisp now supports loop but SEdit is understandably unaware of it, so it's unable to format and indent it properly. I tried making SEdit use the same formatting of IL:FOR for loop with (SEDIT:DEF-LIST-FORMAT CL:LOOP IL:FOR) but it doesn't make much difference.

It would be useful to eventually add to SEdit support for formatting loop.

pamoroso avatar Mar 31 '24 12:03 pamoroso

I think another possibility although more far-reaching would be to not display a package identifier for those symbols that are not in the "right" package but are treated the same (name of command in the EXEC, local lexical variables, as well as CL:LOOP keywords that don't appear outside).

masinter avatar Mar 31 '24 19:03 masinter

The SEdit docs are here: https://github.com/Interlisp/medley/tree/master/docs/internal/sedit

hjellinek avatar Nov 11 '24 19:11 hjellinek