[tw] Re: [TW5] Code style with plugin development by example

2016-01-10 Thread Tobias Beer
Hi Devin,

While I would better like to understand the *exports* mechanism myself,
and so I can't actually evaluate the significance of your request,
please post things like this at TiddlyWikiDev 
.

Anyhow, if you understand the TiddlyWiki core as something plugable (into 
sth else) itself,
which I don't know whether it is or not,
would that have you re-evaluate your assessment?

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6152ba2f-15d4-4de8-816c-e44afaa4fd16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Collapsing and expanding parts and the whole of a list

2016-01-10 Thread Eric Shulman
errata

I used a variable reference, <> that I forgot to define in the 
$list widgets

either:
A) add: variable="listitem" to each $list widget
or
B) use: tiddler=<> in each $action-setfield

-e


-- 
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/d8da6a99-26ee-4620-9f8d-27adef51462d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Writing to Two Separate Fields with Checkbox Input

2016-01-10 Thread Scott Simmons (Secret-HQ)

On Sunday, January 10, 2016 at 9:36:53 PM UTC-5, Matabele wrote:
 

> The value in 'checkedtime' toggles as expected, however the checkbox's 
> have no effect?
>

H.  I could've sworn I had that working last night.  (And, like a 
bonehead, I've already cleared my backups and can't find the one where I 
thought it worked.)

Maybe I had the <$button> macro as a child of <$checkbox> rather than the 
other way around?  That toggles the tag on and off:

<$reveal type="match" state="!!fakeCheckboxChecked" text="nope">
<$checkbox tag="tag me tagged">
<$button set="!!fakeCheckboxChecked" setTo="yep" class="tc-btn-invisible">
<$action-setfield checkedtime=<> />
Check me!




... but it doesn't set the checkedtime field (or toggle 
fakeCheckboxChecked).

I could've sworn it worked last night, but now it looks like a matter of 
either/or.  :(

-- 
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/c13c90c7-321b-4a0a-9123-5f8476bea0ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [Biggie?] Import from iframe works - simple 2 step trick

2016-01-10 Thread Mat
@Eric Shulman wrote:

titles as links
>>
> $:/ControlPanel, Settings tab, scroll down to "Tiddler Titles" and enable 
> "Display tiddler titles as links".   Q.E.D.
>

Hehe, yes it did feel like there was something familiar about it. Thanks 
Eric.

<:-)

-- 
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/296987c2-f8a1-4432-91bb-2ca794eec449%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Writing to Two Separate Fields with Checkbox Input

2016-01-10 Thread Matabele
Hi

Using this code:

<$reveal type="match" state="!!fake" text="nope">
<$button set="!!fake" setTo="yep" class="tc-btn-invisible">
<$action-setfield checkedtime=<> />
<$checkbox tag="tag me tagged">Check me!


<$reveal type="match" state="!!fake" text="yep">
<$button set="!!fake" setTo="nope" class="tc-btn-invisible">
<$action-setfield checkedtime="" />
<$checkbox tag="tag me tagged">Check me!



{{!!checkedtime}}

The value in 'checkedtime' toggles as expected, however the checkbox's have 
no effect?

regards

On Sunday, 10 January 2016 20:09:46 UTC+2, Scott Simmons (Secret-HQ) wrote:
>
> *>sniff<*  *I love you guys!*
>
> Life got in the way this week, and I didn't get a chance to read and try 
> this until last night — but it's a clever, elegant solution.
>
> As it turns out, you can even use a proper <$checkbox/> macro in 
> conjunction with it to toggle tags:
>
> <$reveal type="match" state="!!fakeCheckboxChecked" text="nope">
> <$button set="!!fakeCheckboxChecked" setTo="yep" class="tc-btn-invisible">
> <$action-setfield checkedtime=<> />
> <$checkbox tag="tag me tagged">Check me!
> 
> 
>

-- 
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/179af0ac-2a0f-4574-97b9-102780449868%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [Biggie?] Import from iframe works - simple 2 step trick

2016-01-10 Thread Eric Shulman
On Sunday, January 10, 2016 at 5:02:08 PM UTC-8, Mat wrote:
>
> P.S Things woudl be simplified if tiddlers had links with their own titles 
> to be dragged, intead of locating a title link elsewhere for the tiddler. 
> @Jeremy has mentioned introducing <$draggable> previously and make titles 
> draggable. Would fit well here. Actually, can't one simply add a  around 
> the title in the viewtemplate?
>

$:/ControlPanel, Settings tab, scroll down to "Tiddler Titles" and enable 
"Display tiddler titles as links".   Q.E.D.

enjoy,
-e

-- 
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/a1b36995-b052-4e4f-a3ec-da8a4eb50ba0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Collapsing and expanding parts and the whole of a list

2016-01-10 Thread cmari
Hi Mat,
I appreciate your reply, but I have no idea how to implement what you've 
described, or to use it to accomplish what I'm trying to do. My examples 
didn't include anything called "thefield", and what I want to display is 
tiddlers, not fields. I know how to set fields using a button - but what I 
think I need to be able to do is to <$reveal> tiddlers based on the 
contents of a field - and I don't know how to do that. 

What's frustrating is that I knew how to do this with plugins in TWc. If 
this is "simple", that confirms my fear that I'm "simply" too dumb to make 
the transition to TW5.
cmari

