Re: [tw5] Plugin tiddlers non-functional until opened and saved

2019-03-12 Thread admls
Brilliant. The filters would never have occurred to me. I'll give that a look 
in a bit and see if that solves it. 

Cheers!

-- 
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/e1d6eadc-082c-4661-930a-01e0bcf6dc13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Plugin tiddlers non-functional until opened and saved

2019-03-12 Thread Jeremy Ruston
Hi admls

> My plugins have some tiddlers of type text/vnd.tiddlywiki and some of type 
> application/javascript. I don't really understand what rawmarkup is. Could 
> you explain a bit more?

The rawmarkup mechanism is a means for plugins to insert snippets of code in 
the main TW HTML file. It is used by some plugins to include external scripts 
and setup configuration etc.

If you’re not using rawmarkup tiddlers it’s not so obvious what might be going 
wrong.

When you say “open them and save them again” are you referring to the tiddlers 
within your plugins? If so, it sounds like some of your filter expressions are 
only picking up “real” tiddlers, and not shadow tiddlers.

If you want to get all tiddlers tagged “foo” including shadow tiddlers you need 
a filter like this:

[all[shadows+tiddlers]tag[foo]]

Best wishes

Jeremy

> 
> Best wishes,
> Admls
> 
> -- 
> 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/4bbbfc2c-4e5c-498f-ac04-a7a32bac6478%40googlegroups.com.
> For more options, visit 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/5A4E2972-9BEC-4D08-B6E4-BBE7EDB6EFBA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Plugin tiddlers non-functional until opened and saved

2019-03-12 Thread admls
Hi Jeremy,
My plugins have some tiddlers of type text/vnd.tiddlywiki and some of type 
application/javascript. I don't really understand what rawmarkup is. Could you 
explain a bit more?

Best wishes,
Admls

-- 
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/4bbbfc2c-4e5c-498f-ac04-a7a32bac6478%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Plugin tiddlers non-functional until opened and saved

2019-03-12 Thread Jeremy Ruston
Hi admls

Plugins that include rawmarkup tiddlers do indeed require saving and reloading 
twice before they work properly. The first save/reload loads the plugin, and 
the second gives the plugin a chance to write the necessary rawmarkup tiddlers.

Best wishes

Jeremy.



--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 12 Mar 2019, at 01:40, admls  wrote:
> 
> Hi Folks,
> 
> I came across a really weird problem. I've been developing some plugins on 
> node, and they work fine there. But when I build the release, a few of the 
> tiddlers in the plugin simply don't work until I open them and save them 
> again. I don't make any changes, just open, close. And then they function.
> 
> Has anyone seen anything like this before? I'm out of my depth here.
> 
> Best wishes,
> 
> admls
> -- 
> 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/f6a10006-cd60-4eb1-8527-7983dc87b401%40googlegroups.com.
> For more options, visit 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/7D91C1A3-11B6-40DF-B7D7-637865A01ED1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Plugin tiddlers non-functional until opened and saved

2019-03-11 Thread admls
Hi Folks,

I came across a really weird problem. I've been developing some plugins on 
node, and they work fine there. But when I build the release, a few of the 
tiddlers in the plugin simply don't work until I open them and save them 
again. I don't make any changes, just open, close. And then they function.

Has anyone seen anything like this before? I'm out of my depth here.

Best wishes,

admls

-- 
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/f6a10006-cd60-4eb1-8527-7983dc87b401%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.