> On Aug 25, 2016, at 6:17 PM, Dupéron Georges <jahvascriptman...@gmail.com> 
> wrote:
> 
> Le vendredi 26 août 2016 00:02:13 UTC+2, Matthias Felleisen a écrit :
>> The specification has to come with feature and/or the language, not the 
>> tool. How would Emacs know about it? Or Notepad? Every editor — and every 
>> tool in the tool chain — must know what indentation means if it may touch 
>> it. 
> 
> I agree, it is unfortunate that for a language's get-info to respond to the 
> `'drracket:indentation` it has to manipulate racket:text<%> among other 
> things.
> 
> This could however be achieved ...

That wouldn't be enough, because even DrRacket's indentation working properly 
with a `racket:text<%>` and a language's get-info function isn't enough. 

One thing we would still need would be a general way for libraries to specify 
indentation for functions and macros, so that when this library is required, 
any language and editor can look at the library's specification, even if 
neither the language nor the editor have any rules about this library.

How would a library express indentation rules? Would indentation rules meant 
for s-expression languages be useful in at-exp or sweet-exp notations?


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to