Re: [tw] TW5 list filter that returns tiddlers with both of two tags

2015-10-28 Thread Tobias Beer
Hi Rustem, 

> My “prefilter” is rather complex, I’d like to avoid repeating it unless 
> there is no other way.
>
I think your only option to streamline might be to use a macro(/variable)
into which you stuff your prefilter so as to not repeat it:

\define fx(prefilter, a, b) [$prefilter$$a$] [$prefilter$$b$]

<$list filter=<>/>

Best wishes,

— tb

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3a86583b-66da-47e8-a826-64d972c674b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW5 list filter that returns tiddlers with both of two tags

2015-10-28 Thread Matabele
Hi

This logic should work but I haven't tested this in TW -- remove all items 
from the prefiltered list that are not tagged x and not tagged y
 
[prefilter[]] -[!tag[x]!tag[y]] 

regards

On Thursday, 29 October 2015 03:27:40 UTC+2, Rustem wrote:
>
> [tag[x]] [tag[y]] --> all tiddlers tagged either x or y
>>
> (Old thread, I know, but …) How do I filter SOME tiddlers tagged either x 
> or y?
>
> Two runs separated by a space, as shown above, both take the list of all 
> tiddlers as their input.
>
> But what if I want to pre-filter on some other criteria first, and then 
> return only those of the pre-filtered that are tagged either x or y?
>
> Is this the only way:
>
> [prefilter[]tag[x]] [prefilter[]tag[y]]
>
> My “prefilter” is rather complex, I’d like to avoid repeating it unless 
> there is no other way.
>
> Thanks!
>
> —R
> ​
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/522ca534-f32d-450f-a41f-2bce6a853f9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Applying BJ's Calendar Macro into Timeline macro

2015-10-28 Thread Changhoon Lee
Thank you for the code again. I really appreciate your help.

I tested the code you suggested, and it's behaving strange way.
When I press the day in calendar, It creates tiddler without anylist.
I entered edit mode and saved it again without changing anything
then, a list shows up listing pretty much all tiddler I have.

Since I encountered with UTC and timezone problem 
,
I decided not to proceed on this topic for now.

Thank you so much for the help though.





2015년 10월 29일 목요일 오전 6시 40분 48초 UTC+11, Jed Carty 님의 말:

> Oh, sorry about that. The easiest fix would be:
>
> \define thisBuildDayTiddlerText()
> <$list filter='[!is[system]has[created]' variable=ThisTiddler>
> <$list 
> filter="[is[current]get[created]removeprefix[$(Year)$$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]"
>  
> variable=dummy>
>  
> <$link to=<>><$view tiddler=<> 
> field="title"/>
> 
> 
> 
> \end
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c40119b9-991a-42b2-bdb3-767dd9f3015a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] What button did I press to make this happen?

2015-10-28 Thread David Allen
It looks like installing the new version fixed it.  Either through
re-installing the desktop app or the new version, the problem seems to be
gone now.  Thanks for the tip!

On Wed, Oct 28, 2015 at 5:46 AM, Jeremy Ruston 
wrote:

> Hi David
>
> Interesting. I’ve not seen this bug before. Can you post the HTML file
> publically? If not, perhaps you could email me a copy privately (jeremy at
> jermolene dot com) so that I can investigate.
>
> Best wishes
>
> Jeremy.
>
> On 27 Oct 2015, at 22:21, David Allen  wrote:
>
>
> 
> So there I was, minding my own business, tiddling along, when I pressed a
> button I didn't mean to press and things happened.  I don't know which
> button I pressed, but this was the result.  They look like fields
> automatically added to each tiddler, but I don't know how I got them to
> appear or how to make them go away.  Does anyone know what I did wrong and
> how to correct it?  Thanks!
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1a81d83a-9fcd-448a-8f8c-cfa6a8ac1120%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/6Rvj9krUNNE/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/E22D5A59-38A3-40F0-8AB3-FFC162C0AA9B%40gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
David Allen

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALaYjLgXDmn0xfetvrR4r42SO8F%2BXUHd%3DvfqVZBS%3DmG6vhbvOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW5 list filter that returns tiddlers with both of two tags

2015-10-28 Thread Rustem