On Sunday, January 10, 2016 at 4:47:37 PM UTC-8, Mat wrote:
>
> Simple w css, no?
>
> div..
> clicking button sets e.g field to "none" or "block"
> display:{{!!thefield}};
>
> <:-)
>
> On Monday, January 11, 2016 at 1:01:30 AM UTC+1, cmari wrote:
>>
>> Now that I have finally figured out how to expand and collapse separate 
>> parts of a filtered list independently of one another, 
>> I'd like to be able to expand or collapse the entire list with one click, 
>> and I can't figure out how to do that. 
>> I've put up examples of the brick walls I've run into at 
>> http://cmaritw5.tiddlyspot.com/
>> I was hoping to come up with a macro that would allow easy substitution 
>> of both fields and tags into the filters for the list. 
>> Has anyone done something like this already?
>> cmari
>>
>>

-- 
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/71cc7a87-341f-42ce-a216-e988e59503c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Collapsing and expanding parts and the whole of a list

2016-01-10 Thread Eric Shulman
On Sunday, January 10, 2016 at 4:01:30 PM UTC-8, cmari wrote:
>
> Now that I have finally figured out how to expand and collapse separate 
> parts of a filtered list independently of one another, 
> I'd like to be able to expand or collapse the entire list with one click, 
> and I can't figure out how to do that. 
> I've put up examples of the brick walls I've run into at 
> http://cmaritw5.tiddlyspot.com/
> I was hoping to come up with a macro that would allow easy substitution of 
> both fields and tags into the filters for the list. 
> Has anyone done something like this already?
>

In your 2nd example, you track the state of each reveal using tiddlers 
named with "$:/state/category/" as a prefix and a <> hash number 
as a suffix.  The values in these tiddlers are either "show" or "hide". 
 Thus, to show/hide all reveals at once, you can create buttons that act on 
all the state tiddlers, like this:
<$button> close all
   <$list filter="[prefix[$:/state/category/]suffix]">
  <$action-setfield tiddler=<> text="hide"/>
   

<$button> open all
   <$list filter="[prefix[$:/state/category/]suffix]">
  <$action-setfield tiddler=<> text="show"/>
   


Note that the buttons only operate on state tiddlers that already exist. 
 Thus, you need to manually open each individual $reveal to create the 
corresponding state tiddler.  From then on, the buttons will toggle the 
value in that state tiddler (as well as any other $:/state/category 
tiddlers that exist).

enjoy,
-e


-- 
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/85bb28e4-93e4-4563-a091-54543f190828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Name formatting using caption field

2016-01-10 Thread David Allen
The white space part of the setvars works fine.  Thanks for that tip,
should make it easier to add to later.

Out of curiosity, in what order are macros, text references, widgets, etc
used?  I ask because I'm extremely close to getting a tiddler that can
modify the large number of already-made character tiddlers to add a working
caption field.

This
email has been sent from a virus-free computer protected by Avast.
www.avast.com

<#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sun, Jan 10, 2016 at 3:54 AM, Tobias Beer  wrote:

> Hi David,
>
> I'm a quite amazed to find you using *setvars* at that level of
> complexity. *bows down*
> As for long expressions like yours, I'd possibly use plenty line-breaks
> and white-space for readability, e.g.:
>
> \define name_output(species,first,second,third)
> <$setvars
> twothreename="""
>   (\$third$\ ? \$third$, $first$ $second$\) ||
>   \$second$, $first$\
> """
> formatted_name="""
>   (\$species$\ == \Human\ ? twothreename ) ||
>   (\$species$\ == \Bajoran\ ? \$first$ $second$\) ||
>   (\$species$\ == \Garbrini\ ? \$second$, $first$ $third$\) ||
>   \$first$\
> """>
> <>
> 
> \end
>
> Can you test and confirm that the above works? I think it should.
>
> Here are the fields in an example character tiddler:
>>
>> caption: <>
>> species: Human
>>
>
> As for using wikitext in fields. Be mindful that transcluding and reusing
> that at other places, e.g. in macros may have unexpected results in that
> the field value is not wikified before using. So, you're actually passing
> the string <>.
>
> Therefore, I think what you need to do is:
>
> Instead of using wikitext (macros) in fields directly,
> have as many fields as are needed to create the proper output where you
> need it, elsewhere.
> In other words, you should have fields like *name-1st*, *name-2nd*,
> *name-3rd*
> and then have a macro *outside* of your field contents
> that does your desired handling where ever you need it,
> but not as the field value.
>
> Does that make sense?
>
> Best wishes,
>
> Tobias.
>
> --
> 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/NwaJdnB_yTU/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 https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/73772a65-a91b-4112-8795-cfbaa90a0ac6%40googlegroups.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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALaYjLjLUF6E0kpv1%3DM7QeiF%3D%3DiEwdV5ALPDCPrEGUA%3DA6XdCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Writing to Two Separate Fields with Checkbox Input

2016-01-10 Thread Matabele
Hi

I think something like this will do the trick:

<$reveal type="match" state="!!fake" text="nope">
<$button set="!!fake" setTo="yep" class="tc-btn-invisible">
<$action-setfield checkedtime=<> />
<$action-listops $tags="[[tag me tagged]]"/>
Check me!


<$reveal type="match" state="!!fake" text="yep">
<$button set="!!fake" setTo="nope" class="tc-btn-invisible">
<$action-setfield checkedtime=""/>
<$action-listops $tags="-[[tag me tagged]]"/>
UnCheck me!



{{!!checkedtime}}

A bit long winded -- but can't see any shortcuts.

regards

