Re: [racket-dev] bookmarks in drracket?

2012-02-04 Thread Robby Findler
stch...@ccs.neu.edu wrote: On Sat, Feb 4, 2012 at 5:28 PM, Robby Findler ro...@eecs.northwestern.edu wrote: I think jumping between files is an important usecase. (it isn't much harder than jumping within a file;et me know if you want API guidance). Ok so there should only be one global stack

Re: [racket-dev] bookmarks in drracket?

2012-02-03 Thread Robby Findler
I like the idea. Some comments: - the bookmarks should probably be saved in a text% object, not in a module top-level variable (alternatively, the bookmarks would have to record a frame and an editor, and then jumping to a bookmark might send you to another frame/tab). - it would be good if

Re: [racket-dev] bookmarks in drracket?

2012-02-03 Thread Robby Findler
c-x r space seems to be bookmarky in my emacs (and I'm pretty sure I didn't configure it). Robby On Fri, Feb 3, 2012 at 9:24 AM, Vincent St-Amour stamo...@ccs.neu.edu wrote: At Fri, 3 Feb 2012 02:06:41 -0500, Stephen Chang wrote: To go back to the most recent bookmark, either use the

Re: [racket-dev] bookmarks in drracket?

2012-02-03 Thread Robby Findler
If it an unordered list of lines that were bookmarked, then I'd use highlight-range to turn the background of those lines some color. If it is a stack, that's harder, as you'd want to include some graphical manifestation of the ordering. (But I think the lack of order is better.) On Fri, Feb 3,

Re: [racket-dev] bookmarks in drracket?

2012-02-03 Thread Robby Findler
. I also think that stacks are fine. If working with bookmarks suggest we want something else, we should explore this as a second step. Finally, I would hate to see these things saved in preference files. On Feb 3, 2012, at 1:04 PM, Robby Findler wrote: If it an unordered list of lines

Re: [racket-dev] bookmarks in drracket?

2012-02-03 Thread Robby Findler
That looks cool! And not too hard to do, either. You could even have it hidden until the first breadcrumb is dropped. Robby On Fri, Feb 3, 2012 at 12:55 PM, Asumu Takikawa as...@ccs.neu.edu wrote: On 2012-02-03 12:06:16 -0500, Stephen Chang wrote: Any ideas on what the graphical representation

Re: [racket-dev] Pre-Release Checklist for v5.2.1, second call

2012-02-01 Thread Robby Findler
Hi. Sorry-- we didn't get that in time to make it into the release, but I've just pushed it to master. Thanks for the reminder. Robby On Wed, Feb 1, 2012 at 10:29 AM, Aleksej Saushev a...@inbox.ru wrote:  Hello! Aleksej Saushev a...@inbox.ru writes: I'm testing racket-5.2.0.901 on NetBSD

Re: [racket-dev] Release Announcement for v5.2.1, second draft

2012-01-27 Thread Robby Findler
On Fri, Jan 27, 2012 at 2:44 PM, Ryan Culpepper r...@cs.utah.edu wrote: On 01/24/2012 10:30 PM, Sam Tobin-Hochstadt wrote: On Wed, Jan 25, 2012 at 12:23 AM, Eli Barzilaye...@barzilay.org  wrote: There's no mention of the new icons at all now (not the library). Superficial, but will probably

Re: [racket-dev] Can't get for-label to work in Scribble docs

2012-01-23 Thread Robby Findler
#:use-sources is for the relatively rare case that (in the example below), db and bd/base both export identifiers from some some common, but undocumented place, like db/private/base (just making that up). It is an annotation that tells scribble that even though db does not re-export db/base,

Re: [racket-dev] Release Announcement for v5.2.1

2012-01-23 Thread Robby Findler
On Mon, Jan 23, 2012 at 6:27 PM, Ryan Culpepper r...@cs.utah.edu wrote: - drracket  - No stacktrace for syntax errors in DrRacket  - change current-directory default init value  - render convertibles as png (or changed since?)  - autocompletion tweak  - check syntax UI improvements? -

[racket-dev] git.racket-lang.org down?

2012-01-17 Thread Robby Findler
I'm having trouble connecting to git.racket-lang.org (but my internet connection generally appears to be up). C:\Users\robby\git\pltgit remote update Fetching origin ssh: connect to host git.racket-lang.org port 22: Bad file number fatal: The remote end hung up unexpectedly error: Could not fetch

Re: [racket-dev] Pre-Release Checklist for v5.2.1

2012-01-17 Thread Robby Findler
On Tue, Jan 17, 2012 at 5:44 PM, Ryan Culpepper r...@cs.utah.edu wrote: Checklist items for the v5.2.1 release  (using the v5.2.0.900 release candidate build) * Robby Findler ro...@eecs.northwestern.edu  - DrRacket Tests  - Framework Tests  - Contracts Tests  - Games Tests  - Teachpacks

Re: [racket-dev] git.racket-lang.org down?

2012-01-17 Thread Robby Findler
minutes ago, Robby Findler wrote: I'm having trouble connecting to git.racket-lang.org (but my internet connection generally appears to be up). C:\Users\robby\git\pltgit remote update Fetching origin ssh: connect to host git.racket-lang.org port 22: Bad file number fatal: The remote end hung up

Re: [racket-dev] git.racket-lang.org down?

2012-01-17 Thread Robby Findler
Looks like it was a problem on my end. Windows had downloaded some updates (didn't tell me about it) but rebooting to install them made the problem away. Sorry for the noise. Robby _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Caching rendered icons

2012-01-13 Thread Robby Findler
I don't think we want to actually deploy _that_ DrRacket on a desktop (one where the construction of the rendered images happens during startup). (But I don't see a good solution to this problem.) Robby On Fri, Jan 13, 2012 at 5:01 PM, Eli Barzilay e...@barzilay.org wrote: We don't own some of

Re: [racket-dev] Caching rendered icons

2012-01-13 Thread Robby Findler
On Fri, Jan 13, 2012 at 7:09 PM, Neil Toronto neil.toro...@gmail.com wrote: I agree with everybody, especially Sam. :) We're supposed to have a rich compiler extension API, in which programs evaluated at expansion time are just as capable as runtime programs. Further, building Racket means

