After redefining ~ via \def it remains \protected in an \edef, although \show does not say so
``` \starttext \def~{Z} \show~ \edef\foo{~} \show\foo \stoptext ``` Tested 2025/08/02 with ConTeXt ver: 2025.07.21 11:50 LMTX fmt: 2025.7.31 int: english/english from TeXLive2025. Originally reported at https://tex.stackexchange.com/q/749050/293669 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________