Re: [tw5] Re: Filter to show Tiddlers who just have the tag notes (and no other one).

2019-07-07 Thread TonyM
I just wanted to drop the idea that to meet the original request of tagged by 
only one tag, you can compare the result of the filter operators with the 
content of {{!!tags}}. In this case if tagged more but -[{!!tags}] 

I will share the code version later.

Tony

-- 
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/f2b03960-f4e6-4e56-b6e0-9aed60acc93a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Filter to show Tiddlers who just have the tag notes (and no other one).

2019-07-07 Thread bimlas
Jan,

While regex is a powerful tool, you shouldn't depend on it in TiddlyWiki. Learn 
filters, macros, etc. It was an edge case, where regex had advanteges, but most 
of the time you don't need to use on fields. Use it for text search or special 
cases where it would be too complex to use other filters (like this), but 
firstly you should use "dedicated" filters and macros.

-- 
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/59225143-10a0-4a42-b002-ffbaac940f00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Filter to show Tiddlers who just have the tag notes (and no other one).

2019-07-07 Thread Jan

Hello Mark, hello Lazlo.
Thanks a lot! It is great to wake up and find a solution for your 
Problem in the Mailbox.
I chose Lazlo's solution becaus it is so short and elegant. I guess I 
will have to learn regex!


Best wishes Jan



Am 07.07.2019 um 00:30 schrieb bimlas:

Jan,

This lists all tiddlers with only one tag:

|
<$list filter="[has[tags]]">
  <$set name="currentTags" filter="[all[current]tags[]]">
<$reveal type="match" default="1" text={{{ 
[enlistcount[]] }}}>



  <$link to=<>><$view field="title"/>: 
<$list filter="[enlist]"><>




  

|

If you are looking for tiddlers having only a particular tag:

|
<$list filter="[regexp:tags[^notes$]]">


|

--
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/20c0ec6d-e94e-47bd-8563-755edaf84bb8%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/5D21B868.3070905%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filter to show Tiddlers who just have the tag notes (and no other one).

2019-07-06 Thread bimlas
Jan,

This lists all tiddlers with only one tag:

<$list filter="[has[tags]]">
  <$set name="currentTags" filter="[all[current]tags[]]">
<$reveal type="match" default="1" text={{{ [enlistcount[]] 
}}}>


  <$link to=<>><$view field="title"/>: <$list 
filter="[enlist]"><>



  


If you are looking for tiddlers having only a particular tag:

<$list filter="[regexp:tags[^notes$]]">



-- 
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/20c0ec6d-e94e-47bd-8563-755edaf84bb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filter to show Tiddlers who just have the tag notes (and no other one).

2019-07-06 Thread 'Mark S.' via TiddlyWiki
Here's an example using "HelloThere" on tiddlywiki.com :

<$list 
filter="[tag[HelloThere]]-[tag[HelloThere]tags[]!field:title[HelloThere]tagging[]]">





On Saturday, July 6, 2019 at 3:00:22 PM UTC-7, Jan wrote:
>
> Hello, 
> I do not know, wheter the question is too simple, but I have tried some 
> time to find the answer: 
> Is there a filter to show Tiddlers who just have the tag "notes" and 
> omit those tagged with other tags aside "notes"? 
>
> Thanks for your help! 
> Jan 
>

-- 
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/023f0b34-4694-4134-b571-2c6c36b25d3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.