Re: [racket-dev] Caching rendered icons

2012-01-12 Thread Robby Findler
I bet you could get close in some crazy combination of perl and C and Makefiles (which one would have to be very generous in calling an 80% solution). Robby On Thu, Jan 12, 2012 at 3:01 PM, Neil Toronto neil.toro...@gmail.com wrote: On 01/12/2012 11:52 AM, Matthew Flatt wrote: At Thu, 12

Re: [racket-dev] Caching rendered icons

2012-01-12 Thread Robby Findler
IMO, I think that it is better to have two names so that people are not confused by the possibly radically different performance characteristics when they do things like introduce a variable or something. Robby On Thu, Jan 12, 2012 at 4:32 PM, Eli Barzilay e...@barzilay.org wrote: 50 minutes

Re: [racket-dev] Caching rendered icons

2012-01-12 Thread Robby Findler
I think this is a great example to base a tutorial example on. Neil: I'd be happy to help with the writeup, if you'd be willing to make a first attempt. Robby On Thu, Jan 12, 2012 at 3:01 PM, Neil Toronto neil.toro...@gmail.com wrote: On 01/12/2012 11:52 AM, Matthew Flatt wrote: At Thu, 12

Re: [racket-dev] [racket-bug] htdp/12424 2htdp/image bitmap doesn't know about linked collections

2012-01-12 Thread Robby Findler
Oh, no. The keyword PR is fine by me. Sorry for forgetting it. Robby On Thu, Jan 12, 2012 at 8:39 PM, Eli Barzilay e...@barzilay.org wrote: A few minutes ago, Sam Tobin-Hochstadt wrote: I think you have to write PR to get that to work. On Thu, Jan 12, 2012 at 8:47 PM, Robby Findler ro

Re: [racket-dev] check-syntax (require plot) hangs drracket

2012-01-11 Thread Robby Findler
Glad to hear it! Thanks for letting me know. Robby On Wed, Jan 11, 2012 at 7:40 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15-12-11 15:29, Robby Findler wrote: Hm. Mysterious. Thanks for trying all this stuff. I'll let you know if I think

[racket-dev] drracket buttons

2012-01-11 Thread Robby Findler
Neil's recent work on the icons makes me think that we should have a more consistent set of names for the buttons. In particular, he's got Check Syntax and the Macro Stepper in blue, and Run and Debug in green to indicate that the first set is more about compile time and the second set is more

Re: [racket-dev] application:current-app-name not appearing in Help menu

2012-01-11 Thread Robby Findler
I think the docs you found were actually the docs for the frame:editor-mixin, not just frame:standard-menus-mixin. So, you want something like this: #lang racket/gui (require framework) (application:current-app-name Land Usage Calculator) (define f% (class (frame:text-mixin

Re: [racket-dev] release branch compile issue

2012-01-10 Thread Robby Findler
Looks like you've somehow got multiple versions. Probably the easiest thing is to delete your build directory and try again. Robby On Tue, Jan 10, 2012 at 10:16 AM, Jordan Schatz jor...@noionlabs.com wrote: When compiling from the release branch make install dies with: racket/racketcgc -u \  

