$NewMessage
✖
$NewMessage
is a global variable that, if set, is applied to the symbol name and tag of messages that are requested but have not yet been defined.
Details

- $NewMessage is applied to the symbol name, tag, and language of a message if an explicit language is specified.
- The Wolfram Language looks for the value of name::tag or name::tag::lang after $NewMessage has been applied.
- You can set up $NewMessage to read the text of messages from files when they are first needed.
- A typical value for $NewMessage might be Function[ToExpression[FindList[files,ToString[MessageName[#1,#2]]]]].
Examples
Basic Examples (1)Summary of the most common use cases
A typical value for $NewMessage is a function that searches for messages in file. Note that this value for $NewMessage will also be applied to internal requests for messages and so may result in additional output:

https://wolfram.com/xid/0h2wac4avm-u2yucr


https://wolfram.com/xid/0h2wac4avm-bwm4yh
If a message has not previously been generated, the value of $NewMessage is applied and evaluated:

https://wolfram.com/xid/0h2wac4avm-ejousi

Restore the default value of $NewMessage:

https://wolfram.com/xid/0h2wac4avm-o8juh9


https://wolfram.com/xid/0h2wac4avm-imhj21

Wolfram Research (1991), $NewMessage, Wolfram Language function, https://reference.wolfram.com/language/ref/$NewMessage.html.
Text
Wolfram Research (1991), $NewMessage, Wolfram Language function, https://reference.wolfram.com/language/ref/$NewMessage.html.
Wolfram Research (1991), $NewMessage, Wolfram Language function, https://reference.wolfram.com/language/ref/$NewMessage.html.
CMS
Wolfram Language. 1991. "$NewMessage." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$NewMessage.html.
Wolfram Language. 1991. "$NewMessage." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$NewMessage.html.
APA
Wolfram Language. (1991). $NewMessage. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$NewMessage.html
Wolfram Language. (1991). $NewMessage. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$NewMessage.html
BibTeX
@misc{reference.wolfram_2025_$newmessage, author="Wolfram Research", title="{$NewMessage}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/$NewMessage.html}", note=[Accessed: 11-July-2025
]}
BibLaTeX
@online{reference.wolfram_2025_$newmessage, organization={Wolfram Research}, title={$NewMessage}, year={1991}, url={https://reference.wolfram.com/language/ref/$NewMessage.html}, note=[Accessed: 11-July-2025
]}