Hi,

why does \usemodule load the requested file with “prtcatcodes” settings
when nearly each module has \unprotect and \protect at the begin and
end of the file?

I ask this because of a recent question [1] on the list where a user
defined shortcuts for math. Maybe a module isn’t the perfect thing
for these things and he can put them in a environment but now comes
the next problem.

When you load a environment in this way:

  \environment myenvironment
  \starttext
  …
  \stoptext

the file is loaded again with prtcatcodes while in the following form

  \startproduct myproduct
  \environment myenvironment
  …
  \stopproduct

the environment is loaded with ctxcatcodes. While prtcatcodes make sense
for a module i can’t understand why they are used for environments.

[1] http://www.ntg.nl/pipermail/ntg-context/2011/055915.html

Wolfgang