[tw5] Re: Filtering an "or" condition

2019-05-29 Thread PMario
hi,

you ca add a sort operator 
.
  


-m

-- 
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/c9faec80-553b-4089-a9b6-3831185300ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filtering an "or" condition

2019-05-29 Thread Damon Pritchett
Alright, I've finally figured it out and I feel fairly inept because of it. 
The filter was working the entire time. I was expecting the combined search 
to be completely alphabetical when, in fact, they two search results were 
one right after the other. The results were there, just not sorted the way 
I expected them to be. Each individual search was alphabetic, but were not 
combined alphabetically. Is there a way to make the overall results 
combined alphabetically?

Thanks,

Damon

On Tuesday, May 28, 2019 at 11:13:25 PM UTC-7, PMario wrote:
>
> On Sunday, May 26, 2019 at 8:51:56 AM UTC+2, Damon Pritchett wrote:
>  
>
>> Atchison Electric Motor & Street Railway
>> Atchison Electric Street Railway
>> Atchison Railway & Electric Light Company
>> Atchison Railway, Electric Light & Power Company
>>
>> Now when I do this search: [search:title[Electric]] 
>> [search:title[Street]], I only get the following:
>>
>> Atchison Railway & Electric Light Company
>> Atchison Railway, Electric Light & Power Company
>>
>>
> I did test this with tiddlywiki.com and it works as expected.  
>
> So did you include plugins that mess with, or add new filter operators??
>
> -m
>

-- 
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/2228b884-5d51-41be-92fd-904f1ee1badb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Size on edit-text widget

2019-05-29 Thread TonyM
Hi,

I am using the edit-text widget to edit fields. I am using tag=input and it 
is possible to set the size of the field in number of characters. The 
default is 20 (HTML doco)

However I would like this size to be set to the length of the value 
contained in the field, or ideally only if it is greater than already set.

Does anyone know how to do this please?

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/25f3f8dc-ae67-42cb-8c87-b029a8b2be0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Shopping for Android & Windows -- Systems the world uses ... :-)

2019-05-29 Thread TonyM
Mario

Good point about Webdav. I set it up on IIS and it worked well. I belive its 
available on other platforms.

As a technology do you know more about its availability and benefits?

Regards
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/a2616a28-5ee3-4587-ab8f-de3e8aa4aae8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filter for all tiddlers whose title does not appear in the 'list' field of another tiddler?

2019-05-29 Thread Ed

>
> I'm pretty sure my code works ... there may be more tiddlers than you 
> think that contain references to a particular tiddler in their list field.
>

You are right sorry I was mistaken! 

You could make a global macro that defines "[[" and "]]" similar to how I 
> did in my macro. Then you can do something like removeprefix . 
> But I think that "get" is treating the entire
> contents of the list field as one long tiddler title, so if you have [[My 
> first tiddler]] [[My second tiddler]] then what is going to generated is 
> [[My]] [[first]] [[tiddler]] [[My]] [[second]] [[tiddler]].
>