[racket-dev] drracket debugging printf

2012-01-09 Thread Robby Findler
I found this in the shell I used to start DrRacket: ---cut here--- () ---cut here--- Does anyone recognize it as a debugging printf that they may have left in? (Grep suggests that it came from unstable/debug and then grep turns out not to be so useful after that.) Robby

Re: [racket-dev] [scribble] Unicode in exact-chars elements

2012-01-04 Thread Robby Findler
I think you could find out how far away we are from that by using 'scribble --latex' and then running xetex on the output file. You may be lucky and we may be close Robby On Wed, Jan 4, 2012 at 9:31 AM, J. Ian Johnson i...@ccs.neu.edu wrote: I've been writing a paper in scribble, dropping

Re: [racket-dev] PLAI - Manual management of closures

2012-01-04 Thread Robby Findler
I'm glad to see you doing this! FWIW, I would have gone with 1. I would have explained it to the students by saying that an earlier stage of the compiler must do this and now primitives are a different kind of things than other functions. But not really have tried it, I agree 3 is the next best

Re: [racket-dev] frame:editor-mixin not happy with a text%

2011-12-27 Thread Robby Findler
Thanks. I've fixed this in git. Robby On Tue, Dec 27, 2011 at 4:20 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, according to the docs a frame:editor-mixin requires an editor% argument that is an editor%[1], but it really wants its argument to be a

Re: [racket-dev] Racket home page proposal

2011-12-20 Thread Robby Findler
I like the idea, but I think our twitter feed and blog aren't updated enough. Robby On Mon, Dec 19, 2011 at 11:34 PM, Asumu Takikawa as...@ccs.neu.edu wrote: Hi all, Currently, the Racket home page is really nice, but it leaves a significant amount of vertical space unused that could be used

Re: [racket-dev] Why is there no `stream' macro which functions analogously to the `list' macro?

2011-12-08 Thread Robby Findler
On Thu, Dec 8, 2011 at 8:40 AM, Matthew Flatt mfl...@cs.utah.edu wrote: The addition of `stream' makes sense to me. What were the arguments against? I don't know that any were articulated yet, but what would be the difference between 'stream' and 'list'? Robby

Re: [racket-dev] Why is there no `stream' macro which functions analogously to the `list' macro?

