[racket-dev] slash-form + bug in PLaneT keybindings require?

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Jul 11 15:02:41 EDT 2011

I would say to put it in the framework. Probably scheme.rkt.

Thanks!

Robby

On Monday, July 11, 2011, John Clements <clements at brinckerhoff.org> wrote:
>
> On Jul 11, 2011, at 11:32 AM, Robby Findler wrote:
>
>> As to 3), yes.
>
> Where would I put it? It looks like this could be done as a tool, but it seems silly to have a new collection just for this.
>
> John
>
>
>>
>> Robby
>>
>> On Monday, July 11, 2011, John Clements <clements at brinckerhoff.org> wrote:
>>> I tried to make some keybindings available using PLaneT today, and ran into two problems--I suspect that this mechanism is not frequently used.
>>>
>>> 1) I can't use the slash-form in this require. That is, I have to type
>>>
>>> (planet "magic-paren.rkt" ("clements" "magic-paren.plt" 1 0))
>>>
>>> instead of
>>>
>>> (planet clements/magic-paren/magic-paren)
>>>
>>> .
>>>
>>> In fact, I'd be even happier just typing
>>>
>>> clements/magic-paren/magic-paren
>>>
>>>
>>> 2) After typing the above, DrRacket installed the one-file planet package (and GOLLY, it took a while, but that's a different issue), and finally got this error:
>>>
>>> Error when installing the keybindings (planet "magic-paren.rkt" ("clements" "magic-paren.plt" 1 0)):
>>>
>>> symbol->string: expects argument of type <symbol>; given #<resolved-module-path:"/Users/clements/Library/Racket/planet/300/5.1.2.2/cache/clements/magic-paren.plt/1/0/magic-paren.rkt">
>>>
>>>
>>> 3) I suppose I'd be happiest of all  if I could simply have an electric-parenthesis option built in to DrRacket. Does this seem like an appropriate preference entry for the "factory" DrRacket?
>>>
>>> John
>>>
>>>
>>>
>>>
>
>



Posted on the dev mailing list.