On Monday, 11 January 2016 07:36:55 UTC+2, Scott Simmons (Secret-HQ) wrote:
>
>
> On Sunday, January 10, 2016 at 9:36:53 PM UTC-5, Matabele wrote:
>  
>
>> The value in 'checkedtime' toggles as expected, however the checkbox's 
>> have no effect?
>>
>
> H.  I could've sworn I had that working last night.  (And, like a 
> bonehead, I've already cleared my backups and can't find the one where I 
> thought it worked.)
>
> Maybe I had the <$button> macro as a child of <$checkbox> rather than the 
> other way around?  That toggles the tag on and off:
>
> <$reveal type="match" state="!!fakeCheckboxChecked" text="nope">
> <$checkbox tag="tag me tagged">
> <$button set="!!fakeCheckboxChecked" setTo="yep" class="tc-btn-invisible">
> <$action-setfield checkedtime=<> />
> Check me!
> 
> 
> 
>
> ... but it doesn't set the checkedtime field (or toggle 
> fakeCheckboxChecked).
>
> I could've sworn it worked last night, but now it looks like a matter of 
> either/or.  I'll bang my head against it some more tomorrow, but smart 
> money says I was just confused.  :(
>

-- 
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/006fdda0-a342-4ff7-b008-b1ae3fbbb0f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Collapsing and expanding parts and the whole of a list

2016-01-10 Thread Mat
On Monday, January 11, 2016 at 4:43:48 AM UTC+1, cmari wrote:
>
> Hi Mat,
> I appreciate your reply, but I have no idea how to implement what you've 
> described, 
>

Sorry for my sloppy post. Anyway, I assume you're happy with Erics reply.

(But I do believe it should be fairly simple with CSS - assuming one knows 
some of that - using the CSS display property and having it read a value 
from a field. And that you toggle this field with a button. I'm in a hurry 
atm so can't test around.)

<:-)

-- 
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/8d755ef0-ef58-41cc-9751-7981a0e94920%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Search in field contents?

2016-01-10 Thread Илья Тимонин
Hi!

Is there an ability to search through entire tiddlywiki (including tags, 
titles and fields) in one tab? Can I add this mechanism as default search 
on sidebar?

воскресенье, 4 января 2015 г., 4:59:05 UTC+3 пользователь Tobias Beer 
написал:
>
> Hi Stephan,
>
> we should use the new `regexp` filter operator instead if possible.
>>
>>  
>
> It's possible. It's also possible to ignore case: 
>
>
> Nice, I've updated both in my adaptation as well...
>
> http://tb5.tiddlyspot.com/#Searching%20In%20Tiddler%20Fields
>
> Added the checkbox up top, though... not sure.
>
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/84b21446-b262-4daa-98e9-bf4d9f3b907e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-10 Thread Tobias Beer
Hi Matabele,

Not sure exactly what you're looking for, but try something like this:
>

I tried to add the class tc-popup-keep 
 to the reveal, but the popup won't 
be sticky.
Any ideas how to make a reveal given focus by an edit-text-widget not close 
when clicking inside?

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bbac503d-53a2-4fdd-87ef-c63bba5aced7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Updated Plugin: tobibeer/filter 0.5.6

2016-01-10 Thread Tobias Beer
Hi everyone,

With cmari kindly posting a detailed bug-report 
 I 
came to realize,
that it is rather simple to construct an invalid filter expression as 
the the subfilter.

Therefore, on encountering any filter errors,
the plugin will now return the error as an output title.

Get version 0.5.7 
 of 
tobibeer/filter  here:

http://tobibeer.github.io/tw5-plugins/#filter

Added documentation regarding error handling at:

http://tobibeer.github.io/tw5-plugins/#filter-Errors

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1a71dd90-5c1a-4673-ae6e-4672fcee6c55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Updated Plugin: tobibeer/filter 0.5.7

2016-01-10 Thread Tobias Beer
Hi everyone,

With cmari kindly posting a detailed bug-report 
 I 
came to realize,
that it is rather simple to construct an invalid filter expression as 
the the subfilter.

Therefore, on encountering any filter errors,
the plugin will now return the error as an output title.

Get version 0.5.7 

 of tobibeer/filter  here:

http://tobibeer.github.io/tw5-plugins/#filter

Added documentation regarding error handling at:

http://tobibeer.github.io/tw5-plugins/#filter-Errors

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/40f939ef-9e25-4391-908f-18e1a4e6710d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Name formatting using caption field

2016-01-10 Thread Tobias Beer
Hi David,

I'm a quite amazed to find you using *setvars* at that level of complexity. 
*bows down*
As for long expressions like yours, I'd possibly use plenty line-breaks and 
white-space for readability, e.g.:

\define name_output(species,first,second,third)
<$setvars
twothreename="""
  (\$third$\ ? \$third$, $first$ $second$\) ||
  \$second$, $first$\
"""
formatted_name="""
  (\$species$\ == \Human\ ? twothreename ) ||
  (\$species$\ == \Bajoran\ ? \$first$ $second$\) ||
  (\$species$\ == \Garbrini\ ? \$second$, $first$ $third$\) ||
  \$first$\
""">
<>

\end

Can you test and confirm that the above works? I think it should.

Here are the fields in an example character tiddler:
>
> caption: <>
> species: Human
>

As for using wikitext in fields. Be mindful that transcluding and reusing 
that at other places, e.g. in macros may have unexpected results in that 
the field value is not wikified before using. So, you're actually passing 
the string <>.

Therefore, I think what you need to do is:

Instead of using wikitext (macros) in fields directly,
have as many fields as are needed to create the proper output where you 
need it, elsewhere.
In other words, you should have fields like *name-1st*, *name-2nd*, 
*name-3rd*
and then have a macro *outside* of your field contents
that does your desired handling where ever you need it,
but not as the field value.

Does that make sense?

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/73772a65-a91b-4112-8795-cfbaa90a0ac6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] New plugin: tobibeer/filter