2011-12-08 Thread Robby Findler
On Thu, Dec 8, 2011 at 2:42 PM, Matthew Flatt mfl...@cs.utah.edu wrote: At Thu, 8 Dec 2011 11:58:45 -0600, Robby Findler wrote: On Thu, Dec 8, 2011 at 8:40 AM, Matthew Flatt mfl...@cs.utah.edu wrote: The addition of `stream' makes sense to me. What were the arguments against? I don't know

Re: [racket-dev] Icons issues

2011-12-07 Thread Robby Findler
I asked for someone to do something to give us more time two days ago. Robby On Wed, Dec 7, 2011 at 4:36 PM, Ryan Culpepper r...@cs.utah.edu wrote: On 12/05/2011 12:35 PM, Eli Barzilay wrote: The icons collection has some issues that need to be resolved: [...] * It breaks the

Re: [racket-dev] check-syntax (require plot) hangs drracket

2011-12-06 Thread Robby Findler
-11 09:51, Marijn wrote: Hi Robby, On 23-11-11 13:10, Robby Findler wrote: I'm not seeing that under ubuntu 10.04 using the version of Racket from this morning. Is there possibly something else that would need to be done to see the problem? Not that I can think

Re: [racket-dev] check-syntax (require plot) hangs drracket

2011-12-06 Thread Robby Findler
I've pushed a change that I think (hope) fixes this. Robby On Tue, Dec 6, 2011 at 4:02 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24-11-11 09:51, Marijn wrote: Hi Robby, On 23-11-11 13:10, Robby Findler wrote: I'm not seeing that under ubuntu

Re: [racket-dev] Icons issues

2011-12-05 Thread Robby Findler
Matthew, Neil, and I have been talking about how to resolve the dependency problem. I think that the our thinking was that the best plan is to break out a pict library that both slideshow and drracket can safely depend on, and have the icons library depend on that. We didn't consider putting some

Re: [racket-dev] Icons issues

2011-12-05 Thread Robby Findler
On Mon, Dec 5, 2011 at 4:45 PM, Neil Toronto neil.toro...@gmail.com wrote: On 12/05/2011 02:49 PM, Robby Findler wrote: Matthew, Neil, and I have been talking about how to resolve the dependency problem. I think that the our thinking was that the best plan is to break out a pict library

Re: [racket-dev] Icons issues

2011-12-05 Thread Robby Findler
One more issue related to the icons collection. I see this in util.rkt: (define svg-icons-base-path (collection-path icons/private/svg)) which means that the cons won't work when embedded executables (that line'll just fail at runtime). The simple thing to do is to replace that with a use of

Re: [racket-dev] [racket] Disable/Enable Tests

2011-11-29 Thread Robby Findler
don't expect them to use check-expect after semester 1 (or perhaps part of 2). I just don't think that this is a big deal. -- Matthias On Nov 29, 2011, at 9:38 AM, Robby Findler wrote: If I put two -above's in a row does that push past the previous -below?  :) In all seriousness

Re: [racket-dev] [racket] Disable/Enable Tests

2011-11-28 Thread Robby Findler
On Mon, Nov 28, 2011 at 1:30 AM, Michael Sperber sper...@deinprogramm.de wrote: Some tests (especially check-property-based tests) are expensive, and you don't always want to run them - especially with world/universe-based code.  Is there a way to have that option only with the student

Re: [racket-dev] [racket] Disable/Enable Tests

2011-11-28 Thread Robby Findler
Those two seem like they can combine in strange ways. Robby On Mon, Nov 28, 2011 at 9:08 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: I can see adding both disable-tests-above and disable-tests-below. On Nov 28, 2011, at 3:44 PM, Vincent St-Amour wrote: At Mon, 28 Nov 2011 11:54:06

Re: [racket-dev] [racket] Disable/Enable Tests

2011-11-27 Thread Robby Findler
[ moved to dev ] Apparently this broke somewhere in between v5.0 (June 2010) where it works and v5.1 (Feb 2011) where it doesn't. I can't use git bisect to find the precise commit because the earlier version doesn't compile on either my windows or my mac machine (mac is lion and windows uses too

Re: [racket-dev] [racket] Disable/Enable Tests

2011-11-27 Thread Robby Findler
Does anyone know how to grep backwards through the history of a file, using git? Robby _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] [racket] Disable/Enable Tests

2011-11-27 Thread Robby Findler
places via the filesystem, but that's no excuse for me missing this problem. Sigh.) Robby On Sun, Nov 27, 2011 at 10:30 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Sun, Nov 27, 2011 at 11:22 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Does anyone know how to grep backwards

Re: [racket-dev] [racket] Disable/Enable Tests

2011-11-27 Thread Robby Findler
Turns out that this commit was part of the problem. I didn't udpate all of the uses of those preferences properly. Robby On Sun, Nov 27, 2011 at 10:30 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Sun, Nov 27, 2011 at 11:22 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Does

Re: [racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Robby Findler
Yes, I believe that is not possible without creating a new renderer. Robby On Fri, Nov 25, 2011 at 4:49 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: I'd like to create a language in Scribble from writing papers according to the `acmsmall' documentclass.  Unfortunately, the guide for this