I tried this and got My first tiddler]] [[My second tiddler.

I think I will just change the way I use the list field in my wiki! Thank 
you for all your help.
On Wednesday, May 29, 2019 at 9:55:13 PM UTC+1, Mark S. wrote:
>
> I'm pretty sure my code works ... there may be more tiddlers than you 
> think that contain references to a particular tiddler in their list field. 
> I'd want to see the data before going further.
>
> If you have to do it as a filter, I think you're out of luck.
>
> You could make a global macro that defines "[[" and "]]" similar to how I 
> did in my macro. Then you can do something like removeprefix . 
> But I think that "get" is treating the entire
> contents of the list field as one long tiddler title, so if you have [[My 
> first tiddler]] [[My second tiddler]] then what is going to generated is 
> [[My]] [[first]] [[tiddler]] [[My]] [[second]] [[tiddler]]. It's
> worth a shot, but I don't think it will work. With a regular expresion 
> string splitter (see PR# 2963) could split on the fly.That might work.
>
> Sometimes you can do things in two steps. So you could use my code and a 
> action-setfield widget to tag all the items that matched the criteria 
> output by the macro. Then you could use *that *tag to do your filtering.
>
> Good luck!
>
> On Wednesday, May 29, 2019 at 12:15:30 PM UTC-7, Ed wrote:
>>
>> Thank you Mark. That doesn't seem to work for me, though I don't 
>> understand why.
>>
>> I am not sure it is useful for my case though because I don't think you 
>> can use wikify within the TiddlyMap custom styling. I think it has to 
>> just be a filter.
>>
>> I tried doing [!is[system]] 
>> -[!is[system]get[list]removeprefix[[[]removesuffix[ but obviously 
>> there is a problem with using square brackets as parameters.
>>
>> Is there an escape character to allow square brackets as the parameter of 
>> a filter? I can't see anything in the docs.
>>
>> Regards, Ed
>>
>> On Wednesday, May 29, 2019 at 3:33:39 PM UTC+1, Mark S. wrote:
>>>
>>> The problem is that there is no equivalent of "get" for "list" fields. 
>>> So it takes a more complicated approach. You have to output all the items 
>>> you want to exclude, wikify them, and then substract them.
>>> You also have to take steps to turn titles into links that will work in 
>>> the final filter. Also, there may be a bug in the list operator when used 
>>> in <$list> loop. It's kind of messy.
>>>
>>> The following seems to work on my short tests (YMMV) :
>>>
>>> \define getlists() 
>>> <$vars pre="[[" suf="]]" left="[" right="]">
>>> <$list filter="[all[tiddlers]!is[system]addsuffix[!!list]]" 
>>> variable="locallist">
>>> <$list filter="""[listaddprefixaddsuffix]"""/>
>>> 
>>> 
>>> \end
>>>
>>> <$wikify name="listastext" text=<> mode="inline" output="text" 
>>> >
>>> <] 
>>> +[sort[]]""">>
>>> 
>>>
>>>
>>> On Wednesday, May 29, 2019 at 4:17:54 AM UTC-7, Ed wrote:

 Thank you Bimlas!

 The problem I have is that many of the entries in the list field are in 
 double square brackets, so get[list] returns several [[things like 
 this]].

 How could I return the tiddler titles without the square brackets?

 On Wednesday, May 29, 2019 at 11:43:57 AM UTC+1, bimlas wrote:
>
> Ed,
>
> Ok, I think I've got the idea:
>
> [!is[system]] -[!is[system]get[list]]
>

>>>

-- 
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/52f81aec-0608-4d35-aeb0-aaa88e4e6929%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Saving in chrome

2019-05-29 Thread Tom Adams
On Friday, May 10, 2019 at 12:28:45 AM UTC-7, A Sklpns wrote:
>
> Hello TW friends.
> I am looking for a simple way to save both TW5 and TWC files under Google 
> Chrome.
>

I use several Chromebooks running ChromeOS.  I wanted to access the same 
tiddlywiki from any of them, so I needed to put them on my Google Drive.  
After a few tries, I figured it out.

   - Create a Drive Downloads folder in Google Drive > My Drive.
   - In Chrome settings, search for Downloads and change the location of 
   the Downloads folder to the one you just created in Google Drive
   - Create a tiddlywikilocations folder in Drive Downloads
   - Download tiddlywiki empty.html and savetiddlers-0.8.zip into 
   tiddlywikilocations
   - Unzip savetiddlers-0.8 folder into tiddlywikilocations 
   - In Chrome > More tools > Extensions, turn on Developer mode, then 
   - Click load unpacked and navigate to Google Drive > My Drive > Drive 
   Downloads > tiddlywikilocations > savetiddlers-0.8 
   - Select the Extension folder and click Open.  You will get an error 
   message, but ignore it. It has no affect on Chrome

Now when you make changes in tiddlywiki and click the save checkmark, it 
should save the new version of empty.html, and the previous version into a 
backupdir in the tiddlywikilocations folder.


-- 
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/2ff0266c-bd5d-4593-ac70-cbd825f5fa1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filter for all tiddlers whose title does not appear in the 'list' field of another tiddler?

2019-05-29 Thread 'Mark S.' via TiddlyWiki
I'm pretty sure my code works ... there may be more tiddlers than you think 
that contain references to a particular tiddler in their list field. I'd 
want to see the data before going further.

If you have to do it as a filter, I think you're out of luck.

You could make a global macro that defines "[[" and "]]" similar to how I 
did in my macro. Then you can do something like removeprefix . 
But I think that "get" is treating the entire
contents of the list field as one long tiddler title, so if you have [[My 
first tiddler]] [[My second tiddler]] then what is going to generated is 
[[My]] [[first]] [[tiddler]] [[My]] [[second]] [[tiddler]]. It's
worth a shot, but I don't think it will work. With a regular expresion 
string splitter (see PR# 2963) could split on the fly.That might work.

Sometimes you can do things in two steps. So you could use my code and a 
action-setfield widget to tag all the items that matched the criteria 
output by the macro. Then you could use *that *tag to do your filtering.

Good luck!

On Wednesday, May 29, 2019 at 12:15:30 PM UTC-7, Ed wrote:
>
> Thank you Mark. That doesn't seem to work for me, though I don't 
> understand why.
>
> I am not sure it is useful for my case though because I don't think you 
> can use wikify within the TiddlyMap custom styling. I think it has to 
> just be a filter.
>
> I tried doing [!is[system]] 
> -[!is[system]get[list]removeprefix[[[]removesuffix[ but obviously 
> there is a problem with using square brackets as parameters.
>
> Is there an escape character to allow square brackets as the parameter of 
> a filter? I can't see anything in the docs.
>
> Regards, Ed
>
> On Wednesday, May 29, 2019 at 3:33:39 PM UTC+1, Mark S. wrote:
>>
>> The problem is that there is no equivalent of "get" for "list" fields. So 
>> it takes a more complicated approach. You have to output all the items you 
>> want to exclude, wikify them, and then substract them.
>> You also have to take steps to turn titles into links that will work in 
>> the final filter. Also, there may be a bug in the list operator when used 
>> in <$list> loop. It's kind of messy.
>>
>> The following seems to work on my short tests (YMMV) :
>>
>> \define getlists() 
>> <$vars pre="[[" suf="]]" left="[" right="]">
>> <$list filter="[all[tiddlers]!is[system]addsuffix[!!list]]" 
>> variable="locallist">
>> <$list filter="""[listaddprefixaddsuffix]"""/>
>> 
>> 
>> \end
>>
>> <$wikify name="listastext" text=<> mode="inline" output="text" >
>> <] 
>> +[sort[]]""">>
>> 
>>
>>
>> On Wednesday, May 29, 2019 at 4:17:54 AM UTC-7, Ed wrote:
>>>
>>> Thank you Bimlas!
>>>
>>> The problem I have is that many of the entries in the list field are in 
>>> double square brackets, so get[list] returns several [[things like 
>>> this]].
>>>
>>> How could I return the tiddler titles without the square brackets?
>>>
>>> On Wednesday, May 29, 2019 at 11:43:57 AM UTC+1, bimlas wrote:

 Ed,

 Ok, I think I've got the idea:

 [!is[system]] -[!is[system]get[list]]

>>>
>>

-- 
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/0a13da86-736c-4ee8-963b-acbc7f16e8f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filter for all tiddlers whose title does not appear in the 'list' field of another tiddler?

2019-05-29 Thread Ed
Thank you Mark. That doesn't seem to work for me, though I don't understand 
why.

I am not sure it is useful for my case though because I don't think you can 
use wikify within the TiddlyMap custom styling. I think it has to just be a 
filter.

I tried doing [!is[system]] 
-[!is[system]get[list]removeprefix[[[]removesuffix[ but obviously there 
is a problem with using square brackets as parameters.

Is there an escape sequence to allow square brackets as the parameter of a 
filter? I can't see anything in the docs.

Regards, Ed

On Wednesday, May 29, 2019 at 3:33:39 PM UTC+1, Mark S. wrote:
>
> The problem is that there is no equivalent of "get" for "list" fields. So 
> it takes a more complicated approach. You have to output all the items you 
> want to exclude, wikify them, and then substract them.
> You also have to take steps to turn titles into links that will work in 
> the final filter. Also, there may be a bug in the list operator when used 
> in <$list> loop. It's kind of messy.
>
> The following seems to work on my short tests (YMMV) :
>
> \define getlists() 
> <$vars pre="[[" suf="]]" left="[" right="]">
> <$list filter="[all[tiddlers]!is[system]addsuffix[!!list]]" 
> variable="locallist">
> <$list filter="""[listaddprefixaddsuffix]"""/>
> 
> 
> \end
>
> <$wikify name="listastext" text=<> mode="inline" output="text" >
> <] 
> +[sort[]]""">>
> 
>
>
> On Wednesday, May 29, 2019 at 4:17:54 AM UTC-7, Ed wrote:
>>
>> Thank you Bimlas!
>>
>> The problem I have is that many of the entries in the list field are in 
>> double square brackets, so get[list] returns several [[things like this]]
>> .
>>
>> How could I return the tiddler titles without the square brackets?
>>
>> On Wednesday, May 29, 2019 at 11:43:57 AM UTC+1, bimlas wrote:
>>>
>>> Ed,
>>>
>>> Ok, I think I've got the idea:
>>>
>>> [!is[system]] -[!is[system]get[list]]
>>>
>>
>

-- 
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/bf445bd0-ba5f-4ef5-8f00-179351adeb32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How does one use Bricks?

2019-05-29 Thread passingby
Hello Thomas,

Glad you could reply. Mainly what I need is to understand what is being 
offered. What amount of customization can I do with bricks and how to do 
it.  

For example I am thinking of cobbling up a dark theme, much like your 
Palette Dark Forces. I am going to make some study notes in my TW. I am 
also thinking of incorporating things from Shiraz plugin (by Mohammed). So 
if you could help me on this, that ll be great! 


On Wednesday, May 29, 2019 at 11:08:18 AM UTC-7, Thomas Elmiger wrote:
>
> Hi passingby, 
>
> I am afraid, the only person knowing how to use bricks could be me ;–) 
>
> I will see if I can find time to make a screencast or something during the 
> days to come. Or what kind of documentation would be helpful for you? 
>
> Please bear with me if it takes more time than expected and feel free to 
> ask questions here if you have any. 
>
> Glad you find it interesting! 
>
> Cheers, 
> Thomas 

-- 
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/236fc55e-f478-47e5-bd7b-35f2f0a4bb1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Internal Javacript Error in ckeditor.js

2019-05-29 Thread armlet
Internal JavaScript Error
Well, this is embarrassing. It is recommended that you restart TiddlyWiki 
by refreshing your browser
Script error.



ckeditor.js:88 Uncaught TypeError: Cannot read property 'compatMode' of 
undefined
at CKEDITOR.dom.window.getViewPaneSize (ckeditor.js:88)
at p.queryViewport (ckeditor.js:1253)
at CKEDITOR.dom.window. (ckeditor.js:31)
at CKEDITOR.dom.window.p (ckeditor.js:10)
at CKEDITOR.dom.window.fire (ckeditor.js:12)
at ckeditor.js:68

Is this a ckeditor problem or bj's plugin problem?

-- 
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/f17a77e0-b7a1-4806-9825-08fab7648bdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How does one use Bricks?

2019-05-29 Thread Thomas Elmiger
Hi passingby, 

I am afraid, the only person knowing how to use bricks could be me ;–)

I will see if I can find time to make a screencast or something during the days 
to come. Or what kind of documentation would be helpful for you?

Please bear with me if it takes more time than expected and feel free to ask 
questions here if you have any. 

Glad you find it interesting! 

Cheers, 
Thomas 

-- 
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/7a829c73-3e3b-4a2a-862a-09622ad313c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Shopping for Android & Windows -- Systems the world uses ... :-)

2019-05-29 Thread @TiddlyTweeter
PMario wrote:
>
> ...  WebDav savers, which IMO are a little bit underestimated. 
>

I agree. I think the key question I was thinking about when I started the 
thread was only really about "is there one methodology?" That is: (a) 
simple to understand and implement; (b) works in most every scenario. 

That doesn't stop anything else being possible. Merely asserting some kind 
of "ground zero" with a simple methodology that can work regardless for 
single-file wiki in any browser. Adding "auto-restore from download" looks 
close to that aim?

WebDav is good but I wouldn't say it was easy :-)

Its just a line of thought
Best wishes
Josiah

-- 
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/257d8210-3d35-4cab-96de-a8a1a7f80ca9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Shopping for Android & Windows -- Systems the world uses ... :-)

2019-05-29 Thread @TiddlyTweeter
Jed Carty wrote:
>
> ... the workflow for single file wikis on Bob isn't too terribly far from 
> being able to just open an html file from within bob and have the changes 
> autosaved back to the single file wiki. It won't ever be as simple as just 
> double clicking on the html file because there is no way to associate just 
> the tiddlywiki html files with Bob.
>

A side note. 

In some ways BobEXE looks ideal for setup operations on backup, restore and 
general organisation of wiki. It can change itself interactively in a 
contained way that is very flexible. 

I been playing around with it to see how to tweak a custom version such 
that on first run the user gets a wizard for setup. Bob has advantages over 
TiddlyDesktop in that it should run in any browser and you get full access 
to the browsers strengths as well as be able to invoke most anything the OS 
can do. And even though its very powerful an end-user would not necessarily 
need exposing, I think, in a customised version, to all the options and 
functions. 

If I were a bit more tech savvy I think I'd use it as a a kind of wrapper 
for diverse projects. Customisation possible with it is really excellent.

Thoughts
Josiah

-- 
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/9fdc0417-c733-4b46-b5af-af26590ad62a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Using $:/core/save/lazy-all seems to break list filters

2019-05-29 Thread Alfalfa Scout
Looking forward to that pull request being merged and server side requests
being implemented.

I did figure out why it seemed like some of my filters weren't working... I
made some table macros (and tagged them with $:/tags/Macro), but they
aren't loaded until i open the defining tiddlers.

Do I have to like, transclude them into the front page, or is there some
way to mark them as Important?

On Wed, May 29, 2019, 04:37 Jeremy Ruston  wrote:

> Hi Alfalfa
>
> I have a lot of lists based on filters. I have defined many of my own
> fields to filter through for these lists. I have megabytes upon megabytes
> of text in the bodies of tiddlers.
>
> To save time loading the front page, I switched to lazy loading using
> $:/core/save/lazy-all. But now, my carefully arranged lists based on
> filters no longer work. For just one example, the missing page list no
> longer shows what pages are missing.
>
>
> As you’ve found, the “Missing” tab is broken by the current implementation
> of lazy loading, because the underlying processing requires access to
> tiddlers “text” fields.
>
> Is there any way I could
> A. generate these lists server-side, or
>
>
> Not at the moment, although I’ve taken the first steps with an
> experimental mechanism for invoking server side commands from the browser:
>
> https://github.com/Jermolene/TiddlyWiki5/pull/3461
>
> B. tell the lazy loader to load a few more fields I have defined, so my
> filters actually show results again?
>
>
> The lazy loading mechanism preloads all fields except the text field. All
> of your filters that don’t reference the text field should work OK.
>
> Best wishes
>
> Jeremy
>
>
>
>
>
> --
> 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/a2533d00-9fc2-4241-bc7b-f8b6c6ce9322%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/tLa5382sTkk/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/676EB282-B39B-4261-8E63-8304535AECDE%40gmail.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/CAPh-SKicLu_1C%3DMqRwUWoXiO7jj%3Dz5gVeiT_ta_Y4t%2BV20nuCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Change how "tab" button works on certain window

2019-05-29 Thread DemoniWaari
I was wondering how I could change how the tab button works on a specific 
window so that it skips a few tabs. For example, if I want to link a 
tiddler I would press ctrl+L to open up the menu, then type in a few 
letters, then tab to the correct tiddler and press enter. However, at the 
moment, the tab button cycles through the two buttons next to the text 
field before going to the "All matches" section. I would like to make it so 
that I can just type, tab once, and enter to select the very first tiddler 
on the "All matches" list.

-- 
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/5b4647c2-558c-4f9b-bc4d-ed84ced27add%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Is there any way to download TiddlyWiki documentation as a PDF?

2019-05-29 Thread Jeremy Ruston
Hi Sylvain

> On 29 May 2019, at 11:35, SylvainComte  wrote:
> 
> 
> Also, dealing with the toc macro, I noticed a <<__variable__>> notation that 
> I didn't met before and which seems to stand for $(variable)$. Is this 
> documented anywhere? are there differences?


The double underscore syntax for referencing macro parameters was introduced in 
v5.1.16:

https://tiddlywiki.com#Macro%20Definitions%20in%20WikiText

Adding double underscores to a parameter name allows one to refer to the 
parameter as a variable, instead of the value being inserted via textual 
substitution. That makes it much easier to deal with issues where a parameter 
contains e.g. a double quote.

The old way:

\define mymacro(text)
<$text text="$text$"/>
\end

<> --> this works

<> --> this doesn't work because of the double quote

The new way:

\define mymacro(text)
<$text text=<<__text__>>/>
\end

<> --> this works

<> --> this now works too

There are still situations where textual substitution is required, but it’s 
generally better to use the new double underscore syntax when possible, just to 
avoid these troubling edge cases where things stop working in the presence of 
innocuous characters.

Best wishes

Jeremy

-- 
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/189A97F5-4AEB-4432-ADA0-F4223564BB7A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filter for all tiddlers whose title does not appear in the 'list' field of another tiddler?

2019-05-29 Thread Ed
Thank you - this is almost perfect!

The problem I have is that many of the entries in the list field are in 
double square brackets, so get[list] returns several [[things like this]].

How could I return the tiddler titles without the square brackets?

On Wednesday, May 29, 2019 at 11:43:57 AM UTC+1, bimlas wrote:
>
> Ed,
>
> Ok, I think I've got the idea:
>
> [!is[system]] -[!is[system]get[list]]
>

-- 
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/c80e60c2-3760-4815-9f2e-74514eeaf8b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filter for all tiddlers whose title does not appear in the 'list' field of another tiddler?

2019-05-29 Thread bimlas
Ed,

Ok, I think I've got the idea:

[!is[system]] -[!is[system]get[list]]

-- 
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/89a29573-87c9-42a5-8b44-6ff75fec945f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Is there any way to download TiddlyWiki documentation as a PDF?

2019-05-29 Thread SylvainComte
Hi Jeremy and all,

I've updated the "book" macro (which is a very bad name) that have been 
made too fast. It now works for full tiddlywiki.com. I tried it in both 
5.1.19 and 5.1.20 prerelease and did not notice difference (about 10 
seconds on my machine which is not a race beast). I did not make real 
instrumented tests though...

It appears that previous version of my macro was not really recursive 
(fixing the typos also killed this propertie). Now it works and <> will deliver the full wiki in one Tiddler with sort of 
hierarchical classfication : "!!title" of a sub-chapter will be in lower 
level of heading than is parent, but included titles will keep up their 
hierarchical level. So if you have a "! Some title" in the text of a 
tiddler, it will remain "h1" even if the tiddler is sub-chapter of a 
sub-chapter and has a "h3" title...

I can now confirm that whole tiddlywiki.com is about 900 pages long !!

Attached the "book" macro for players and putted the pdf on firefox send 
for Tam (and 99 other people who like long readings ;-)
https://send.firefox.com/download/1522f51bd13083b7/#TL1U_419GgCRZtiB1QbjjQ

Also, dealing with the toc macro, I noticed a <<__variable__>> notation 
that I didn't met before and which seems to stand for $(variable)$. Is this 
documented anywhere? are there differences?

regards,

Sylvain
@sycom

Le mardi 28 mai 2019 20:47:45 UTC+2, Jeremy Ruston a écrit :
>
> Hi Sylvain
>
> I did hack the toc macro to make a book macro. freezes the browser tab 
> when using the whole wiki (<>)... But not if I uses 
> book macro for each first level chapter (see TiddlyWiki-Book.tid). I don't 
> know why…
>
>
> It would be interesting if you could try your hacked doc macro on the 
> latest prerelease that incorporates a number of performance optimisations 
> to the indexing performed by the core:
>
> https://tiddlywiki.com/prerelease/
>
> The indexing optimisations are described in more detail here:
>
> https://github.com/Jermolene/TiddlyWiki5/pull/3951
>
> It’ll be interesting to see if you get any improvements, and to use the 
> recent improvements to the performance instrumentation to help identify the 
> specific filters that need improvement:
>
> https://github.com/Jermolene/TiddlyWiki5/issues/3941
>
> Best wishes
>
> Jeremy
>
>
> It's a bit raw out of the box and needs a lot polishing but works (see 
> example attached - note i'm behind a proxy firewall so a lot of external 
> ressources are blocked) - nearly 900 pages!!! Had to put this on a sharing 
> partner (available only 7 days and 100 downloads. Be fast! ;-) : 
> https://send.firefox.com/download/285dc36d71cf93d7/#Gj_WNWkdrRULJb6HUkOe5A
>
> You may play with it by yourself : get the "book.tid" macro and the 
> "TiddlyWiki-Book.tid" tiddlers in your own copy.
>
> cheers
>
> Sylvain
> @sycom
>
> Le mardi 28 mai 2019 09:24:11 UTC+2, TonyM a écrit :
>>
>> Folks,
>>
>> I have built a Linear Table Of Contents that appears in a single 
>> tiddlywiki, such as it would create a single tiddler with the content from 
>> the Table Of Contents. Its working well, but It fails due to the size of 
>> tiddlywiki.com (offline copy).
>>
>> I can list all the titles but if I transclude the content for each 
>> tiddler on clicking "done, the result is never displayed. The Wiki seems to 
>> freezes, and closing the browser the only option.
>>
>> I wonder if there are some settings that would allow it to work.
>>
>> Regards
>> Tony
>>
>> On Tuesday, May 28, 2019 at 11:13:24 AM UTC+10, TonyM wrote:
>>>
>>> Hi Tam,
>>>
>>> It is interesting to read your request. Tell us more how/where you will 
>>> use the resulting PDF?
>>>
>>> As Mat points out TiddlyWiki.com is non-linear, it is not a book, it 
>>> makes full use of an interactive table of contents, search and optional 
>>> paths. This is better organised that any PDF can be. I have actually built 
>>> a version of TiddlyWiki.com for the new user but it includes the 
>>> ability to take notes and more.
>>>
>>> Unless you plan to print your PDF can I ask where will you read your PDF 
>>> that you can't instead open the tiddlywiki itself? If you want to read 
>>> everything in a wiki, perhaps a button to tag each read tiddler with a 
>>> "read" tag.
>>>
>>> *Sticking to your original request.*
>>> If we come up with a good solution, perhaps others will also use this, 
>>> not just for tiddlywiki.com.
>>>
>>> Ideally if we could export it to pdf with the chapter headings in the 
>>> contents of the pdf and then use the search within pdf it may be almost as 
>>> easy to read it in pdf. This may actually be possible by generating a HTML 
>>> tiddler/file with the correct use of headings and sections etc... and 
>>> feeding this into a good html to PDF converter.
>>>
>>> But this could need lots of work, but it could be a worthwhile 
>>> investment as it would be a way to publish the content of TiddlyWiki as a 
>>> book, and some authors may want this. With careful design the one wiki 
>>> could 

[tw5] Re: Filter for all tiddlers whose title does not appear in the 'list' field of another tiddler?

2019-05-29 Thread Ed
Hi Tony. Thanks for your response. Would you be able to go into a little 
more detail? I had a look at the subfilter operator and fiddled with it for 
a bit but I'm not sure that I really understand it!

Not an answer but a possible approach. Have a look at using the subfilter 
> operator. A subfilter that lists the set of tiddlers, another that lists 
> the items to exclude.
>

Hi Bimlas. Thanks for your response. I'm not sure that the listed[] filter 
would work for this case. It lists tiddlers that list the input tiddlers, 
whereas I would want to list tiddlers that *are listed by* the input 
tiddlers.

I'm not sure I understand how you want to use it, but the `-[listed[]]`" 
> filter can filter out the tiddlers listed in the `list` (or any other) 
> field of other tiddlers.
>

I will give an example to make it clear what I am trying to do.

Tiddler A lists Tiddler B. Tiddler B lists Tiddler C. I want a filter that 
returns Tiddler A, since it is not listed by any of the other tiddlers. In 
this case listed[] returns A and B.

-- 
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/a1f9fb08-5f96-4eca-88ab-74792105fb08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Using $:/core/save/lazy-all seems to break list filters

2019-05-29 Thread Jeremy Ruston
Hi Alfalfa

> I have a lot of lists based on filters. I have defined many of my own fields 
> to filter through for these lists. I have megabytes upon megabytes of text in 
> the bodies of tiddlers.
> 
> To save time loading the front page, I switched to lazy loading using 
> $:/core/save/lazy-all. But now, my carefully arranged lists based on filters 
> no longer work. For just one example, the missing page list no longer shows 
> what pages are missing.

As you’ve found, the “Missing” tab is broken by the current implementation of 
lazy loading, because the underlying processing requires access to tiddlers 
“text” fields.

> Is there any way I could
> A. generate these lists server-side, or

Not at the moment, although I’ve taken the first steps with an experimental 
mechanism for invoking server side commands from the browser:

https://github.com/Jermolene/TiddlyWiki5/pull/3461 

> B. tell the lazy loader to load a few more fields I have defined, so my 
> filters actually show results again?

The lazy loading mechanism preloads all fields except the text field. All of 
your filters that don’t reference the text field should work OK.

Best wishes

Jeremy




> 
> -- 
> 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/a2533d00-9fc2-4241-bc7b-f8b6c6ce9322%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/676EB282-B39B-4261-8E63-8304535AECDE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filter for all tiddlers whose title does not appear in the 'list' field of another tiddler?

2019-05-29 Thread bimlas
I'm not sure I understand how you want to use it, but the `-[listed[]]`" 
filter can filter out the tiddlers listed in the `list` (or any other) 
field of other tiddlers. For example:

[all[tiddlers]] -[listed[]]

https://tiddlywiki.com/#listed%20Operator

2019. május 28., kedd 22:23:38 UTC+2 időpontban Ed a következőt írta:
>
> Hi there
>
> As in the title, I am trying to filter for all tiddlers whose title does 
> not appear in the 'list' field of another tiddler, and I can't seem to 
> figure it out.
>
> My specific case: I am using TiddlyMap, with edges generated using 
> tw-list:list. I want to apply custom node styling to all nodes that don't 
> have any edges going into them.
>
> Any help would be much appreciated!
>
> Thank you. Ed
>

-- 
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/0ac26f5f-c190-4ad2-8f1b-f87a2f6521d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filtering an "or" condition

2019-05-29 Thread PMario
On Sunday, May 26, 2019 at 8:51:56 AM UTC+2, Damon Pritchett wrote:
 

> Atchison Electric Motor & Street Railway
> Atchison Electric Street Railway
> Atchison Railway & Electric Light Company
> Atchison Railway, Electric Light & Power Company
>
> Now when I do this search: [search:title[Electric]] 
> [search:title[Street]], I only get the following:
>
> Atchison Railway & Electric Light Company
> Atchison Railway, Electric Light & Power Company
>
>
I did test this with tiddlywiki.com and it works as expected.  

So did you include plugins that mess with, or add new filter operators??

-m

-- 
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/31dacaf3-d297-4683-b40f-414dbaff0b79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.