2016-01-10 Thread Tobias Beer
Hi again, cmari,
 

> Thanks for the detailed report.
> With this very last step I could reproduce the error.
> Will investigate tomorrow.
>
> One thing's for sure, removing that *+* sign
> from the filter expression  
> will have the subfilter evaluated
> against whatever the *[all[]]* filter returns.
>

Turns out I was about right that stuffing any tiddler title including 
system titles
anywhere into the filter expression would easily yield a broken subfilter.

I announced an update to *tobibeer/filter* here 

.
So, version 0.5.7 
 now handles 
errors more gracefully.

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/72f18eaf-22cc-4593-86a1-434dd5112c05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Toc sorted by creation

2016-01-10 Thread K0ertis

Hi Tobias,
My idea is: I want to summaries my research of the day in the evening .For 
that it would be nice if the latest notes were on top of the list. 

Till now I named the months 116 (caption January), 216(caption:February) 
etc. and for next year 117,217,317 etc.
Or do you know a better solution?

Thank you very much

-- 
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/4c143336-3a44-498e-8188-3215050d150f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-10 Thread Tobias Beer
Hi Matabele,
 

> I tried to add the class tc-popup-keep 
>  to the reveal, but the popup 
> won't be sticky.
> Any ideas how to make a reveal given focus by an edit-text-widget not 
> close when clicking inside?
>

I figured it out. It needs both classes *tc-popup* AND *tc-popup-keep*. 

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5e7f3ea4-df2f-46e4-996c-e0b0555929e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Toc sorted by creation

2016-01-10 Thread K0ertis
Hi! 
I have a tiddler which is named 2016 and tagged to Content, then the 
following Months are tagged to 2016. But I made a mistake previously, my 
toc looks like this:


<>


All levels are sorted by created, or? So also the second level of the toc?

Thanks,
best wishes!

-- 
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/cc1d52b1-9b85-4da6-addb-b147c7938a9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: My 'perfect.system' just got much more perfecter-ish

2016-01-10 Thread Tobias Beer
Hi David,

Surely, what you are handling here
is possibly what many users are facing:

What to do if one wiki ain't going to cut it?

May I ask:

(Why) Did you decide against putting *all* your wikis in the same folder.

It appears that would make cross-referencing a whole lot easier,
since we skip any traversing of folders up and down.

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d12997c2-b648-44b9-8960-2b5fa420a021%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Toc sorted by creation

2016-01-10 Thread Tobias Beer
Hi K0ertis,
 

> All levels are sorted by created, or? So also the second level of the toc?
>

That is right... and it is possibly the root of your problem.

I'm sorry to say — and I expected that to begin with —
but the kind of "date-drilldown" you wish to achieve
is really *not* what the toc is designed for.

In the end, why would you want or have all these month and years tiddlers,
it appears you possibly have no use for them, except maybe as:

   - 2016
   - 2016-01
 - 2016-01-10
  - 2016-02
   
Anyhow, for a date-drilldown, we will need
a new, dedicated macro or rather widget for that.

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a6043074-bf0b-4da1-a883-021a2bcccec9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: My 'perfect.system' just got much more perfecter-ish

2016-01-10 Thread Mat
 @Dave

Please try it out and give me some feedback.
>

ATM I have too many tw things going on to try it out, but from what I read 
here I must absolutely insist that you demo this on some hangout. Please. 
Sounds very interesting. 

<:-)

-- 
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/57d6f86f-a9b4-46db-a99d-06e5c5bf1d75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: My 'perfect.system' just got much more perfecter-ish

2016-01-10 Thread David Gifford
okay as long as the hangouts are Tuesdays I should be able to do that, my
classes are on Weds this semester

Dave

On Sun, Jan 10, 2016 at 9:57 AM, Mat  wrote:

>  @Dave
>
> Please try it out and give me some feedback.
>>
>
> ATM I have too many tw things going on to try it out, but from what I read
> here I must absolutely insist that you demo this on some hangout. Please.
> Sounds very interesting.
>
> <:-)
>
> --
> 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/y-qXuRrlIp0/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 https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/57d6f86f-a9b4-46db-a99d-06e5c5bf1d75%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
David Gifford
Christian Reformed World Missions, Mexico City

-- 
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/CANE%3DBF%2BDKrboXBQjs4JWB6-Gzu-ppCEEz52D7RQukUWOCkP6Lg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: My 'perfect.system' just got much more perfecter-ish

2016-01-10 Thread David Gifford
Good morning Tobias, good question.

I put all my main TWs in the outer folder to keep things simpler for cross
referencing.

I put all the images in another folder, so that when I save an image from
the web, or want to know where a photo is, I know it will be in the 'i'
folder.

I put all the other documents in another folder to treat them as separate
from the main TWs - the other documents are source documents from which to
write articles and take notes in this system.

The projects I suppose could have been placed in the outer folder, but it
made sense to me to keep them conceptually distinct. Projects are big TWs
for my classes with everything I have on, say, the Gospel of Luke, whereas
the TWs with letters and numbers are for the loose stuff - topics I don't
plan to have a lot of notes on, but that I want to save ideas for when I
run across them.

