Re: Prevent synchronizing a certain symbol between main and parallel

*To*: mathgroup at smc.vnet.net*Subject*: [mg124089] Re: Prevent synchronizing a certain symbol between main and parallel*From*: "Oleksandr Rasputinov" <oleksandr_rasputinov at hmamail.com>*Date*: Sun, 8 Jan 2012 04:27:38 -0500 (EST)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com*References*: <je96n4$j6k$1@smc.vnet.net> <op.v7qicskrqcgwdu@core2.lan>

On Sat, 07 Jan 2012 22:06:18 -0000, Oleksandr Rasputinov <oleksandr_rasputinov at hmamail.com> wrote: > This behaviour is new in 8 and controlled using the DistributedContexts > option (which has default value of $DefaultContexts). Sorry, this should (obviously?) be $DistributedContexts, not $DefaultContexts. If you're looking for a context whose symbols can never be distributed regardless of the value of $DistributedContexts or the DistributedContexts option, I would suggest Private`. (Actually, a full list of such contexts is given in the Options for the undocumented new-in-8 function Language`ExtendedFullDefinition, but all of the other possibilities are system contexts. If anyone is curious, Language`ExtendedDefinition and Language`ExtendedFullDefinition are analogous to Definition and FullDefinition but capture the definition of a symbol in such a way as it can be reproduced in another kernel. For example, defs = Language`ExtendedFullDefinition[sym] returns a Language`DefinitionList object. The syntax used to restore the definition is highly irregular: Language`ExtendedFullDefinition[] = defs, where defs is a Language`DefinitionList. Note that Language`ExtendedFullDefinition takes the ExcludedContexts option whereas Language`ExtendedDefinition does not.)