Re: [twdev] Re: Bug? each[] and each[title] only work for existing tiddlers

2018-02-15 Thread Stephan Hradek
Am Donnerstag, 15. Februar 2018 15:12:47 UTC+1 schrieb PMario: > > On Thursday, February 15, 2018 at 2:45:31 PM UTC+1, Jeremy Ruston wrote: >> >> Perhaps here we could say that the existing behaviour is equivalent to >> "each:tiddler", and the new behaviour is "each:value" >> > > I would be OK

Re: [twdev] Re: Bug? each[] and each[title] only work for existing tiddlers

2018-02-15 Thread PMario
On Thursday, February 15, 2018 at 3:12:47 PM UTC+1, PMario wrote: > > On Thursday, February 15, 2018 at 2:45:31 PM UTC+1, Jeremy Ruston wrote: >> >> Perhaps here we could say that the existing behaviour is equivalent to >> "each:tiddler", and the new behaviour is "each:value" >> > > I would be OK

Re: [twdev] Re: Bug? each[] and each[title] only work for existing tiddlers

2018-02-15 Thread PMario
On Thursday, February 15, 2018 at 2:45:31 PM UTC+1, Jeremy Ruston wrote: > > Perhaps here we could say that the existing behaviour is equivalent to > "each:tiddler", and the new behaviour is "each:value" > I would be OK with this suggestion. -m -- You received this message because you are

Re: [twdev] Re: Bug? each[] and each[title] only work for existing tiddlers

2018-02-15 Thread Stephan Hradek
Am Donnerstag, 15. Februar 2018 11:54:12 UTC+1 schrieb PMario: > > I'm not really happy with that name: uniq. IMO uniq has a completely > different meaning > . > > It removes

Re: [twdev] Re: Bug? each[] and each[title] only work for existing tiddlers

2018-02-15 Thread PMario
On Thursday, February 15, 2018 at 10:32:23 AM UTC+1, Stephan Hradek wrote: > > > ... But I'm wondering if anyone is really relying on the fact that "each" > filters out nonexisting tiddlers. > :) As a developer I can tell you, that you can't rely on assumptions. Users will prove you always

Re: [twdev] Re: Bug? each[] and each[title] only work for existing tiddlers

2018-02-15 Thread PMario
On Thursday, February 15, 2018 at 10:32:23 AM UTC+1, Stephan Hradek wrote: > > Anyhow: To resolve this I propose: > a) Amend the documentation for each (and maybe others) so that people know > that non-existing tiddlers will be dropped > IMO you could create a PR for this one! > b) Create a

Re: [twdev] Re: Bug? each[] and each[title] only work for existing tiddlers

2018-02-15 Thread Stephan Hradek
Am Donnerstag, 15. Februar 2018 09:03:39 UTC+1 schrieb Jeremy Ruston: > > Hi Stephan > > I'll respond to the GitHub PRs, but wanted to give a bit of context here. > > The trouble we have now is, as ever, backwards compatibility. We've got > nearly a decade of wikis in the wild that depend on

Re: [twdev] Re: Bug? each[] and each[title] only work for existing tiddlers

2018-02-15 Thread Jeremy Ruston
Hi Stephan I'll respond to the GitHub PRs, but wanted to give a bit of context here. The first thing is that when I started TW5 it wasn't at all clear to me that I would be able to achieve my primary objective of creating an algebra of tiddlers that was rich enough to support constructing

[twdev] Re: Bug? each[] and each[title] only work for existing tiddlers

2018-02-14 Thread Stephan Hradek
Please check #3117 / PR #3122 as I do not think this proposal is matching how other operators work. Discussion in this thread should stop (or better: not start) but go to https://groups.google.com/forum/#!topic/tiddlywikidev/-GYFcugEoHQ -- You received this message because you are subscribed

[twdev] Re: Bug? each[] and each[title] only work for existing tiddlers

2018-02-14 Thread Stephan Hradek
I just created a pull request (#3116) which will fix the issue. Please use at your own discretion… with my example above the output will be: test New Tiddler -- test