I may change my mind about that, just to make the relative paths easier to
manage. But probably not, because I put projects in a separate folder is
that I don't plan to create more than one general link to each project. If
I want to save something on Luke, I open the index, search 'Luke', open the
link, and in the Luke folder I find where to place it. The index won't
contain links to every little detail in the projects as they will to the
lettered and numbered TWs.

Hope that helps.

Dave



On Sun, Jan 10, 2016 at 4:01 AM, Tobias Beer  wrote:

> Hi David,
>
> Surely, what you are handling here
> is possibly what many users are facing:
>
> What to do if one wiki ain't going to cut it?
>
> May I ask:
>
> (Why) Did you decide against putting *all* your wikis in the same folder.
>
> It appears that would make cross-referencing a whole lot easier,
> since we skip any traversing of folders up and down.
>
> Best wishes,
>
> Tobias.
>
> --
> 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/y-qXuRrlIp0/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 https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/d12997c2-b648-44b9-8960-2b5fa420a021%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
David Gifford
Christian Reformed World Missions, Mexico City

-- 
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/CANE%3DBFLyU0zvnc2%3D532V6t9eTCuNWP_TxKF7HhF3cQgQTHCtoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Toc sorted by creation

2016-01-10 Thread Tobias Beer
Hi K0ertis,

There are a number of ways to go about it.

I think the simplest way to go about it would be to just use something like:

title: Latest

<$list filter="[!is[system]has[created]!sort[created]limit[50]]">
<$view field="created" format="date" template="-0MM-0DD"/>:
<$link><$view field="title"/>


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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/677684c2-6931-4714-9d05-e4b3692e0de2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: v5.1.10 : Checkbox to add contents below river not working

2016-01-10 Thread Tobias Beer
Hi Alex,

If you want to use the checkbox-widget outside the story,
you either need to wrap it all in a TiddlerWidget
or use the vars-widget to set the currentTiddler variable

title: $:/config/position/foo

<$vars currentTiddler="$:/config/position/foo">
<$checkbox tag="$:/tags/TopLeftBar">Top l eft
<$checkbox tag="$:/tags/TopRightBar">Top right
<$checkbox tag="$:/tags/AboveStory">above
<$checkbox tag="$:/tags/BelowStory ">below


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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b0896ad4-e125-4a78-a163-fae6484a9171%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: v5.1.10 : Checkbox to add contents below river not working

2016-01-10 Thread PMario
Hi Alex,
It works, if you remove the trailing space.

<$checkbox tag="$:/tags/TopLeftBar">Top l eft
<$checkbox tag="$:/tags/TopRightBar">Top right
<$checkbox tag="$:/tags/AboveStory">above
<$checkbox tag="$:/tags/BelowStory ">below  <- see the 
trailing space here 

This is a known behaviour, with a won't fix tag.

-mario

-- 
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/6932d18a-4462-4dcc-8e8a-e5322a95dc6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: v5.1.10 : Checkbox to add contents below river not working

2016-01-10 Thread Tobias Beer
 Hi Mario,
 

> It works, if you remove the trailing space.
>

Did you actually try clicking the checkboxes in the topleftbar or 
toprightbar?
 

> <$checkbox tag="$:/tags/BelowStory ">below 
>   ^ 
>   |--- see the trailing space here 
>
> This is a known behaviour, with a won't fix tag.
>

Can you point to an issue that sais so?
To me, leading or trailing spaces are or should
not be allowed for titles... including tags.

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5b15b266-2140-4dcf-83e7-77501dae24ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How can I show a ViewTemplate cnditionally?

2016-01-10 Thread Devin Weaver
Perfect! That is exactly what I want! I just book marked that site, well 
done.

On Saturday, January 9, 2016 at 9:16:10 PM UTC-5, Tobias Beer wrote:
>
> Hi Devin,
>  
>
>> What I was hoping would be to have that tiddler only visible on tiddlers 
>> which have a specific tag.
>>
>
> Have a look at Conditional ViewTemplate Section @ tb5 
> 
>
> Something along the lines of...
>
> <$list filter="[all[current]tag[foo]]">
> do something
> 
>
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b07187b7-6cab-44b9-9ba3-b899737fc330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Writing to Two Separate Fields with Checkbox Input

2016-01-10 Thread Scott Simmons (Secret-HQ)
*>sniff<*  *I love you guys!*

Life got in the way this week, and I didn't get a chance to read and try 
this until last night — but it's a clever, elegant solution.

As it turns out, you can even use a proper <$checkbox/> macro in 
conjunction with it to toggle tags:

<$reveal type="match" state="!!fakeCheckboxChecked" text="nope">
<$button set="!!fakeCheckboxChecked" setTo="yep" class="tc-btn-invisible">
<$action-setfield checkedtime=<> />
<$checkbox tag="tag me tagged">Check me!



-- 
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/c4c75436-2741-4dc5-b121-10a912a50f46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-10 Thread William Jackson
Hi Tobias

OK thanks — I’ll give this a try.

regards

On 10 January 2016 at 3:18:17 PM, Tobias Beer (beertob...@gmail.com) wrote:

Hi Matabele,
 
I tried to add the class tc-popup-keep to the reveal, but the popup won't be 
sticky.
Any ideas how to make a reveal given focus by an edit-text-widget not close 
when clicking inside?

I figured it out. It needs both classes tc-popup AND tc-popup-keep. 

Best wishes,

