default  Access: edit PLT Bugs
Main PageCreateQuick QueryStandard QueryAdvanced QueryHelp
Edit

View Problem Report: 8703

or send email to interested parties or send email followup to audit-trail
Reporter's email: jos.koot@telefonica.net
Number: 8703
Category: drscheme
Synopsis: running module with redefined #%app
Class: change-request
Responsible: robby
Notify-List:
Severity: non-critical
Priority: medium
State: closed
Confidential: no
Arrival-Date: Sun May 27 06:25:01 -0400 2007
Closed-Date: Mon May 28 14:25:43 -0400 2007
Last-Modified: Mon May 28 14:50:01 -0400 2007
Originator: Jos Koot
Organization: plt
Submitter-Id: unknown
Release: 370.1-svn23may2007
Environment: windows "Windows NT 5.1 (Build 2600) Service Pack 2" (win32\i386\3m) (get-display-depth) = 32
Docs Installed:
(("C:\\Program Files\\PLT-FULL-370.1\\doc" "r5rs" "mzscheme" "mred" "help" "tour" "drscheme" "srfi" "mzlib" "misclib" "mrlib" "framework" "foreign" "mzc" "tools" "insidemz" "web-server" "swindle" "plot" "release-notes" "t-y-scheme" "tex2page" "beginning" "beginning-abbr" "intermediate" "intermediate-lambda" "advanced" "teachpack" "teachpack-htdc" "profj-beginner" "profj-intermediate" "profj-advanced"))
Human Language: english
(current-memory-use) 157414924

Collections:
(("C:\\Documents and Settings\\HP_Eigenaar\\Application Data\\PLT Scheme\\370.1\\collects" non-existent-path) ("C:\\Program Files\\PLT-FULL-370.1\\collects" "afm" "algol60" "browser" "combinator-parser" "compiler" "config" "defaults" "drscheme" "dynext" "embedded-gui" "eopl" "errortrace" "ffi" "framework" "frtime" "games" "graphics" "guibuilder" "handin-client" "handin-server" "help" "hierlist" "honu-module" "htdch" "htdp" "html" "icons" "info-domain" "lang" "launcher" "lazy" "macro-debugger" "make" "mred" "mrflow" "mrlib" "mysterx" "mzcom" "mzlib" "mzscheme" "mztake" "net" "openssl" "parser-tools" "planet" "plot" "preprocessor" "profj" "profjWizard" "r5rs" "r6rs" "readline" "repos-time-stamp" "scribble" "setup" "sgl" "sirmail" "skipper" "slatex" "slideshow" "srfi" "srpersist" "stepper" "string-constants" "swindle" "syntax" "syntax-color" "teachpack" "tests" "tex2page" "texpict" "trace" "version" "waterworld" "web-server" "wxme" "xelda" "xml"))
Computer Language: (("Professional Languages" "PLT" "Textual (MzScheme, includes R5RS)") #6(#f write mixed-fraction-e #f #t debug))
Description: Hi,
See module in "steps to reproduce".
When this module is run (DrScheme's run buton) in language MzScheme, all is well.
When it is run in language module, the following is displayed:

(app current-namespace (module->namespace 'x))

Apparently DrScheme uses the redefined #%app for installing the module environment in the interactions window. Is it possible and desirable to make DrScheme use the original #%app for this purpose? If so, I propose DrScheme to be adapted in this respect.
With kind regards and with admiration for the PLT team,
Jos Koot
File Attachments:
How-To-Repeat: (module x mzscheme
(define-syntax app
  (syntax-rules ()
   ((app . x) '(app . x))))
(provide (rename app #%app)))
Fix:
Release-Note:
Unformatted:

or send email to interested parties or send email followup to audit-trail

Audit Trail:

State changed from "open" to "closed" by robby at Mon, 28 May 2007 14:25:43 -0400
Reason>>> fixed and released to SVN.

Thanks for the PR and the wonderfully short example to
reproduce the problem!

From: "Jos Koot" <jos.koot@telefonica.net>
To: <bugs@plt-scheme.org>, <robby@plt-scheme.org>, <nobody@plt-scheme.org>
Cc: 
Subject: Re: [plt-bug] drscheme/8703 running module  with redefined #%app
Date: Mon, 28 May 2007 20:46:53 +0200

 Thanks to YOU!
 Jos Koot
 ----- Original Message ----- 
 From: <robby@plt-scheme.org>
 To: <robby@plt-scheme.org>; <nobody@plt-scheme.org>; <jos.koot@telefonica.net>
 Sent: Monday, May 28, 2007 8:25 PM
 Subject: Re: [plt-bug] drscheme/8703 running module with redefined #%app
 
 
 > 
 > State changed from "open" to "closed" by robby at Mon, 28 May 2007 14:25:43 -0400
 > Reason>>> fixed and released to SVN.
 > 
 > Thanks for the PR and the wonderfully short example to
 > reproduce the problem!
 > 
 > 
 > View:
 >  http://bugs.plt-scheme.org/query/?cmd=view&pr=8703
 > 
 >