[racket-users] Writing text to a file with correct newlines

2015-10-04 Thread Josh English
I am trying to learn Racket by creating a Todo manager based on the Todo.txt format by Gina Trapani (http://todotxt.com/) I also have an Android tablet that uses a todo.txt application. This application uses "\n\r" at the end of each line. I'm on Windows 7, so I need this newline to work as wel

[racket-users] Looking for an in-memory databases library to explore data

2015-10-04 Thread LeAnthony
I have some related data in multiple tables. I do like the way Peter Seibel utilized simple database code in PCL. Looking to do something like that in Racket. Create an in-memory databases and run some database functions on it to explore the data. Something like LambdaLite or cl-store in Comm

Re: [racket-users] DrRacket plugins: getting language of current editor

2015-10-04 Thread Robby Findler
Yes that is how you get it. But I think that maybe instead you should use the save-port method of the editor. That's how you get what drr puts into the files it saves. You should get the metadata and the "only wxme format when there are images" behavior. Robby On Sunday, October 4, 2015, Paolo G

[racket-users] DrRacket plugins: getting language of current editor

2015-10-04 Thread Paolo Giarrusso
Hi all! I'm trying to figure out how to get the language-settings for the current DrRacket editor, for use in an existing plugin. My first attempt seemed to work for some time, but I've finally tracked down a bug with it; my new attempt seems to fix the bug, but I thought I'd try harder to get

[racket-users] 'clear' equivalent in DrRacket

2015-10-04 Thread Aman
Hi all, I am new to DrRacket. I am using swindle language and want to know a way so that I can clear my evaluation window(interaction window) after I do some direct runs there. For example if i run following > (define a 3) > (define b 2) Now i want something like > clear which could clear the

Re: [racket-users] syntax write using @-syntax

2015-10-04 Thread Neil Van Dyke
Eli Barzilay wrote on 10/04/2015 03:06 AM: The *reader* ignores uniform indentation, so when you write something like: That's what I was remembering. Thanks. Right -- that was the reason for my comment: maybe there's some way to keep the source code where it is, and refer to it from the file

Re: [racket-users] syntax write using @-syntax

2015-10-04 Thread Eli Barzilay
On Sun, Oct 4, 2015 at 2:53 AM, Neil Van Dyke wrote: > Thanks, Eli. That's one of the things I was afraid of. > > The other thing is: does a Scribble formatter ever look at the > line/column position information in the syntax objects? (I thought I > recalled it seeming to do this years ago, mayb