Tobias.
--
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/kuq-FDMDWWg/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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5e7f3ea4-df2f-46e4-996c-e0b0555929e1%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/etPan.56926c59.6159cd04.794a%40WillsMac.WORKGROUP.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: My 'perfect.system' just got much more perfecter-ish

2016-01-10 Thread David Gifford
Hi Dave, I realize now that I didn't answer your main question. Sorry.

In my mind I have four uses for this system:

1. Gather everything in my computer in the index, as links, so that
everything is accessible from one place. So my folders of images and
documents are linked to from the index, as well as my work projects - TWs
on topics where I gather larger amounts of info. Handy to say the least.

So yes, everything and every kind of thing, would be accessible, but not
every little file would get a link, just folders, until I am working on a
project and feel a link to this presentation or that TW is warranted.

2. Have a big version of a TiddlyWiki, where the majority of my topics
hyperlink back and forth with each other, and get indexed in one central
index. But in this case they link between multiple TWs rather than one, and
get indexed in a central index. As Tobias wrote, when one wiki won't cut it.

3. As certain tiddlers get polished enough to share with others, I will
export them as statics and publish or send by email.

4. Have an easy method of dumping and tagging deas as I find them in
reading, browsing, philosophizing, etc. Open the index, search for the
category in which to put the idea, create an external link in the index to
a "letter" TW (if the idea is about the environment, I will make a link to
an as yet uncreated tiddler in the E file), save and click the link, and
create the tiddler there in the E file. If the tiddler already exists, I
will just add the idea to the already existing tiddler. Long paragraph to
describe it, but it is an easy process.

I should say that I came across this fourth function by going about it
backwards. My original idea was to have any number of TWs organized by
topic, and work on them as projects (thus the projects folder), and add
tiddlers in each, and remember to link them from the index by grabbing the
permalink of the new tiddlers. But then two things happened:

a) I was reading some great articles online at the Book of Life (
http://www.thebookoflife.org/what-is-the-book-of-life/), and wanted to copy
and paste items from them into my system, but found that I didn't have TWs
for those topics. I would have to first create new TWs, then paste. Too
much work for every new idea that comes along. I realized I needed
something like my old Braintags classic TW, where I could just "dump and
tag." So I came up with the idea of doing TWs with letters and numbers so
that no matter what new idea came along, I could just add it to the
appropiate letter or number (C for courage, 1 for the book 1984).

2) As I was playing with my letters and numbers idea, my only thought was
to have them as somewhat isolated from and unrelated to each other, but
with links to all of them from the index. But then I discovered how easy it
was to hyperlink between them if I put them all in one folder.
[ext[Courage|./c.html#Courage]] is really no harder than doing hyperlinks
in Wikipedia / Mediawiki, and not much more effort, mentally, than doing an
internal link in a TW. I could even create a bookmarklet to wrap a topic
iwth the link markup to make it even easier. And even better, I realized
that clicking the link from the index takes me not only to the other file
but directly to the tiddler or potential tidder!

So rather than start with the files and remember to add a link in the
index, I now can start with the index, create a link quickly, and add the
idea in the proper place. And I need not fear overwriting an existing
tiddler, since if it already exists, I will be taken to it. A much, much
better process for me.

I hope that helps. Blessings

Dave

On Sat, Jan 9, 2016 at 9:23 PM, Dave  wrote:

> Looks interesting!  You know what would be helpful? a screencast of you
> using the system.  E.g. It took me a while to figure out that the starting
> tiddler was hidden (at least in linux a file that starts with a "." is
> automatically hidden).
>
> Would you use this system for everything?  Research, brainstorming,
> presentation TWs...?  Some widely ranging examples in a screencast showing
> the actual work flow of things would be ideal.
>
> Regardless, I'll try it out over the weekend and get back to you if I have
> any questions (or praises ;) )
>
> Dave
>
> On Saturday, January 9, 2016 at 11:34:40 AM UTC-7, David Gifford wrote:
>>
>> Hi all
>>
>> I knew I should have played around a bit more before posting about
>> 'perfect.system.'
>>
>> Last night and this morning I had eureka moments and greatly refined my
>> system. It is now way easier to use and does things that would have been
>> next to impossible in the first zip file.
>>
>> Imagine a system that allows you to link and create tiddlers between
>> numerous TWs almost as easily as internal links in a single TiddlyWiki,
>> with no node.js, and something you can upload to your site if you wish. A
>> system that lets you find and edit any tiddler quickly.
>>
>> Here is the link to perfect.system, a zip file with 

[tw] v5.1.10 : Checkbox to add contents below river not working

2016-01-10 Thread Alex Hough
Dear All,

Reporting this as a potential bug


I cut and pasted the following into a new tiddler on TiddlyWiki.com

<$checkbox tag="$:/tags/TopLeftBar">Top l eft
<$checkbox tag="$:/tags/TopRightBar">Top right
<$checkbox tag="$:/tags/AboveStory">above
<$checkbox tag="$:/tags/BelowStory ">below


The adding the tag "$:/tags/BelowStory" in this way doesn't result in the
tiddler's content being displayed below the river.

If you 'new here' from $:/tags/BelowStory - contents are not added below
same with cloning a tiddler with this tag.

If you edit the clone, delete the tag then add it again, then the contents
are added.



best wishes

Alex

-- 
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/CALc1hYdKZ%2B2PM2r3Tp_HE70-m%3DnVascRJAQEkqkwNWOAYXGA7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Inconsistent markup of links

2016-01-10 Thread Tobias Beer
Hi Vladimir,

Looks like the core would need an update to the basic theme / stylesheet, 
so as to have any...

strong > button.tc-tiddlylink, strong > a.tc-tiddlylink

...turn out bold. For now you can add this to a custom stylesheet 
:

strong > button.tc-tiddlylink, strong > a.tc-tiddlylink {
font-weight:bold;
}

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6b9d662e-6e69-4c83-bf22-c292bd26f309%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Inconsistent markup of links

2016-01-10 Thread Eric Shulman
On Sunday, January 10, 2016 at 10:19:46 AM UTC-8, Vladimir Vostok wrote:
>
> If I have a link to another tiddler and attempt to apply formatting to it, 
> the effect is inconsistent.
> I have a link [[my tiddler]] which points to a tiddler that already exists.
>
>- //[[my tiddler]]// works in that the text is again rendered in 
>italics as if the tiddler doesn't exist.
>- ~~[[my tiddler]]~~ also works in that the link is now struck through.
>- __[[my tiddler]]__ also works in that the link is now underlined
>
> However,
>
>- ''[[my tiddler]]'' has no effect i.e. not bold
>
> The font-weight styling of tiddler links is controlled by the the 
tc-tiddlylink CSS class, as defined in the TWCore shadow, 
[[$:/themes/tiddlywiki/vanilla/base]].

button.tc-tiddlylink,
a.tc-tiddlylink {
 text-decoration: none;
 font-weight: normal;
 color: <>;
 -webkit-user-select: inherit; /* Otherwise the draggable attribute makes 
links impossible to select */
}


.tc-sidebar-lists a.tc-tiddlylink {
 color: <>;
}


.tc-sidebar-lists a.tc-tiddlylink:hover {
 color: <>;
}


button.tc-tiddlylink:hover,
a.tc-tiddlylink:hover {
 text-decoration: underline;
}


a.tc-tiddlylink-resolves {
}


a.tc-tiddlylink-shadow {
 font-weight: bold;
}


a.tc-tiddlylink-shadow.tc-tiddlylink-resolves {
 font-weight: normal;
}


a.tc-tiddlylink-missing {
 font-style: italic;
}


a.tc-tiddlylink-external {
 text-decoration: underline;
 color: <>;
 background-color: <>;
}


a.tc-tiddlylink-external:visited {
 color: <>;
 background-color: <>;
}


a.tc-tiddlylink-external:hover {
 color: <>;
 background-color: <>;
}


As you can see, the TWCore applies "font-weight:normal" to regular 
tiddlylinks, and then applies extra "font-weight:bold" or 
"font-style:italics" to tc-tiddlylinks-shadow and tc-tiddlylinks-missing, 
respectively.  As a result, any font styles set in the content surrounding 
a tiddlylink are ignored in favor of the more specific styles used by the 
TWCore classes.

To bypass this, just put the following CSS in a tiddler, and tag it with 
$:/tags/Stylesheet
a.tc-tiddlylink-resolves {font-weight:inherit;}

Note that this only changes the font weight handling for links to existing 
tiddlers.  Links to shadow tiddlers will still be shown in bold, while 
links to missing tiddlers will still appear with italics.

enjoy,
-e

-- 
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/a9baf387-fbb9-4ce7-aa7d-49ebd95df2aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Inconsistent markup of links

2016-01-10 Thread Vladimir Vostok
Hi guys,

If I have a link to another tiddler and attempt to apply formatting to it, 
the effect is inconsistent.

For example;

I have a link [[my tiddler]] which points to a tiddler that already exists.

   - //[[my tiddler]]// works in that the text is again rendered in italics 
   as if the tiddler doesn't exist.
   - ~~[[my tiddler]]~~ also works in that the link is now struck through.
   - __[[my tiddler]]__ also works in that the link is now underlined
   
However,

   - ''[[my tiddler]]'' has no effect i.e. not bold


Any thoughts?


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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3460fbaa-073d-498f-b4cd-99d389e9c0cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Inconsistent markup of links

2016-01-10 Thread Vladimir Vostok
Thanks for the quick response guys. I will make the necessary changes.

regards

On Sunday, January 10, 2016 at 6:19:46 PM UTC, Vladimir Vostok wrote:
>
> Hi guys,
>
> If I have a link to another tiddler and attempt to apply formatting to it, 
> the effect is inconsistent.
>
> For example;
>
> I have a link [[my tiddler]] which points to a tiddler that already exists.
>
>- //[[my tiddler]]// works in that the text is again rendered in 
>italics as if the tiddler doesn't exist.
>- ~~[[my tiddler]]~~ also works in that the link is now struck through.
>- __[[my tiddler]]__ also works in that the link is now underlined
>
> However,
>
>- ''[[my tiddler]]'' has no effect i.e. not bold
>
>
> Any thoughts?
>
>
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2bdfd669-be84-42b8-a5ee-33150420c0a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Collapsing and expanding parts and the whole of a list

2016-01-10 Thread cmari
Now that I have finally figured out how to expand and collapse separate 
parts of a filtered list independently of one another, 
I'd like to be able to expand or collapse the entire list with one click, 
and I can't figure out how to do that. 
I've put up examples of the brick walls I've run into at 
http://cmaritw5.tiddlyspot.com/
I was hoping to come up with a macro that would allow easy substitution of 
both fields and tags into the filters for the list. 
Has anyone done something like this already?
cmari

-- 
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/bf34-3d77-4e59-bd1d-5028522bbe68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Collapsing and expanding parts and the whole of a list

2016-01-10 Thread Mat
Simple w css, no?

div..
clicking button sets e.g field to "none" or "block"
display:{{!!thefield}};

<:-)

