[racket] DrRacket WM_CLASS on X

2011-09-25 Thread Neil Van Dyke
For DrRacket running with the X Window System, would it be possible to set the windows' "WM_CLASS" to "DrRacket"? "xprop" says that there is no "WM_CLASS": [...] WM_CLASS(STRING) = "", "" WM_ICON_NAME(STRING) = "Untitled - DrRacket" [...] WM_NAME(STRING) = "Untitled - DrRacket" [...] Setting "

Re: [racket] Need Help With Keybindings

2011-09-25 Thread David G. Kay
The most important thing I need at this point is a way to bind ^W to something like delete-word-backwards. Most of the other things I really wanted I could do with the 'move' command, but I can't find something like delete- word-backwards at http://docs.racket-lang.org/gui/text_.html I see the

[racket] request for testing .apk file

2011-09-25 Thread Danny Yoo
I'm working on automating the build process for Android phone packages (.apk) for Whalesong. Before I do so, I'd like people who have android phones to try the following: http://hashcollision.org/tmp/WhereAmI-debug.apk This is that geolocation test program from earlier, but as an Android pac

Re: [racket] scribble/text language

2011-09-25 Thread Eli Barzilay
50 minutes ago, Shriram Krishnamurthi wrote: > Does the scribble/text language work in 5.1.3? Here's the first > example in the docs: > > #lang scribble/text > Programming languages should > be designed not by piling > feature on top of feature, but > blah blah blah. > > ventoux ~/Desktop/r/sk/g

[racket] Writing parallel racket benchmarks

2011-09-25 Thread Sam Tobin-Hochstadt
This past week, I wrote some parallel Racket versions of benchmarks for the Computer Language Shootout. It was fun to do, and I wrote a little bit about what I learned: http://scriptstoprograms.wordpress.com/2011/09/25/benchmarketing/ One unfortunate bit -- it's hard to combine the `place' form a

[racket] scribble/text language

2011-09-25 Thread Shriram Krishnamurthi
Does the scribble/text language work in 5.1.3? Here's the first example in the docs: #lang scribble/text Programming languages should be designed not by piling feature on top of feature, but blah blah blah. ventoux ~/Desktop/r/sk/gradelang> scribble try2.scrbl dynamic-require: name is not provid

Re: [racket] GUI Freeze when executing syntax check

2011-09-25 Thread Robby Findler
It is hard to say what is going wrong without some more information. If you start DrRacket from a shell and then click Check Syntax, do you see any output in the shell? When it is frozen is the CPU running? If so, how long did you wait? (5 minutes is way more than it usually needs.) Robby On Su

[racket] GUI Freeze when executing syntax check

2011-09-25 Thread Walter Wilhelm
After compiling and installing version 5.1.3 of DrRacket on a Debian 6.0 (64 bit) box, the GUI freezes after pressing the "Check Syntax" button. Unfortunately, also the binary-version of DrRacket has this problem. What can I do to make syntax check work? Walter ___

Re: [racket] red underline of language name

2011-09-25 Thread Shriram Krishnamurthi
Thanks, though I'm not sure that was my main point. Though I now see that "planet" really is considered a whole language in its own right, so I guess this red underlining is inevitable by the semantics. Incidentally, for those who find this thread later, there's another option you will may useful

Re: [racket] using scribble --pdf on Windows

2011-09-25 Thread Shriram Krishnamurthi
No problem, thanks for trying. For now I anyway intended to publish only HTML output. What I immediately wanted was to periodically test to make sure the eventual PDF will look okay, and the two-step --latex option is good enough for that. If whoever maintains Scribble/Windows would like to work

Re: [racket] using scribble --pdf on Windows

2011-09-25 Thread Robby Findler
Hm. SOrry I don't have any good ideas. You might try to see if there is anything illuminating the stdout of the latex process when scribble runs it (but finding the place it is runnning latex and adjusting the call to make the stdout visible). Otherwise, I guess you have to just run --latex and run

Re: [racket] using scribble --pdf on Windows

2011-09-25 Thread Shriram Krishnamurthi
Yes. That's why I ran scribble --pdf afterwards in that directory (in the hope it'd pick up that log file, but it didn't, ergo my belief it's running somewhere else). On Sun, Sep 25, 2011 at 2:49 PM, Robby Findler wrote: > When you run pdflatex yourself, do you get a .log file? > > Robby > > On

Re: [racket] red underline of language name

2011-09-25 Thread Danny Yoo
> In #lang scribble/manual, if I type > > @codeblock{ > #lang racket > } > > the output (in HTML) has the word "racket" underlined, which seems > fair enough; I see this is the case if I run scribble manually: scribble --html some-file.scrbl However, the red underline shows up, not because it

Re: [racket] using scribble --pdf on Windows

2011-09-25 Thread Robby Findler
When you run pdflatex yourself, do you get a .log file? Robby On Sun, Sep 25, 2011 at 1:46 PM, Shriram Krishnamurthi wrote: > Sorry, should have pointed that out.  No, I don't see a log file. > There are no output files of any sort when scribble is done.  I would > have anyway thought scribble

Re: [racket] using scribble --pdf on Windows

2011-09-25 Thread Shriram Krishnamurthi
Sorry, should have pointed that out. No, I don't see a log file. There are no output files of any sort when scribble is done. I would have anyway thought scribble was doing all this in some tmp directory somewhere else. Aha, I just found out that there's a scribble --latex option. I ran that an

Re: [racket] using scribble --pdf on Windows

2011-09-25 Thread Robby Findler
Well, does running pdflatex generate a log file like the scribble says that it doesn't? Robby On Sun, Sep 25, 2011 at 10:19 AM, Shriram Krishnamurthi wrote: > On Windows 7, I have had no trouble using scribble --html.  For the > first time in 5.1.3 I tried using scribble --pdf, and it does not

[racket] red underline of language name

2011-09-25 Thread Shriram Krishnamurthi
In #lang scribble/manual, if I type @codeblock{ #lang racket } the output (in HTML) has the word "racket" underlined, which seems fair enough; ditto for @codeblock{ #lang typed/racket } But if I type @codeblock{ #lang planet foo/bar } only the word "planet" is underlined, which seems odd ("pl

[racket] using scribble --pdf on Windows

2011-09-25 Thread Shriram Krishnamurthi
On Windows 7, I have had no trouble using scribble --html. For the first time in 5.1.3 I tried using scribble --pdf, and it does not work. Does anyone recognize whether I'm doing something wrong? ventoux ~/Desktop/r/sk/tycs> scribble --pdf doc.scrbl run-pdflatex: did not generate a log file at d

Re: [racket] scribble items

2011-09-25 Thread Eli Barzilay
40 minutes ago, Mark Carter wrote: > #lang scribble/manual > > @itemlist{ @item{Foo} @item{Bar} } > > but it gives me > itemlist: contract violation, expected: item?, given: " " > [...] > > What gives? You're using {}s around the items, which means that the spaces are passed as arguments too, s

[racket] scribble items

2011-09-25 Thread Mark Carter
In scribble, I'm trying to create an unnumbered list like so: * Foo * Bar I do #lang scribble/manual @itemlist{ @item{Foo} @item{Bar} } but it gives me itemlist: contract violation, expected: item?, given: " "   contract from: /scribble/base.rkt, blaming:     C:\Users\mcarter\repos\tacc\carali\