From bba676d90ca86777b94e9a8264907a22e36bfea3 Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Mon, 17 May 2010 00:19:26 -0400 Subject: [PATCH] Update the text message at the top of WXME files, including the URL. Also, update the message in existing files. Change the instructions to use DrRacket or DrScheme version , and for really old files (pre-v4), just use 4 for the version. Also just drop the second paragraph in these files -- "Most likely, it was created by" is not needed when for these files we know that this is true. --- collects/2htdp/tests/perform-whack.rkt | 11 ++++------- collects/htdp/tests/matrix-client.rkt | 11 ++++------- collects/htdp/tests/matrix-example.rkt | 11 ++++------- collects/mred/private/wxme/stream.rkt | 9 ++++----- collects/plot/demos/demo-1.rkt | 11 ++++------- collects/tests/mred/cache-image8.mre | 11 +++++------ collects/tests/mred/media8.mre | 11 ++++------- collects/tests/mred/prog8.mre | 11 +++++------ collects/tests/mred/testbox8.mre | 11 +++++------ collects/tests/stepper/image-test.rktl | 11 +++++------ collects/tests/stepper/print-convert-test.rktl | 11 +++++------ collects/tests/xml/xml-snip-bug.rkt | 11 ++++------- 12 files changed, 53 insertions(+), 77 deletions(-) diff --git a/collects/2htdp/tests/perform-whack.rkt b/collects/2htdp/tests/perform-whack.rkt index 07cbda281d..258040eb20 100644 --- a/collects/2htdp/tests/perform-whack.rkt +++ b/collects/2htdp/tests/perform-whack.rkt @@ -1,13 +1,10 @@ #reader(lib"read.ss""wxme")WXME0108 ## #| - This file uses the PLT Scheme editor format. - Open this file in DrScheme version 4.2.3.8 or later to read it. + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4.2.3.8 or later + to read it. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements - (such as images or comment boxes). - - http://www.plt-scheme.org + http://racket-lang.org/ |# 44 7 #"wxtext\0" 3 1 6 #"wxtab\0" diff --git a/collects/htdp/tests/matrix-client.rkt b/collects/htdp/tests/matrix-client.rkt index d3584c7b48..82295c7f96 100644 --- a/collects/htdp/tests/matrix-client.rkt +++ b/collects/htdp/tests/matrix-client.rkt @@ -1,13 +1,10 @@ #reader(lib"read.ss""wxme")WXME0108 ## #| - This file uses the PLT Scheme editor format. - Open this file in DrScheme version 4.2.2.1 or later to read it. + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4.2.2.1 or later + to read it. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements - (such as images or comment boxes). - - http://www.plt-scheme.org + http://racket-lang.org/ |# 27 7 #"wxtext\0" 3 1 6 #"wxtab\0" diff --git a/collects/htdp/tests/matrix-example.rkt b/collects/htdp/tests/matrix-example.rkt index 6dcd86a304..4e065ac7b9 100644 --- a/collects/htdp/tests/matrix-example.rkt +++ b/collects/htdp/tests/matrix-example.rkt @@ -1,13 +1,10 @@ #reader(lib"read.ss""wxme")WXME0108 ## #| - This file uses the PLT Scheme editor format. - Open this file in DrScheme version 4.2.2.6 or later to read it. + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4.2.2.6 or later + to read it. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements - (such as images or comment boxes). - - http://www.plt-scheme.org + http://racket-lang.org/ |# 44 7 #"wxtext\0" 3 1 6 #"wxtab\0" diff --git a/collects/mred/private/wxme/stream.rkt b/collects/mred/private/wxme/stream.rkt index 53db0f8aa2..429fb9f53f 100644 --- a/collects/mred/private/wxme/stream.rkt +++ b/collects/mred/private/wxme/stream.rkt @@ -772,15 +772,14 @@ (send f write-bytes (if (string? s) (string->bytes/latin-1 s) s))) (when (positive? col) (show #"\n")) - (show #"#|\n This file uses the PLT Scheme editor format.\n") - (show (format " Open this file in DrScheme version ~a or later to read it.\n" (version))) + (show #"#|\n This file uses the GRacket editor format.\n") + (show (format " Open this file in DrRacket version ~a or later to read it.\n" (version))) (show #"\n") - (show #" Most likely, it was created by saving a program in DrScheme,\n") + (show #" Most likely, it was created by saving a program in DrRacket,\n") (show #" and it probably contains a program with non-text elements\n") (show #" (such as images or comment boxes).\n") (show #"\n") - (show #" http://www.plt-scheme.org\n|#\n") + (show #" http://racket-lang.org/\n|#\n") (set! col 0))) (set-editor-stream-out%! editor-stream-out%) - diff --git a/collects/plot/demos/demo-1.rkt b/collects/plot/demos/demo-1.rkt index 438a284577..0319f552af 100644 --- a/collects/plot/demos/demo-1.rkt +++ b/collects/plot/demos/demo-1.rkt @@ -1,13 +1,10 @@ #reader(lib"read.ss""wxme")WXME0108 ## #| - This file is in PLT Scheme editor format. - Open this file in DrScheme version 370 or later to read it. + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4 or later + to read it. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements - (such as images or comment boxes). - - http://www.plt-scheme.org + http://racket-lang.org/ |# 45 7 #"wxtext\0" 3 1 6 #"wxtab\0" diff --git a/collects/tests/mred/cache-image8.mre b/collects/tests/mred/cache-image8.mre index 799c894bf6..2aac0bd226 100644 --- a/collects/tests/mred/cache-image8.mre +++ b/collects/tests/mred/cache-image8.mre @@ -1,11 +1,10 @@ WXME0108 ## #| - This file is in PLT Scheme editor format. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements (such - as pictures, comment boxes, or test-cases boxes). - Open this file in DrScheme to read its content. - www.plt-scheme.org + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4 or later + to read it. + + http://racket-lang.org/ |# 44 7 #"wxtext\0" 3 1 6 #"wxtab\0" diff --git a/collects/tests/mred/media8.mre b/collects/tests/mred/media8.mre index 3f19360e0e..76fe9f4075 100644 --- a/collects/tests/mred/media8.mre +++ b/collects/tests/mred/media8.mre @@ -1,13 +1,10 @@ #reader(lib"read.ss""wxme")WXME0108 ## #| - This file is in PLT Scheme editor format. - Open this file in DrScheme version 370 or later to read it. + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4 or later + to read it. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements - (such as images or comment boxes). - - http://www.plt-scheme.org + http://racket-lang.org/ |# 4 7 #"wxtext\0" 3 1 6 #"wxtab\0" diff --git a/collects/tests/mred/prog8.mre b/collects/tests/mred/prog8.mre index 6768cc1b8f..011446809a 100644 --- a/collects/tests/mred/prog8.mre +++ b/collects/tests/mred/prog8.mre @@ -1,11 +1,10 @@ WXME0108 ## #| - This file is in PLT Scheme editor format. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements (such - as pictures, comment boxes, or test-cases boxes). - Open this file in DrScheme to read its content. - www.plt-scheme.org + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4 or later + to read it. + + http://racket-lang.org/ |# 44 7 #"wxtext\0" 3 1 6 #"wxtab\0" diff --git a/collects/tests/mred/testbox8.mre b/collects/tests/mred/testbox8.mre index 4d6dfe5081..2d04e55d06 100644 --- a/collects/tests/mred/testbox8.mre +++ b/collects/tests/mred/testbox8.mre @@ -1,11 +1,10 @@ WXME0108 ## #| - This file is in PLT Scheme editor format. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements (such - as pictures, comment boxes, or test-cases boxes). - Open this file in DrScheme to read its content. - www.plt-scheme.org + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4 or later + to read it. + + http://racket-lang.org/ |# 31 7 #"wxtext\0" 3 1 6 #"wxtab\0" diff --git a/collects/tests/stepper/image-test.rktl b/collects/tests/stepper/image-test.rktl index 6a9101ea64..a460006417 100644 --- a/collects/tests/stepper/image-test.rktl +++ b/collects/tests/stepper/image-test.rktl @@ -1,11 +1,10 @@ WXME0108 ## #| - This file is in PLT Scheme editor format. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements (such - as pictures, comment boxes, or test-cases boxes). - Open this file in DrScheme to read its content. - www.plt-scheme.org + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4 or later + to read it. + + http://racket-lang.org/ |# 46 7 #"wxtext\0" 3 1 6 #"wxtab\0" diff --git a/collects/tests/stepper/print-convert-test.rktl b/collects/tests/stepper/print-convert-test.rktl index bc94ecba93..e746029460 100644 --- a/collects/tests/stepper/print-convert-test.rktl +++ b/collects/tests/stepper/print-convert-test.rktl @@ -1,11 +1,10 @@ WXME0108 ## #| - This file is in PLT Scheme editor format. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements (such - as pictures, comment boxes, or test-cases boxes). - Open this file in DrScheme to read its content. - www.plt-scheme.org + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4 or later + to read it. + + http://racket-lang.org/ |# 46 7 #"wxtext\0" 3 1 6 #"wxtab\0" diff --git a/collects/tests/xml/xml-snip-bug.rkt b/collects/tests/xml/xml-snip-bug.rkt index bdcb9f9470..751dfda608 100644 --- a/collects/tests/xml/xml-snip-bug.rkt +++ b/collects/tests/xml/xml-snip-bug.rkt @@ -1,13 +1,10 @@ #reader(lib"read.ss""wxme")WXME0108 ## #| - This file uses the PLT Scheme editor format. - Open this file in DrScheme version 4.2.5.12 or later to read it. + This file uses the GRacket editor format. + Open this file in DrRacket, or DrScheme version 4.2.5.12 or later + to read it. - Most likely, it was created by saving a program in DrScheme, - and it probably contains a program with non-text elements - (such as images or comment boxes). - - http://www.plt-scheme.org + http://racket-lang.org/ |# 44 7 #"wxtext\0" 3 1 6 #"wxtab\0"