4
$\begingroup$

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>>;
$\endgroup$
  • $\begingroup$ As Szabolcs says in his answer, it's a bug, and I have tagged it as such. $\endgroup$ – m_goldberg Nov 27 '17 at 8:41
  • $\begingroup$ I have claimed it here $\endgroup$ – yode Nov 27 '17 at 9:12
4
$\begingroup$

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.

$\endgroup$
  • $\begingroup$ 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. $\endgroup$ – m_goldberg Nov 27 '17 at 0:27
  • 1
    $\begingroup$ @m_goldberg I've reported bugs like this multiple times ... it's strange they haven't added an automated test for it yet. $\endgroup$ – Szabolcs Nov 27 '17 at 8:35
  • $\begingroup$ V11.1.1 starts up with a clean Global context -- kind of makes it stand out among recent releases. $\endgroup$ – m_goldberg Nov 27 '17 at 8:51
  • $\begingroup$ I have claimed it here $\endgroup$ – yode Nov 27 '17 at 9:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.