4

Mathematica 11.2 features a new built-in symbol in the Global` context:

Global`$UseTextSearchQ

What does it do, and how do I use it?

I tried setting Global`$UseTextSearchQ to different values, but I didn't understand how it works.

It apparently has some underlying code according to PrintDefinitions:

<< GeneralUtilities`
PrintDefinitions[Global`$UseTextSearchQ]
Global`$UseTextSearchQ[___][___] := <<kernel function>>;
m_goldberg
  • 107,779
  • 16
  • 103
  • 257
QuantumDot
  • 19,601
  • 7
  • 45
  • 121

1 Answers1

4

It's a bug. There should be no symbols in Global` at startup.

PrintDefinitions saying that it has a definition is also a bug. In this version it claims that every single symbol has a builtin subvalue.

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263
  • Yeah, but every release seems to come with some symbols defined in the Global context at start-up. Different ones in each new release. Perhaps WRI pre-release testing should add a test for this. – m_goldberg Nov 27 '17 at 00:27
  • 1
    @m_goldberg I've reported bugs like this multiple times ... it's strange they haven't added an automated test for it yet. – Szabolcs Nov 27 '17 at 08:35
  • V11.1.1 starts up with a clean Global context -- kind of makes it stand out among recent releases. – m_goldberg Nov 27 '17 at 08:51
  • I have claimed it here – yode Nov 27 '17 at 09:11