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

1 Answer 1

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$
4
  • $\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
    Commented Nov 27, 2017 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
    Commented Nov 27, 2017 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
    Commented Nov 27, 2017 at 8:51
  • $\begingroup$ I have claimed it here $\endgroup$
    – yode
    Commented Nov 27, 2017 at 9:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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