[racket-dev] language-specific documentation failed on 5.1.1

From: Guillaume Marceau (gmarceau at gmail.com)
Date: Mon Jul 18 17:50:39 EDT 2011

The temporary file send-url creates contains:

<html><head><meta http-equiv="refresh"
content="0;URL=file:///C:/Documents%20and%20Settings/gmarceau/Application%20Data/Racket/
5.1.2.3/doc/search/search-context.html?q=w&hq=O%3A%7B%20L%3Alang%2Fhtdp-beginner%20T%3Ateachpack%20%7D&label=Beginning%20Student"></head><body>Please
go <a
href="file:///C:/Documents%20and%20Settings/gmarceau/Application%20Data/Racket/
5.1.2.3/doc/search/search-context.html?q=w&hq=O%3A%7B%20L%3Alang%2Fhtdp-beginner%20T%3Ateachpack%20%7D&label=Beginning%20Student
">here</a>.</body></html>


but if I paste that url into my browser, it immediately rewrite itself to:

file:///C:/Documents%20and%20Settings/gmarceau/Application%20Data/Racket/5.1.2.3/doc/search/index.html?q=w


This is on Windows using Chrome, but our student were seeing this same
behavior on Windows using Firefox.


On Mon, Jul 18, 2011 at 3:12 PM, Eli Barzilay <eli at barzilay.org> wrote:

> 50 minutes ago, Guillaume Marceau wrote:
> > On Mon, Jul 18, 2011 at 1:24 PM, Eli Barzilay <eli at barzilay.org> wrote:
> >
> > > Something seems wrong.  Specifically, I'm getting the right
> > > results (two matches from `2htdp/image' and one from
> > > `htdp/image').  What I did was:
> >
> > Where should I look to start debugging this?
>
> There is a drracket capability that controls the context -- it's
> called `drscheme:help-context-term'.  The problem should be somewhere
> around that.  If you grep the `lang' collection for that you'll see
> where it's set -- so it's best to start looking there.  First see that
> it's the right value, you can do that by adding printouts to where
> its value is retrieved (look for it in "dracket/private/rep.rkt" and
> in "dracket/private/unit.rkt").  If it's there, then the problem is in
> the code that starts the browser.  If it isn't, then it's some problem
> in drracket or in the tool or similar places.
>
> --
>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                    http://barzilay.org/                   Maze is Life!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110718/1c5ca22d/attachment.html>

Posted on the dev mailing list.