in phrase for the nonce (Middle English for þe naness, c. 1200) "for a special occasion, for a particular purpose," a misdivision (see N for other examples) of for þan anes "for the once," in reference to a particular occasion or purpose, the þan being an altered form of the Middle English dative definite article þam (see the). The phrase was used from early 14c. as an empty filler in metrical composition.
Old English word "speech, talk, utterance, sentence, statement, news, report, word," from Proto-Germanic *wurda- (source also of Old Saxon, Old Frisian word, Dutch woord, Old High German, German wort, Old Norse orð, Gothic waurd), from PIE *were- (3) "speak, say" (see verb).
The meaning "promise" was in Old English, as was the theological sense. In the plural, the meaning "verbal altercation" (as in have words with someone) dates from mid-15c. Word-processor first recorded 1971; word-processing is from 1972; word-wrap is from 1977. A word to the wise is from Latin phrase verbum sapienti satis est "a word to the wise is enough." Word-for-word "in the exact word or terms" is late 14c. Word of mouth "spoken words, oral communication" (as distinguished from written words) is by 1550s.
It is dangerous to leave written that which is badly written. A chance word, upon paper, may destroy the world. Watch carefully and erase, while the power is still yours, I say to myself, for all that is put down, once it escapes, may rot its way into a thousand minds, the corn become a black smut, and all libraries, of necessity, be burned to the ground as a consequence. [William Carlos Williams, "Paterson"]
<a href="https://www.etymonline.com/word/nonce-word">Etymology of nonce-word by etymonline</a>
Harper, D. (n.d.). Etymology of nonce-word. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/nonce-word