Re: [racket-users] indentation under for for/list for/vector for/hash ...

2017-10-12 Thread Geoffrey Knauth
Thanks! In my case that turned out to be: > (find-system-path 'pref-file) #https://groups.google.com/d/optout.

Re: [racket-users] indentation under for for/list for/vector for/hash ...

2017-10-12 Thread Robby Findler
It is in the file that this expression evaluates to: (find-system-path 'pref-file) Look in there for a sequence whose first position is plt:framework-pref:framework:tabify and then delete that entire sequence (close DrRacket before you edit the file so DrRacket doesn't write to it while you're

Re: [racket-users] indentation under for for/list for/vector for/hash ...

2017-10-12 Thread Geoffrey Knauth
Where is that possibly old preferences file? I looked under ${HOME} (on a MBP) and didn't see anything obvious. Otherwise I'm running a very recent nightly build. Thanks, Geoff -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe

Re: [racket-users] indentation under for for/list for/vector for/hash ...

2017-10-12 Thread Robby Findler
I guess that you probably have (had?) a default version of the preferences that has an old, less helpful regexp in it. You might not see any changes now, but you could also delete that line from the preferences file (and closing drr) and then open it again to get a good setting. Sorry we changed t

Re: [racket-users] indentation under for for/list for/vector for/hash ...

2017-10-12 Thread Geoffrey Knauth
Philip, thanks, that did it! I'll make a note of this in my hints file, in case I have to do this again. Geoff -- 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

Re: [racket-users] indentation under for for/list for/vector for/hash ...

2017-10-12 Thread Philip McGrath
In the DrRacket Preferences window, under the Editing > Indenting tab, you want these forms to be recognized as "Lambda-like Keywords", either by explicitly including them on the list or by having them match the "Extra regexp". I believe the default settings recognize the Racket-provided `for`-like

[racket-users] indentation under for for/list for/vector for/hash ...

2017-10-12 Thread Geoffrey Knauth
When I use for, for/list, for/vector or for/hash, I get this indentation: (for ([(i j) #hash(("a" . 1) ("b" . 20))]) (display (list i j))) instead of this: (for ([(i j) #hash(("a" . 1) ("b" . 20))]) (display (list i j))) If I want the latter, is there a setting I can use to get the two-s