[tw] Re: Lists, Filters and Orphans - thoughts

2015-01-21 Thread Tobias Beer


 @Tobias - for your page, a quick note on what *is* happening will 
 probably be good. 

Maybe Here is the string {{HelloThere}} split up to make five parameter 
 values or some such.


Done. 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Lists, Filters and Orphans - thoughts

2015-01-21 Thread Matthew Petty
I do like to keep the orphans list and the missing list as short as 
possible. They are very useful as they stand. When writing notes in a 
meeting, I will create a link to a tiddler, and then go back and create it 
later. Similarly, I may create tiddlers on their own and then link them up 
to somewhere relevant later. I definitely want to keep things interlinked.

I like the idea that tiddlers can be either hard linked (manually 
referred to) or soft linked (included in a list). I don't know how it 
could be dealt with. The regular orphan list is still useful, but maybe 
there is room for a new list.

On Tuesday, January 20, 2015 at 7:27:56 PM UTC+4, Tobias Beer wrote:

 Does anyone have any thoughts or suggestions about this?


 It seems like you're not so much concerened about interconnecting your 
 tidbits.
 So, here's a question: Why bother?

 However, if you don't like the orphans list as it is, you can experiment 
 changing the *filter* field in...

 $:/core/Filters/Orphans 
 http://tiddlywiki.com/#%24%3A%2Fcore%2FFilters%2FOrphans

 There might possibly be components not yet making use of configurable 
 filters like that.
 Probably, macros and plugins should consider this approach to make 
 defaults configurable.

 Never new that these things work...

 \define ref(foo:{{$:/core/Filters/Orphans!!filter}})
 $foo$
 \end

 \define var(foo:currentTiddler)
 $foo$
 \end

 \define data(foo:{{$:/palettes/Vanilla##background}})
 $foo$
 \end

 * ref
 * var
 * data

 Added here...

 Variable Parameter Defaults @tb5 
 http://tb5.tiddlyspot.com/#Variable%20Parameter%20Defaults

 Best wishes, Tobias. 


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Lists, Filters and Orphans - thoughts

2015-01-21 Thread Astrid Elocson
Hi Mat,

 If it hadn't been for the space between } } which I initially assumed was 
a typo, I wouldn't have figured out what is happening.

Yes, it's cryptic stuff. I agree that any documentation that uses this 
example should explain it a bit more.

– æ

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Lists, Filters and Orphans - thoughts

2015-01-20 Thread Tobias Beer


 Does anyone have any thoughts or suggestions about this?


It seems like you're not so much concerened about interconnecting your 
tidbits.
So, here's a question: Why bother?

However, if you don't like the orphans list as it is, you can experiment 
changing the *filter* field in...

$:/core/Filters/Orphans 
http://tiddlywiki.com/#%24%3A%2Fcore%2FFilters%2FOrphans

There might possibly be components not yet making use of configurable 
filters like that.
Probably, macros and plugins should consider this approach to make defaults 
configurable.

Never new that these things work...

\define ref(foo:{{$:/core/Filters/Orphans!!filter}})
$foo$
\end

\define var(foo:currentTiddler)
$foo$
\end

\define data(foo:{{$:/palettes/Vanilla##background}})
$foo$
\end

* ref
* var
* data

Added here...

Variable Parameter Defaults @tb5 
http://tb5.tiddlyspot.com/#Variable%20Parameter%20Defaults

Best wishes, Tobias. 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Lists, Filters and Orphans - thoughts

2015-01-20 Thread Tobias Beer





 *\define concat(1 2 3 4 5) $1$$2$$3$$4$$5$concat {{ Hello There } }*


Interesting. I have added it to the above as
an example for the substitution and evaluation process.

Variable Parameter Defaults @tb5 
http://www.google.com/url?q=http%3A%2F%2Ftb5.tiddlyspot.com%2F%23Variable%2520Parameter%2520Defaultssa=Dsntz=1usg=AFQjCNFBCFXY-PnxZEMCynbMeyDFyM9niw

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Lists, Filters and Orphans - thoughts

2015-01-20 Thread Tobias Beer


 In order to make the documentation clear and accurate, I've actually given 
 this phenomenon a name: not all links are observable.

 
Yes, there can be links to what is listed as an orphan.
The criterion is that an orphan is one that does not have any hard-wired 
link-references.

Perhaps orphans are a bit of an outdated concept with all the listing 
capabilities of these days
which wikis of some distant past might not have had.

Although, just being listed somewhere does not (necessarily) make for
well integrated content... tied-in with all the other knowledge bits.

Perhaps, rather than orphans,
what would really be interesting is a tab that showed the number of 
backlinks for all tiddlers.
Then you could see which tiddlers are heavily referenced and not only those 
that are not referenced at all.
So, on that backlinks list, orphans would be but one type of entry.
Likewise, an equivalent references tab might be interesting.

Perhaps it's time to say good bye to a dedicated orphans tab
which at best yields confusion or users never bothering to take a look.

Anyhow, how to sort tiddlers by number of references, backlinks, tags?!?
We may want a suffix to the sort filter, e.g

[sort:count[tags]]
[sort:count[tagging]]
[sort:count[references]]
[sort:count[backlinks]]

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Lists, Filters and Orphans - thoughts

2015-01-20 Thread Mat
Astrid Elocson wrote:




 *\define concat(1 2 3 4 5) $1$$2$$3$$4$$5$concat {{ Hello There } }*


That's funny. If it hadn't been for the space between } } which I initially 
assumed was a typo, I wouldn't have figured out what is happening. 

@Tobias - for your page, a quick note on what *is* happening will probably 
be good. Maybe Here is the string {{HelloThere}} split up to make five 
parameter values or some such.

:-)

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Lists, Filters and Orphans - thoughts

2015-01-20 Thread Astrid Elocson
An even better example would be something like:

*\define concat(1 2 3 4 5) $1$$2$$3$$4$$5$*

*concat abc{{ Getting Started } }def*

making it clearer that there's nothing special about *{{* and *}}* being 
first and last in the macro's result string.

A counterexample would also be good:

*\define itself(x) $x$*

*itself {{GettingStarted}}*

That one *doesn't* transclude anything, because the return value of the 
macro call is parsed in isolation, so it can't see the closing *}}* and so 
doesn't match the syntax for a transclusion.

Pushing the edge cases still further:

*{{itself GettingStarted}}*

results in nothing at all. The macro call returns the string 
*GettingStarted*, which the parser then recognises as a link – and this 
link then makes no sense within the transclusion brackets.

– æ

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Lists, Filters and Orphans - thoughts

2015-01-20 Thread Astrid Elocson
Hi Matthew,

 The problem (if you can call it that) is that if the only time a tiddler 
is referenced is as part of a filtered list, then it shows up as an orphan.

Coincidentally, I'm currently revising the documentation of all the filter 
operators, and I've noticed a very similar problem. The system for 
detecting links (and hence also backlinks, orphans and missing tiddlers) 
doesn't detect links that are:

* contained in text trancluded from elsewhere
* supplied via a macro or variable
* generated by a link widget whose *to* attribute is a transclusion, macro 
or variable

In order to make the documentation clear and accurate, I've actually given 
this phenomenon a name: not all links are observable.

However, in your case, the only link is in fact a mention in a filter, 
which I wouldn't expect to count as a link by any definition.

A simple solution for you might be to ignore the standard Orphans tab, and 
instead create your own list with a more specialised filter, e.g.

*[all[orphans]!tag[Journal]]*

– æ

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Lists, Filters and Orphans - thoughts

2015-01-20 Thread Astrid Elocson
 $:/core/Filters/Orphans 
http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.com%2F%23%2524%253A%252Fcore%252FFilters%252FOrphanssa=Dsntz=1usg=AFQjCNGUYLEDQgIE5-fIbWEROK-8Q5M98A

That tiddler is only used for populating the dropdown list on the Filter 
tab of Advanced Search.

 Variable Parameter Defaults @tb5 
http://www.google.com/url?q=http%3A%2F%2Ftb5.tiddlyspot.com%2F%23Variable%2520Parameter%2520Defaultssa=Dsntz=1usg=AFQjCNFBCFXY-PnxZEMCynbMeyDFyM9niw

Those work because macro parameters are dumb. They're just simple strings 
of characters, and not parsed at all. This is true both of the default 
values specified on the *\define* line, and of the values passed when a 
macro is called.

A macro call returns a string that is the value/definition of the 
underlying variable/macro, with any *$parameter$* placeholders filled in 
via trivial textual replacement. Only once the string has been returned 
does it finally get parsed.

For the same reason, the following weirdness also works:




*\define concat(1 2 3 4 5) $1$$2$$3$$4$$5$concat {{ Hello There } }*
– æ

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.