Re: syntax highlighted symbol shadowing for Curl
- To: mathgroup at smc.vnet.net
- Subject: [mg114910] Re: syntax highlighted symbol shadowing for Curl
- From: JUN <noeckel at gmail.com>
- Date: Wed, 22 Dec 2010 02:36:48 -0500 (EST)
- References: <iemq6t$m6i$1@smc.vnet.net>
On Dec 19, 9:39 pm, Murray Eisenberg <mur... at math.umass.edu> wrote: > 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. > > Murray > > 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: > >http://forums.wolfram.com/mathgroup/archive/2009/Jan/msg00039.html > > > 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 mur... at math.umas= s.edu > 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 Yes, you're probably right. As usual, I'll look forward to a future release... with a mixture of hope and trepidation. Jens