MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: syntax highlighted symbol shadowing for Curl

  • To: mathgroup at
  • Subject: [mg114847] Re: syntax highlighted symbol shadowing for Curl
  • From: Murray Eisenberg <murray at>
  • Date: Mon, 20 Dec 2010 00:39:34 -0500 (EST)

VectorAnalysis`Curl is only one such instance of this phenomenon. 
Another, of which you may be aware, is Combinatorica`Star.

My guess is that the effort here is being devoted to just moving the 
functionality of such packages into the kernel, although in some cases 
with a whole different design (e.g., with the new kernel function Graph, 
etc.) rather than trying to patch up messages, etc.


On 12/14/2010 6:55 AM, JUN wrote:
> Hi,
> there is a new shadowing conflict in version 8 that affects the Curl
> operator from the VectorAnalysis package (heavily used in my
> electrodynamics lecture): because of an existing System`Curl, the
> former Curl is now highlighted as a shadowing conflict (although it
> still works, fortunately).
> I didn't find any replies to an earlier post where this issue was
> raised:
> So right now I am resorting to this preamble to avoid the annoying and
> confusing red highlighting of this ubiquitous operator:
> SetOptions[$FrontEnd,
>   First[Options[$FrontEnd,
>      "AutoStyleOptions"]] /. ("HighlightSymbolShadowing" ->  _) ->  \
> ("HighlightSymbolShadowing" ->  False)]
> I wish there were a more specific way to make Curl appear normal
> again, and if anyone has a better solution that would be great.
> In the same VectorAnalysis package, I also see a strange behavior when
> typing
> ?CrossProduct
> The Times symbol doesn't show up correctly. I reported this as a bug.
> Jens

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

  • Prev by Date: Re: Entering full names (without replacement) in the front end
  • Next by Date: Mathematica daily WTF
  • Previous by thread: syntax highlighted symbol shadowing for Curl
  • Next by thread: Re: syntax highlighted symbol shadowing for Curl