Hi Joe

I’m afraid, as is usual with TiddlyWiki, things are a bit inconsistent for 
historical reasons.

There is explicit error reporting during rendering in a few cases:

* Unknown widget names display the error "Undefined widget ‘widgetttt’
* A recursive transclusion attempt will display the error "Recursive 
transclusion error in transclude widget” (nicely formatted in red)

Most errors beyond that are silent. In retrospect I was far too influenced by 
Markdown back in 2011/12 when TW5 wikitext was first being defined.

> Is this something I can easily fix????

Yes, it’d be quite an easy fix for this specific case of flagging invocations 
of missing macros, with the caveat that we’d need to explore the backwards 
compatibility implications of changing the default behaviour; noisy errors 
might need to opt-in.
> I HATE silent errors in programming languages - all programming and run-time 
> errors should cause a
> 
Yes, I think it was a mistake here.

Best wishes

Jeremy

> huge error message and execution should stop immediately. The error message 
> is so the
> 
> programmer can fix the error. Stopping immediately is to avoid further damage.
> 
> 
> 
> I given talks about the evils of silent errors. NaN 
> <http://127.0.0.1:8080/#NaN> in JS for example is causes errors 
> 
> which are terribly difficult to find.
> 
> 
> 
> I think any error that can be detected should result in a noisy error.
> 
> 
> 
> Cheers
> 
> 
> 
> /Joe
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> <mailto:tiddlywiki+unsubscr...@googlegroups.com>.
> To post to this group, send email to tiddlywiki@googlegroups.com 
> <mailto:tiddlywiki@googlegroups.com>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/6a057045-fedc-44f7-bd12-f3a2d30e46ef%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/6a057045-fedc-44f7-bd12-f3a2d30e46ef%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0463ECAB-794E-4A48-A7BD-9948FF508880%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to