>
> [tag[x]] [tag[y]] --> all tiddlers tagged either x or y
>

(Old thread, I know, but ...)  How do I filter SOME tiddlers tagged either 
x or y?

Two runs separated by a space, as shown above, both take the list of all 
tiddlers as their input.

But what if I want to pre-filter on some other criteria first, and then 
return only those of the pre-filtered that are tagged either x or y?

Is this the only way:
```
[prefilter[]tag[x]] [prefilter[]tag[y]]
```
My "prefilter" is rather complex, I'd like to avoid repeating it unless 
there is no other way.

Thanks!

--R

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/acb1ba6f-34ec-49d7-beef-9300b9e89223%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Applying BJ's Calendar Macro into Timeline macro

2015-10-28 Thread Jed Carty
Oh, sorry about that. The easiest fix would be:

\define thisBuildDayTiddlerText()
<$list filter='[!is[system]has[created]' variable=ThisTiddler>
<$list 
filter="[is[current]get[created]removeprefix[$(Year)$$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]"
 
variable=dummy>
 
<$link to=<>><$view tiddler=<> 
field="title"/>



\end

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/67884179-7269-480a-b0d3-f7a3af8368fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: tags AboveStory and BelowStory

2015-10-28 Thread Tobias Beer
Hi JCG,
 

> While the tag $:/tag/sAboveStory still work properly with the last version 
> of TW5, its complement $:/tags/BelowStory is no longer *Below*  but *Under* 
> the Story in zoom mode.
>

Sure it's been working differently in zooming mode before?
(Have a demo?)

Best wishes,

— tb

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9f95c88b-17c7-4b5f-b134-25c8b32420b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] tags AboveStory and BelowStory

2015-10-28 Thread ParisWiki
Hi,

While the tag $:/tag/sAboveStory still work properly with the last version 
of TW5, its complement $:/tags/BelowStory is no longer *Below*  but *Under* 
the Story in zoom mode.

Any idea to put it back to its useful location ?

Thanks,

JCG

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c9614c3a-c674-4d79-9510-d75c909e5d3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5: dynamically generate input tables?

2015-10-28 Thread Dave
nevermind - I did a stupid mistake:  was playing around with different 
versions of the same macro and left one there with the same macro name.  
They were just interfering with one another.

Moral of the story, if something weird is happening with your macros, 
search for "define (macroname)" (rather than "<<(macroname)")

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1f39057d-18bc-4ef1-b775-52aba3982dc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Applying BJ's Calendar Macro into Timeline macro

2015-10-28 Thread Changhoon Lee
Thank you so much for the code Jed.
 

\define thisBuildDayTiddlerText()
<$list 
filter="[!is[system]has[created]get[created]removeprefix[$(Year)$$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]">
 
<$link to={{!!title}}><$view field="title"/>


\end

 
I have tried the code you suggested and it's giving me list of links with 
day, second, milisecond title only.


How can I change this to the title of tiddler? :)


 
2015년 10월 28일 수요일 오후 7시 58분 36초 UTC+11, Jed Carty 님의 말:

> I hadn't really considered the problem of leading zeros. The javascript 
> would need to be modified to allow a leading zero on the day or month 
> inputs. It shouldn't be a big change but it may be a while before I get 
> around to fixing it.
>  
> In the meantime you may be able to use this filter instead:
>  
> \define thisBuildDayTiddlerText()
> <$list 
> filter="[!is[system]has[created]get[created]removeprefix[$(Year)$$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]">
>  
> <$link to={{!!title}}><$view field="title"/>
> 
> 
> \end
>  
> The remove/add prefix/suffix filters are very powerful in some sitations.
>  
> You may need to do a similar thing for months before october, so you may 
> need to use the filter:
>  
>
> [!is[system]has[created]get[created]removeprefix[$(Year)$]]+[removeprefix[$(Month)$]][removeprefix[0]removeprefix[$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]
>  
>  
>  
>
2015년 10월 28일 수요일 오후 7시 58분 36초 UTC+11, Jed Carty 님의 말:

> I hadn't really considered the problem of leading zeros. The javascript 
> would need to be modified to allow a leading zero on the day or month 
> inputs. It shouldn't be a big change but it may be a while before I get 
> around to fixing it.
>  
> In the meantime you may be able to use this filter instead:
>  
> \define thisBuildDayTiddlerText()
> <$list 
> filter="[!is[system]has[created]get[created]removeprefix[$(Year)$$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]">
>  
> <$link to={{!!title}}><$view field="title"/>
> 
> 
> \end
>  
> The remove/add prefix/suffix filters are very powerful in some sitations.
>  
> You may need to do a similar thing for months before october, so you may 
> need to use the filter:
>  
>
> [!is[system]has[created]get[created]removeprefix[$(Year)$]]+[removeprefix[$(Month)$]][removeprefix[0]removeprefix[$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]
>  
>  
>  
>
2015년 10월 28일 수요일 오후 7시 58분 36초 UTC+11, Jed Carty 님의 말:

> I hadn't really considered the problem of leading zeros. The javascript 
> would need to be modified to allow a leading zero on the day or month 
> inputs. It shouldn't be a big change but it may be a while before I get 
> around to fixing it.
>  
> In the meantime you may be able to use this filter instead:
>  
> \define thisBuildDayTiddlerText()
> <$list 
> filter="[!is[system]has[created]get[created]removeprefix[$(Year)$$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]">
>  
> <$link to={{!!title}}><$view field="title"/>
> 
> 
> \end
>  
> The remove/add prefix/suffix filters are very powerful in some sitations.
>  
> You may need to do a similar thing for months before october, so you may 
> need to use the filter:
>  
>
> [!is[system]has[created]get[created]removeprefix[$(Year)$]]+[removeprefix[$(Month)$]][removeprefix[0]removeprefix[$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]
>  
>  
>  
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8e34249-3317-4093-8a6f-3565f99cb5e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] What button did I press to make this happen?

2015-10-28 Thread Jeremy Ruston
Hi David

Interesting. I’ve not seen this bug before. Can you post the HTML file 
publically? If not, perhaps you could email me a copy privately (jeremy at 
jermolene dot com) so that I can investigate.

Best wishes

Jeremy.

> On 27 Oct 2015, at 22:21, David Allen  wrote:
> 
>  
> So
>  there I was, minding my own business, tiddling along, when I pressed a 
> button I didn't mean to press and things happened.  I don't know which button 
> I pressed, but this was the result.  They look like fields automatically 
> added to each tiddler, but I don't know how I got them to appear or how to 
> make them go away.  Does anyone know what I did wrong and how to correct it?  
> Thanks!
> 
> -- 
> 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/1a81d83a-9fcd-448a-8f8c-cfa6a8ac1120%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/E22D5A59-38A3-40F0-8AB3-FFC162C0AA9B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Applying BJ's Calendar Macro into Timeline macro

2015-10-28 Thread Jed Carty
I hadn't really considered the problem of leading zeros. The javascript 
would need to be modified to allow a leading zero on the day or month 
inputs. It shouldn't be a big change but it may be a while before I get 
around to fixing it.

In the meantime you may be able to use this filter instead:

\define thisBuildDayTiddlerText()
<$list 
filter="[!is[system]has[created]get[created]removeprefix[$(Year)$$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]">
<$link to={{!!title}}><$view field="title"/>


\end

The remove/add prefix/suffix filters are very powerful in some sitations.

You may need to do a similar thing for months before october, so you may 
need to use the filter:

[!is[system]has[created]get[created]removeprefix[$(Year)$]]+[removeprefix[$(Month)$]][removeprefix[0]removeprefix[$(Month)$]]+[removeprefix[$(Day)$]][removeprefix[0]removeprefix[$(Day)$]]


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2ffb1018-f1de-419f-a8fd-05e536fe8d58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: What button did I press to make this happen?

2015-10-28 Thread Sylvain Naudin
Hi, I see you use TiddlyDesktop which is, if I'm not wrong, still in 
experimental (see number version 0.0.x) , at our own risk.. be sure to have 
backup somewhere :)

Do you use the latest build release 2 days ago by Jeremy ?
(I don't try yet).

Sylvain

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/030f73ec-628f-44a4-a306-78031f951e94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.