Re: [racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Robby Findler
, Nov 25, 2011 at 6:50 PM, Matthew Flatt mfl...@cs.utah.edu wrote: I think you could probably make it work with a replacement prefix.tex, although it won't be easy or pretty. At Fri, 25 Nov 2011 17:43:24 -0600, Robby Findler wrote: Yes, I believe that is not possible without creating a new

Re: [racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Robby Findler
, Robby Findler ro...@eecs.northwestern.edu wrote: I think the most expedient thing is to add an option so that render-one method in latex-render.rkt doesn't include scribble-tex (or includes a replacement that you specify). I don't know what the right general purpose fix would be, but it would

Re: [racket-dev] [plt] Push #23903: master branch updated

2011-11-23 Thread Robby Findler
I don't think we want to change how the current url struct selectors work when applied to url structs. You could probably get away with changing the url struct if you could provide functions that act the way the old selectors used to work -- does that help? Robby On Wed, Nov 23, 2011 at 12:00

Re: [racket-dev] [plt] Push #23903: master branch updated

2011-11-23 Thread Robby Findler
On Wed, Nov 23, 2011 at 12:05 PM, Jay McCarthy j...@racket-lang.org wrote: I thought about that too since there are few instances where people pattern match on the URL struct. What would be a good name for the new field... url-maybe-query? On Wed, Nov 23, 2011 at 11:02 AM, Robby Findler ro

Re: [racket-dev] [plt] Push #23903: master branch updated

2011-11-23 Thread Robby Findler
If the new url stuff were to come out this release, then I wouldn't mind not fixing that one. FWIW. Robby On Wed, Nov 23, 2011 at 12:30 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Wed, Nov 23, 2011 at 1:12 PM, Jay McCarthy j...@racket-lang.org wrote: I'll revert the commit and put a

Re: [racket-dev] literal strings and numbers are now interned

2011-11-22 Thread Robby Findler
Why did the reader make this promise? Robby On Tue, Nov 22, 2011 at 1:50 PM, Matthew Flatt mfl...@cs.utah.edu wrote: At Tue, 22 Nov 2011 09:18:30 -0700, Matthew Flatt wrote: Along the same lines, I think it's unlikely that good programs are affected by the `read' interning change Some

Re: [racket-dev] nan?, infinite? and regular-real? [Was: Latest Plot Package]

2011-11-19 Thread Robby Findler
On Sat, Nov 19, 2011 at 9:54 AM, Doug Williams m.douglas.willi...@gmail.com wrote: I would keep finite? for the semantics associated with the name even if it is just a renaming of rational?. Particularly since you can't just use (not (infinite? x)) when NaNs are a possibility. [I personally

Re: [racket-dev] pconvert and current-build-share-hook?

2011-11-17 Thread Robby Findler
I think you call the first one on the value and the second on each of the components of the value where you want to recur. Robby On Thu, Nov 17, 2011 at 12:30 PM, Danny Yoo d...@cs.wpi.edu wrote: I'm having a little difficulty understanding the documentation of the mzlib/pconvert library

Re: [racket-dev] [racket] match and debug in Advanced Student

2011-11-09 Thread Robby Findler
I believe Matthias is supposed to be the one who holds the keys to the design of the teaching languages (but teachpacks can always be used to add this stuff, if you have the time). On Wed, Nov 9, 2011 at 7:47 AM, Prabhakar Ragde plra...@uwaterloo.ca wrote: On 11/8/11 11:21 PM, Jay McCarthy

Re: [racket-dev] no backtrace for error in macro

2011-11-08 Thread Robby Findler
This is a change I made recently and I put a rationale and explanation in the commit message here: http://git.racket-lang.org/plt/commit/e1ce0a0d1e6120354ace65dc3fda76d0442fb3a1 Robby On Tue, Nov 8, 2011 at 11:30 AM, Jon Rafkind rafk...@cs.utah.edu wrote: When this program is run in DrRacket

Re: [racket-dev] no backtrace for error in macro

2011-11-08 Thread Robby Findler
at 11:46 AM, Jon Rafkind rafk...@cs.utah.edu wrote: Ok. Whats your (the) strategy for debugging these sorts of errors? Yesterday I just stared at the macro debugger output for a while until I saw where an identifier that ultimately raised a syntax error showed up. On 11/08/2011 10:41 AM, Robby

Re: [racket-dev] no backtrace for error in macro

2011-11-08 Thread Robby Findler
in code outside the intended form that would have consumed it so the literal's syntax error was raised. On 11/08/2011 10:51 AM, Robby Findler wrote: It isn't clear to me that the stacktrace is actually containing useful information in such cases. That is, the stack will not tell you which macro

Re: [racket-dev] no backtrace for error in macro

2011-11-08 Thread Robby Findler
On Tue, Nov 8, 2011 at 12:17 PM, Jon Rafkind rafk...@cs.utah.edu wrote: I guess runtime stack traces won't help. It would be nice to see all the locations the syntax went through in its lifetime. Maybe it could be stored as a syntax property? You mean you could, say, click on some

Re: [racket-dev] no backtrace for error in macro

2011-11-08 Thread Robby Findler
That syntax object is passed to raise-syntax-error; is that something that the macro stepper can find? Robby On Tue, Nov 8, 2011 at 12:25 PM, Jon Rafkind rafk...@cs.utah.edu wrote: On 11/08/2011 11:18 AM, Robby Findler wrote: On Tue, Nov 8, 2011 at 12:17 PM, Jon Rafkind rafk...@cs.utah.edu

Re: [racket-dev] REPL broken for #lang racket language?

2011-11-04 Thread Robby Findler
Looks like a bug to me. Robby On Fri, Nov 4, 2011 at 4:25 PM, John Clements cleme...@brinckerhoff.org wrote: It looks to me like my drracket REPL is unusable. To wit: 1) unset PLTCOLLECTS. 2) move ~/Library/Racket 3) move ~/Library/Preferences/*racket* 4) start drracket 5) Choose Use

Re: [racket-dev] Release Announcement for v5.2

2011-11-02 Thread Robby Findler
On Wed, Nov 2, 2011 at 10:50 AM, Eli Barzilay e...@barzilay.org wrote: * DrRacket comes with an experimental, on-line check syntax   function.  By default, it is turned off.  To turn it on, right   click on the red circle in the buttom right corner of the   DrRacket window.  Warning:

Re: [racket-dev] [plt] Push #23788: master branch updated

2011-10-28 Thread Robby Findler
Yep! On Fri, Oct 28, 2011 at 1:41 AM, John Clements cleme...@brinckerhoff.org wrote: On Oct 27, 2011, at 4:51 PM, ro...@racket-lang.org wrote: robby has updated `master' from 91866f58c7 to dc24fbf62d.  http://git.racket-lang.org/plt/91866f58c7..dc24fbf62d Those were open-source? MOST,

[racket-dev] raco setup documentation indexing change?

2011-10-28 Thread Robby Findler
I believe it used to be the case that I could run raco setup and rely on the user-specific search html file being updated to whatever version of the documentation that the 'raco' came from. This does not seem to be the case anymore (I've noticed it for a few days, but I'm not sure when/if this

Re: [racket-dev] raco setup documentation indexing change?

2011-10-28 Thread Robby Findler
cookie to point to a user-specific documentation page, not `raco setup'. At Fri, 28 Oct 2011 14:43:13 -0500, Robby Findler wrote: I believe it used to be the case that I could run raco setup and rely on the user-specific search html file being updated to whatever version of the documentation

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-21 Thread Robby Findler
On Fri, Oct 21, 2011 at 3:55 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/11 20:30, Robby Findler wrote: On Thu, Oct 20, 2011 at 11:34 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robby, On 10/20/11 18:15

Re: [racket-dev] [plt] Push #23774: master branch updated

2011-10-21 Thread Robby Findler
Can I help make a test case for this? Robby On Fri, Oct 21, 2011 at 1:44 PM, sper...@racket-lang.org wrote: sperber has updated `master' from 0d642cf976 to 36d3745d4c.  http://git.racket-lang.org/plt/0d642cf976..36d3745d4c =[ 1 Commits

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 8:16 AM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Oct 20, 2011, at 8:21 AM, Robby Findler wrote: I also believe that we don't support these programs well as it is. I didn't program with closures until I experienced them in Scheme 84 in 1984. Perhaps people

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 8:25 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: I've certainly wanted this in the past.  Ryan came up with some tricks that made it easier, but I think a separate REPL that basically ran (begin-for-syntax (print e)) would be a very nice addition. I'm also with

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Robby Findler
Generally, the menukey-c, menukey-v, keybindings (and friends) come about via the menus, not via a keymap% object. And those menus come in via a frame. I'm not sure how you're using your library, but you might want to consider some of the mixins in the framework whose names start with frame:.

Re: [racket-dev] while resizing drawing into a canvas is off

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 11:34 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robby, On 10/20/11 18:15, Robby Findler wrote: Generally, the menukey-c, menukey-v, keybindings (and friends) come about via the menus, not via a keymap% object. And those

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 10:11 PM, Ryan Culpepper r...@cs.utah.edu wrote: Looks like it works in 5.0.2 (November 2010) but fails in 5.1 (February 2011). You're talking about in the teaching languages, right? In #lang racket, I see the first-produces-error behavior back to 5.0: [robby@penghu]

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 10:27 PM, Ryan Culpepper r...@cs.utah.edu wrote: On 10/20/2011 09:14 PM, Shriram Krishnamurthi wrote: Ryan, I noticed this seems to be a problem in full Racket as well: try #lang racket (define web-colors  (shared ([W (cons white G)]           [G (cons grey W)])  

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 10:29 PM, Matthew Flatt mfl...@cs.utah.edu wrote: Robby privately wrote to say it should be regarded as a bug. That is the correct behavior for `racket': [...] Just in case this was not clear from my other messages, I still consider this a bug (not in #lang racket).

Re: [racket-dev] shared no longer works on cons?!?

2011-10-20 Thread Robby Findler
FWIW, the reason for the change to the teaching languages was so that 'first' doesn't say car in its error message. Robby On Thu, Oct 20, 2011 at 10:46 PM, Shriram Krishnamurthi s...@cs.brown.edu wrote: Thanks for the help with the patch.  But because I'm providing my own language, I think

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Robby Findler
Probably when you were running check syntax? (Or maybe when it was being run for you?) Robby On Wed, Oct 19, 2011 at 4:01 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: I am running the silly program below (no meaning), and on occasion I see the output of the *** line in the console from

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Robby Findler
matth...@ccs.neu.edu wrote: Yeap, I have live CS running all the time. Interesting effect. On Oct 19, 2011, at 5:02 PM, Robby Findler wrote: Probably when you were running check syntax? (Or maybe when it was being run for you?) Robby On Wed, Oct 19, 2011 at 4:01 PM, Matthias Felleisen

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Robby Findler
interaction mode. This would fit right in with Ryan's past work. It would mean compile the Def Window (as in CS) and make for-syntax values available at the repl for experimentation. Then again, I might have had too much coffee :-) On Oct 19, 2011, at 5:13 PM, Robby Findler wrote

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Robby Findler
On Wed, Oct 19, 2011 at 6:56 PM, Eli Barzilay e...@barzilay.org wrote: An hour and a half ago, Robby Findler wrote: On Wed, Oct 19, 2011 at 4:47 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Oct 19, 2011, at 5:30 PM, Robby Findler wrote: I imagine it would work as by having

Re: [racket-dev] wrong line marked as source of error?

2011-10-18 Thread Robby Findler
I think this is probably due to a fairly fundamental problem in the way that Racket builds stacks. The whole process is pretty complex, but at a high-level, there are two ways that stack information is obtained: one way (via the errortrace library) is very accurate when it exists, but it does not

Re: [racket-dev] wrong line marked as source of error?

2011-10-18 Thread Robby Findler
Oh, and one more comment: did you try clicking on the left-hand little red icon? That shows you the part of the stack that is in other files (if there is any to be shown). On Tue, Oct 18, 2011 at 6:36 AM, Marijn hk...@gentoo.org wrote: Hi list, while running some code I'm working on, I

Re: [racket-dev] wrong line marked as source of error?

2011-10-18 Thread Robby Findler
On Tue, Oct 18, 2011 at 8:39 AM, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/18/11 14:09, Robby Findler wrote: Oh, and one more comment: did  you try clicking on the left-hand little red icon? That shows you the part of the stack that is in other files

Re: [racket-dev] Pre-Release Checklist for v5.2

2011-10-17 Thread Robby Findler
On Mon, Oct 17, 2011 at 8:02 PM, Ryan Culpepper r...@cs.utah.edu wrote: * Robby Findler ro...@eecs.northwestern.edu  - DrRacket Tests  - Framework Tests  - Contracts Tests  - Games Tests  - Teachpacks Tests: image tests  - PLaneT Tests Done.  Updates:  - DrRacket Updates: update HISTORY

Re: [racket-dev] racket/match is broken

2011-10-08 Thread Robby Findler
On Sat, Oct 8, 2011 at 11:17 AM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Oct 5, 2011, at 10:48 PM, Jay McCarthy wrote: Okay. I think it is strange, but feel free to do that and revert my change. Apologies for the confusion. I think you shouldn't apologize here. I am unhappy that

Re: [racket-dev] racket/match is broken

2011-10-08 Thread Robby Findler
On Sat, Oct 8, 2011 at 11:34 AM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Oct 8, 2011, at 12:29 PM, Robby Findler wrote: On Sat, Oct 8, 2011 at 11:17 AM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Oct 5, 2011, at 10:48 PM, Jay McCarthy wrote: Okay. I think it is strange

Re: [racket-dev] racket/match is broken

2011-10-08 Thread Robby Findler
On Sat, Oct 8, 2011 at 11:44 AM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Oct 8, 2011, at 12:42 PM, Robby Findler wrote: I doubt that this applies but I am willing to look at counter-examples. One has been discussed in this thread. I think Sam promised to look into seeing how

Re: [racket-dev] racket/match is broken

2011-10-08 Thread Robby Findler
On Sat, Oct 8, 2011 at 12:45 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Oct 8, 2011, at 1:43 PM, Robby Findler wrote: I assume you mean the context (define number?  (let ((old number?))    (lambda (any)      (displayln `(I am testing ,any))      (old any Of course I

Re: [racket-dev] Preserving source location in macro-generating macros, in collects

2011-10-07 Thread Robby Findler
On Fri, Oct 7, 2011 at 10:35 AM, Neil Toronto neil.toro...@gmail.com wrote: Why I care: I wrote a macro that both defines a contracted function and defines a macro that expands to a Scribble 'defproc' with the same contract. With the source locations gone (recursively), Scribble can't format

Re: [racket-dev] open untagged files in blank language level?

2011-10-07 Thread Robby Findler
On Fri, Oct 7, 2011 at 9:06 AM, Eli Barzilay e...@barzilay.org wrote: Three hours ago, Robby Findler wrote: On Thu, Oct 6, 2011 at 10:37 PM, Stephen Bloch bl...@adelphi.edu wrote: How about this: when you open an existing file that has no prologue or #lang, it opens in text mode: the Check

Re: [racket-dev] Preserving source location in macro-generating macros, in collects

2011-10-07 Thread Robby Findler
On Fri, Oct 7, 2011 at 11:15 AM, Neil Toronto neil.toro...@gmail.com wrote: On 10/07/2011 09:56 AM, Robby Findler wrote: On Fri, Oct 7, 2011 at 10:35 AM, Neil Torontoneil.toro...@gmail.com  wrote: Why I care: I wrote a macro that both defines a contracted function and defines a macro

Re: [racket-dev] plea for short planet syntax in student languages?

2011-10-07 Thread Robby Findler
I've just now pushed a change for this. Robby On Wed, Oct 5, 2011 at 11:20 AM, John Clements cleme...@brinckerhoff.org wrote: I'm using the rsound planet package in beginning student languages, and requiring them to type (require (planet main.rkt (clements rsound.plt 2 6))) at the top of

Re: [racket-dev] plea for short planet syntax in student languages?

2011-10-07 Thread Robby Findler
I guess so, since the branch hasn't been created yet (but it is supposed to be created today, if we're on schedule). Robby On Fri, Oct 7, 2011 at 3:04 PM, John Clements cleme...@brinckerhoff.org wrote: On Oct 7, 2011, at 9:50 AM, Robby Findler wrote: I've just now pushed a change

Re: [racket-dev] plea for short planet syntax in student languages?

2011-10-07 Thread Robby Findler
. I plan to create the branch this evening. Ryan On 10/07/2011 02:11 PM, Robby Findler wrote: I guess so, since the branch hasn't been created yet (but it is supposed to be created today, if we're on schedule). Robby On Fri, Oct 7, 2011 at 3:04 PM, John Clementscleme

Re: [racket-dev] Release branch timing (was: plea ...)

2011-10-07 Thread Robby Findler
On Fri, Oct 7, 2011 at 8:21 PM, Eli Barzilay e...@barzilay.org wrote: Two hours ago, Robby Findler wrote: On Friday, October 7, 2011, Eli Barzilay e...@barzilay.org wrote: The whole point of starting the branch early is that it should *not* be a factor in the decision whether something gets

Re: [racket-dev] racket/match is broken

2011-10-06 Thread Robby Findler
On Thu, Oct 6, 2011 at 1:12 PM, Eli Barzilay e...@barzilay.org wrote: A few minutes ago, Prabhakar Ragde wrote: Sam wrote: Unlike, say, `syntax-parse', `match' isn't designed for the use-case of building ASTs while matching. Wait, what? That's exactly what I want to use it for when

Re: [racket-dev] open untagged files in blank language level?

2011-10-06 Thread Robby Findler
Two hours ago, John Clements wrote: Currently, opening a file that doesn't begin with a #lang line results in a window whose language level is inherited from the buffer that was foremost when the open-file was issued (IIUC). No, it defaults to whatever language you last chose in the language

Re: [racket-dev] racket/match is broken

2011-10-06 Thread Robby Findler
Do we have performance measurements that show the importance of such reorderings? Robby On Thursday, October 6, 2011, Neil Toronto neil.toro...@gmail.com wrote: On 10/06/2011 01:20 PM, Eli Barzilay wrote: Just now, Neil Toronto wrote: On 10/06/2011 12:28 PM, Prabhakar Ragde wrote: On

Re: [racket-dev] racket/match is broken

2011-10-06 Thread Robby Findler
(And I feel obliged here to suggest that there should be some way to write test cases for this kind of thing -- ones that are not based on timing things but ones that are based on feeding some expressions into a compiler and making sure they get re-ordered in an expected way.) Robby On Thu, Oct

Re: [racket-dev] racket/match is broken

2011-10-05 Thread Robby Findler
Why wouldn't you write that match like this: (match .. [`(+ ,lhs ,rhs) (make-plus (parse lhs) (parse rhs))] [`(fun (,(? symbol arg) ...) ,body) (make-fun arg (parse body))]) Robby On Wed, Oct 5, 2011 at 9:48 PM, Jay McCarthy jay.mccar...@gmail.com wrote: Okay. I think it is strange, but

Re: [racket-dev] Transparent Structures in XML Library

2011-10-03 Thread Robby Findler
On Mon, Oct 3, 2011 at 5:17 PM, Doug Williams m.douglas.willi...@gmail.com wrote: The main problem I see with transparent structures is that they are also inherently mutable. Some of the operation provided may well make use of that - for example removing whitespace. And, internally, it may be

Re: [racket-dev] Autosave recovery: lovely (though it does lead to an internal error...)

2011-10-02 Thread Robby Findler
The embarrassing thing is that it has been in DrRacket for a very long time but has been broken for nearly as long a time. Thanks to some overzealous error handling, it has been broken ever since paths and strings became separate datatypes. But there's a drdr test in there now that should fail if

<    3   4   5   6   7   8   9   10   11   12   >