Timeline for ClearAll required twice on a symbol with SyntaxInformation
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 19 at 1:33 | answer | added | Tapiocaweasel | timeline score: 3 | |
Jul 2, 2021 at 11:40 | vote | accept | H.v.M. | ||
Jul 2, 2021 at 0:34 | history | edited | H.v.M. |
edited tags
|
|
Jul 2, 2021 at 0:33 | answer | added | H.v.M. | timeline score: 0 | |
Jul 1, 2021 at 8:00 | comment | added | Lukas Lang |
Something like Quiet[Unset@*SyntaxInformation@*Symbol /@ Names["`*"]] should do the job
|
|
Jul 1, 2021 at 7:58 | comment | added | H.v.M. |
@LukasLang Can I enter something to clear all syntax information I've defined before a ClearAll["`*"] ?
|
|
Jun 30, 2021 at 11:46 | comment | added | Lukas Lang |
Seems like a bug to me. I didn't look into this too much, but it looks like the front-end is informed about the symbol removal before the syntax-information stuff is updated. This probably confuses the front-end abojt the status of the symbol. As a workaround, clearing the syntax-information before clearing the symbol works for me: SyntaxInformation[f]=.; ClearAll[f]
|
|
Jun 30, 2021 at 11:12 | history | asked | H.v.M. | CC BY-SA 4.0 |