On Monday, January 11, 2016 at 1:01:30 AM UTC+1, cmari wrote:
>
> Now that I have finally figured out how to expand and collapse separate 
> parts of a filtered list independently of one another, 
> I'd like to be able to expand or collapse the entire list with one click, 
> and I can't figure out how to do that. 
> I've put up examples of the brick walls I've run into at 
> http://cmaritw5.tiddlyspot.com/
> I was hoping to come up with a macro that would allow easy substitution of 
> both fields and tags into the filters for the list. 
> Has anyone done something like this already?
> cmari
>
>

-- 
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/4f23d0cb-0064-41bd-9f58-c4ce49dbb2bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Code style with plugin development by example

2016-01-10 Thread Devin Weaver
I was just curious about the use of IFE in the core plugins. Since using 
them as examples I felt the need to continue the style. However looking at 
how modules are handled in TiddlyWiki it seems that an IIFE might be 
redundant.

For example:

/*\
title: $:/plugins/my-plugin/plugin.js
type: application/javascript
module-type: startup

An example startup plugin

\*/
(function() {

  exports.startup = function startup() {
// Do stuff
  }

})();

Since TiddlyWiki wraps code in a sandbox in order to manage the exports 
variable would it not be scoped in it's own *context*? Wouldn't this 
wrapping mean the (function() {…})() is redundant?

This became a point of question for me while I was using Babel 
 which transpiles ES2015 (ES6) modules into CommonJS 
(which the TiddlyWiki code *mostly* emulates). But unlike CoffeeScript it's 
output doesn't warp inside an IIFE. This is because Babel assumes that the 
files it outputs will be bundled with a module system like Browserify or 
AMD. TittleWiki is that bundling system using it's sandbox to evaluate 
plugin tiddlers.

For completeness the above code would look like this in ES2015:

/*\
title: $:/plugins/my-plugin/plugin.js
type: application/javascript
module-type: startup

An example startup plugin

\*/
export function startup() {
  // Do stuff
}

Which outputs a file like:

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.startup = startup;
/*\
title: $:/plugins/my-plugin/plugin.js
type: application/javascript
module-type: startup

An example startup plugin

\*/
function startup() {
  // Do stuff
}

So would this cause a startup function to be global? Or is the sandbox 
enough to prevent global pollution? And in the case of the later what is 
the benefit (if any) of wrapping the core code in IIFEs?

-- 
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/acb606b3-f6de-46e5-a392-8b05970ec526%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [Biggie?] Import from iframe works - simple 2 step trick

2016-01-10 Thread Mat
Ok, this might just be a pretty big deal for fetching plugins or bundles 
. I've 
only done some very quick tests but I'm so excited so I can't shut up:

Put a common iframe in a tiddler with the source set to your target TW. For 
example

http://ooktech.com/jed/ExampleWikis/TiddlerSchools/; 
style="height:600px; width:600px;"/>

In viewmode you'll see - in this case - @Jeds "tiddler bundler" (initially 
called "schools"), but it could be e.g tiddlywiki.com or any other site.

Now, as you may know you cannot drag a tiddler/plugin/bundle out of an 
iframe and drop it straight into your TW, for browser security reasons.

...BUT...

apparently you CAN drag the tiddler/plugin/bundle to the browser bookmark 
field and drop it there... and drop that bookmark straight into your TW!

This was news to, at least, me.

<:-)

P.S Things woudl be simplified if tiddlers had links with their own titles 
to be dragged, intead of locating a title link elsewhere for the tiddler. 
@Jeremy has mentioned introducing <$draggable> previously and make titles 
draggable. Would fit well here. Actually, can't one simply add a  around 
the title in the viewtemplate?

-- 
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/47cff2c1-e8fe-49b3-b2f5-35cc181c4720%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [Biggie?] Import from iframe works - simple 2 step trick

2016-01-10 Thread David Gifford
Wow, that's neat! 

Dave

On Sunday, January 10, 2016 at 7:02:08 PM UTC-6, Mat wrote:
>
> Ok, this might just be a pretty big deal for fetching plugins or bundles 
> . 
> I've only done some very quick tests but I'm so excited so I can't shut up:
>
> Put a common iframe in a tiddler with the source set to your target TW. 
> For example
>
> http://ooktech.com/jed/ExampleWikis/TiddlerSchools/; 
> style="height:600px; width:600px;"/>
>
> In viewmode you'll see - in this case - @Jeds "tiddler bundler" (initially 
> called "schools"), but it could be e.g tiddlywiki.com or any other site.
>
> Now, as you may know you cannot drag a tiddler/plugin/bundle out of an 
> iframe and drop it straight into your TW, for browser security reasons.
>
> ...BUT...
>
> apparently you CAN drag the tiddler/plugin/bundle to the browser bookmark 
> field and drop it there... and drop that bookmark straight into your TW!
>
> This was news to, at least, me.
>
> <:-)
>
> P.S Things woudl be simplified if tiddlers had links with their own titles 
> to be dragged, intead of locating a title link elsewhere for the tiddler. 
> @Jeremy has mentioned introducing <$draggable> previously and make titles 
> draggable. Would fit well here. Actually, can't one simply add a  around 
> the title in the viewtemplate?
>

-- 
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/688effd5-ef6c-4d29-a12b-a0259170367f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.