[racket-dev] DrRacket PF1 Search Bug?

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Nov 21 14:15:55 EST 2014

On Fri, Nov 21, 2014 at 10:08 AM, Robby Findler
<robby at eecs.northwestern.edu> wrote:
> No that doesn't work. You can see why if you follow the technical
> details in the thread (and get a Mac maybe).

Did you try it?  -- I had read the thread, and I don't see that anyone
did.

In case you haven't, here it is in an single expression form:

  (let ([url "file:///Applications/Racket%20v6.1.1.5/doc/search/index.html?q=xyz"])
    (send-url/contents
     (string-append
      "<html><head><meta http-equiv=\"refresh\" content=\"0;URL="url"\"></head>"
      "<body>Please go <a href=\""url"\">here</a>.</body></html>")
     #:delete-at 15))

(And BTW, when I looked at the generated temporary web page I noticed a
few similar pages that were created by vmware (which I'm using), they
are apparently using the same trick so it might be good to see what they
do on macs.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the dev mailing list.