Re: [racket] auto-spacer

2012-04-18 Thread Laurent
With the new Script Plugin on PLaneT, it has been quite easy to do something along these lines: http://planet.plt-scheme.org/package-source/orseau/script-plugin.plt/2/0/examples/indent-let.rkt I use a double-space instead of a tab separator (mostly by laziness to look for how to make the tab key a

Re: [racket] auto-spacer

2010-08-02 Thread Robby Findler
I think that could work well in drracket. It is careful never to insert tab characters into your program when it indents (for the problems listed in the beginning of that essay) so there is relatively little existing use of tabs. And drracket's editor class is now implemented in racket, so anyone

Re: [racket] auto-spacer

2010-08-02 Thread Greg Hendershott
Nice! add1 On Mon, Aug 2, 2010 at 11:35 AM, Dave Gurnell wrote: > I saw this on the Internets a while ago: > http://nickgravgaard.com/elastictabstops/ > I thought it was pretty clever... it could be relevant here. There's a demo > about half way down the page. > -- Dave > On 2 Aug 2010, at 16:26

Re: [racket] auto-spacer

2010-08-02 Thread Laurent
On Mon, Aug 2, 2010 at 17:35, Dave Gurnell wrote: > I saw this on the Internets a while ago: > > http://nickgravgaard.com/elastictabstops/ > > I thought it was pretty clever... it could be relevant here. There's a > demo about half way down the page. > Nice ! Now can I have that in DrRacket? :)

Re: [racket] auto-spacer

2010-08-02 Thread Shriram Krishnamurthi
Cute! - Of course, this is just recreating TeX's \halign. Since the modern TeX is Scribble, as soon as Racket adopts Scribble as its layout language in the editor, this should be trivial to do. (-: - Last summer my student Brendan Hickey worked with me to prototype a Scheme editor in

Re: [racket] auto-spacer

2010-08-02 Thread Dave Gurnell
I saw this on the Internets a while ago: http://nickgravgaard.com/elastictabstops/ I thought it was pretty clever... it could be relevant here. There's a demo about half way down the page. -- Dave On 2 Aug 2010, at 16:26, Jos Koot wrote: > +1, I do this often in my code (in which case

Re: [racket] auto-spacer

2010-08-02 Thread Jos Koot
+1, I do this often in my code (in which case I don't touch auto-redent-all) Jos _ From: users-boun...@racket-lang.org [mailto:users-boun...@racket-lang.org] On Behalf Of Laurent Sent: 02 August 2010 17:19 To: PLT-Scheme Mailing List Subject: [racket] auto-spacer Speaking of DrRacket U