Re: [tw] Re: New plugin : link completion in body

2017-04-30 Thread Alain Dutech
Glad to hear that from the both of you. Makes also my day :o)
Alain

On Sat, Apr 29, 2017 at 10:31 PM, Paolo Savio  wrote:

> Thanks a lot Alain, great job, it works perfectly for me
>
> Paolo
>
> --
> 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/ojCXpPWGTIY/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/1592a647-820e-411c-9ee5-d2d26e04e734%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/CAFF9YEEA4Ky5SZ_jQPHuT8%2Bhh8njHA5qGUYYh5WoSCQp2ZAy9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: New plugin : link completion in body

2017-04-29 Thread Alain Dutech
Anwers in the text

On Sat, Apr 29, 2017 at 6:35 PM, David Gifford 

> 1) Compatibility with the editor toolbar
>

This is exactly what this new version is doing. At least it works for me :
I have the toolbar editor and the "[[" completion in TW5.1.13.


> 2) Results turn up any instance of the text entered after [[, not just
> from the beginning of the tiddler.
>

As far as I understand it, this is also the case. If I have a tiddler
titled "my Favorite One" and I type "[[Fav" the tiddler "My Favorite One"
is suggested as completion.
But maybe I have not understood what you are asking for.


>
> But by mentioning those items, I don't want to take away from the
> brilliance of what you have already done. A big help indeed. Thanks again.
>

Thx.

Alain


>
> Dave
>
> On Sat, Apr 29, 2017 at 9:33 AM, Alain Dutech 
> wrote:
>
>> Hello,
>>
>> a new version of the completion plugin is available at
>> http://snowgoon88.github.io/TW5-extendedit
>>
>> (code at https://github.com/snowgoon88/TW5-extendedit)
>>
>> I've tested it rather quickly so, do not hesitate to point out bugs and
>> weird things... The older version (compatible with TW5.0.08 - TW5.1.11) is
>> still available at http://snowgoon88.github.io/TW
>> 5-extendedit/index_5.1.08.html
>>
>> Well, see you in the street for the 1st of May :o)
>>
>> Alain
>>
>> On Thu, Apr 27, 2017 at 10:51 PM, David Gifford 
>> wrote:
>>
>>> Can't wait to see it! This would be great if typing [[ activated it to
>>> show a list of tags or of tiddlers.
>>>
>>> Dave
>>>
>>> On Thu, Apr 27, 2017 at 3:48 PM, Alain Dutech 
>>> wrote:
>>>
>>>> Hello Jan (and others),
>>>>
>>>> I have managed to have both the toolbar version and the "simple"
>>>> version of the editor work with the completion popup. Now, I just need some
>>>> time to clean all this and to find a way to offer a "nice" plugin for this
>>>> new version.
>>>>
>>>> A matter of days, I hope.
>>>>
>>>> My main problem is to offer in a simple way BOTH the old plugin
>>>> (compatible with TW 5.1.11) and the new version, compatible only with
>>>> 5.1.13+ .
>>>>
>>>> Alain
>>>>
>>>>
>>>>
>>>> On Sat, Apr 22, 2017 at 11:28 PM, Alain Dutech 
>>>> wrote:
>>>>
>>>>> Hello Jan,
>>>>>
>>>>> sorry for the delay. I just re-opened TW today with a,look at the new
>>>>> version (5.1.13).
>>>>>
>>>>> I based my completion editor on the old "editor" module. So, if you
>>>>> use "comptext" (for link completion), you only have access to the old
>>>>> editor, without toolbar.
>>>>>
>>>>> I will look at the new editor logic so as to adapt my plugin to the
>>>>> toolbar editor. But don't expect too much, the use of an  makes
>>>>> some computation harder...
>>>>>
>>>>> Alain
>>>>>
>>>>> On Sat, Apr 8, 2017 at 10:32 PM, Jan  wrote:
>>>>>
>>>>>> Salut Alain,
>>>>>> I am longing to use your the completition-feature of your editor for
>>>>>> writing dialogues in scripts; I already made a new pattern for this.
>>>>>> Have you already figured out, why the Toolbar disappears?
>>>>>> At the moment I created a new Type called dialogue to use
>>>>>> comptext...but also there it would be very practical to create an xtra
>>>>>> toolbar for the roles actions and so on.
>>>>>>
>>>>>> yours Jan
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> have you had the timme to figure out why the editor toolbar
>>>>>> disappears when your Editor is switched on.
>>>>>>
>>>>>> Am 29.01.2017 um 19:47 schrieb Alain Dutech:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> yes. I remembered I noticed this misbehavior when I first tested the
>>>>>> toolbar. At the time, I did not take the time to investigate further. 
>>>>>> I'll
>>>>>> try to find some motivation to try to solve all th

Re: [tw] Re: New plugin : link completion in body

2017-04-29 Thread Alain Dutech
Hello,

a new version of the completion plugin is available at
http://snowgoon88.github.io/TW5-extendedit

(code at https://github.com/snowgoon88/TW5-extendedit)

I've tested it rather quickly so, do not hesitate to point out bugs and
weird things... The older version (compatible with TW5.0.08 - TW5.1.11) is
still available at
http://snowgoon88.github.io/TW5-extendedit/index_5.1.08.html

Well, see you in the street for the 1st of May :o)

Alain

On Thu, Apr 27, 2017 at 10:51 PM, David Gifford  wrote:

> Can't wait to see it! This would be great if typing [[ activated it to
> show a list of tags or of tiddlers.
>
> Dave
>
> On Thu, Apr 27, 2017 at 3:48 PM, Alain Dutech 
> wrote:
>
>> Hello Jan (and others),
>>
>> I have managed to have both the toolbar version and the "simple" version
>> of the editor work with the completion popup. Now, I just need some time to
>> clean all this and to find a way to offer a "nice" plugin for this new
>> version.
>>
>> A matter of days, I hope.
>>
>> My main problem is to offer in a simple way BOTH the old plugin
>> (compatible with TW 5.1.11) and the new version, compatible only with
>> 5.1.13+ .
>>
>> Alain
>>
>>
>>
>> On Sat, Apr 22, 2017 at 11:28 PM, Alain Dutech 
>> wrote:
>>
>>> Hello Jan,
>>>
>>> sorry for the delay. I just re-opened TW today with a,look at the new
>>> version (5.1.13).
>>>
>>> I based my completion editor on the old "editor" module. So, if you use
>>> "comptext" (for link completion), you only have access to the old editor,
>>> without toolbar.
>>>
>>> I will look at the new editor logic so as to adapt my plugin to the
>>> toolbar editor. But don't expect too much, the use of an  makes
>>> some computation harder...
>>>
>>> Alain
>>>
>>> On Sat, Apr 8, 2017 at 10:32 PM, Jan  wrote:
>>>
>>>> Salut Alain,
>>>> I am longing to use your the completition-feature of your editor for
>>>> writing dialogues in scripts; I already made a new pattern for this.
>>>> Have you already figured out, why the Toolbar disappears?
>>>> At the moment I created a new Type called dialogue to use
>>>> comptext...but also there it would be very practical to create an xtra
>>>> toolbar for the roles actions and so on.
>>>>
>>>> yours Jan
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> have you had the timme to figure out why the editor toolbar disappears
>>>> when your Editor is switched on.
>>>>
>>>> Am 29.01.2017 um 19:47 schrieb Alain Dutech:
>>>>
>>>> Hello,
>>>>
>>>> yes. I remembered I noticed this misbehavior when I first tested the
>>>> toolbar. At the time, I did not take the time to investigate further. I'll
>>>> try to find some motivation to try to solve all this. But February will be
>>>> quite busy...
>>>> I'll keep you informed.
>>>>
>>>> Alain
>>>>
>>>>
>>>> On Sun, Jan 22, 2017 at 6:48 AM, Matthew Petty <
>>>> matthewpett...@gmail.com> wrote:
>>>>
>>>>> I really love this plugin, but it seems that it conflicts with the new
>>>>> text editor toolbars. I think this is because you have to change the 
>>>>> editor
>>>>> type. Any ideas about a fix? I would like to have the new toolbars AND 
>>>>> keep
>>>>> the wonderful autocomplete!
>>>>>
>>>>> On Monday, 22 February 2016 23:43:20 UTC+4, Alain Dutech wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> if, like me, you are a bit lazy, I've made a plugin that could
>>>>>> interest you.
>>>>>> When editing a tiddler body, if you type `[[pattern`, a popup will
>>>>>> offer you a list of existing tiddlers that match your pattern.
>>>>>>
>>>>>> You can try/install it from http://snowgoon88.github.io/TW
>>>>>> 5-extendedit
>>>>>>
>>>>>> In the near futur you will be able to use UP and DOWN arrow keys to
>>>>>> select the link you'd like to select in the popup.
>>>>>>
>>>>>> Enjoy, suggest improvement, critic or signal bugs...
>>>>>>
>>>>&

Re: [tw] Re: New plugin : link completion in body

2017-04-27 Thread Alain Dutech
Hello Jan (and others),

I have managed to have both the toolbar version and the "simple" version of
the editor work with the completion popup. Now, I just need some time to
clean all this and to find a way to offer a "nice" plugin for this new
version.

A matter of days, I hope.

My main problem is to offer in a simple way BOTH the old plugin (compatible
with TW 5.1.11) and the new version, compatible only with 5.1.13+ .

Alain



On Sat, Apr 22, 2017 at 11:28 PM, Alain Dutech  wrote:

> Hello Jan,
>
> sorry for the delay. I just re-opened TW today with a,look at the new
> version (5.1.13).
>
> I based my completion editor on the old "editor" module. So, if you use
> "comptext" (for link completion), you only have access to the old editor,
> without toolbar.
>
> I will look at the new editor logic so as to adapt my plugin to the
> toolbar editor. But don't expect too much, the use of an  makes
> some computation harder...
>
> Alain
>
> On Sat, Apr 8, 2017 at 10:32 PM, Jan  wrote:
>
>> Salut Alain,
>> I am longing to use your the completition-feature of your editor for
>> writing dialogues in scripts; I already made a new pattern for this.
>> Have you already figured out, why the Toolbar disappears?
>> At the moment I created a new Type called dialogue to use comptext...but
>> also there it would be very practical to create an xtra toolbar for the
>> roles actions and so on.
>>
>> yours Jan
>>
>>
>>
>>
>>
>>
>>
>> have you had the timme to figure out why the editor toolbar disappears
>> when your Editor is switched on.
>>
>> Am 29.01.2017 um 19:47 schrieb Alain Dutech:
>>
>> Hello,
>>
>> yes. I remembered I noticed this misbehavior when I first tested the
>> toolbar. At the time, I did not take the time to investigate further. I'll
>> try to find some motivation to try to solve all this. But February will be
>> quite busy...
>> I'll keep you informed.
>>
>> Alain
>>
>>
>> On Sun, Jan 22, 2017 at 6:48 AM, Matthew Petty 
>> wrote:
>>
>>> I really love this plugin, but it seems that it conflicts with the new
>>> text editor toolbars. I think this is because you have to change the editor
>>> type. Any ideas about a fix? I would like to have the new toolbars AND keep
>>> the wonderful autocomplete!
>>>
>>> On Monday, 22 February 2016 23:43:20 UTC+4, Alain Dutech wrote:
>>>>
>>>> Hello,
>>>>
>>>> if, like me, you are a bit lazy, I've made a plugin that could interest
>>>> you.
>>>> When editing a tiddler body, if you type `[[pattern`, a popup will
>>>> offer you a list of existing tiddlers that match your pattern.
>>>>
>>>> You can try/install it from http://snowgoon88.github.io/TW5-extendedit
>>>>
>>>> In the near futur you will be able to use UP and DOWN arrow keys to
>>>> select the link you'd like to select in the popup.
>>>>
>>>> Enjoy, suggest improvement, critic or signal bugs...
>>>>
>>>> Snow.
>>>>
>>> --
>>> 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/to
>>> pic/tiddlywiki/ojCXpPWGTIY/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/ms
>>> gid/tiddlywiki/9f13a207-a86b-435d-a304-89d9090e2dbb%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tiddlywiki/9f13a207-a86b-435d-a304-89d9090e2dbb%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>
>>>
>>> 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/ms
>> gid/

Re: [tw] Re: New plugin : link completion in body

2017-04-22 Thread Alain Dutech
Hello Jan,

sorry for the delay. I just re-opened TW today with a,look at the new
version (5.1.13).

I based my completion editor on the old "editor" module. So, if you use
"comptext" (for link completion), you only have access to the old editor,
without toolbar.

I will look at the new editor logic so as to adapt my plugin to the toolbar
editor. But don't expect too much, the use of an  makes some
computation harder...

Alain

On Sat, Apr 8, 2017 at 10:32 PM, Jan  wrote:

> Salut Alain,
> I am longing to use your the completition-feature of your editor for
> writing dialogues in scripts; I already made a new pattern for this.
> Have you already figured out, why the Toolbar disappears?
> At the moment I created a new Type called dialogue to use comptext...but
> also there it would be very practical to create an xtra toolbar for the
> roles actions and so on.
>
> yours Jan
>
>
>
>
>
>
>
> have you had the timme to figure out why the editor toolbar disappears
> when your Editor is switched on.
>
> Am 29.01.2017 um 19:47 schrieb Alain Dutech:
>
> Hello,
>
> yes. I remembered I noticed this misbehavior when I first tested the
> toolbar. At the time, I did not take the time to investigate further. I'll
> try to find some motivation to try to solve all this. But February will be
> quite busy...
> I'll keep you informed.
>
> Alain
>
>
> On Sun, Jan 22, 2017 at 6:48 AM, Matthew Petty 
> wrote:
>
>> I really love this plugin, but it seems that it conflicts with the new
>> text editor toolbars. I think this is because you have to change the editor
>> type. Any ideas about a fix? I would like to have the new toolbars AND keep
>> the wonderful autocomplete!
>>
>> On Monday, 22 February 2016 23:43:20 UTC+4, Alain Dutech wrote:
>>>
>>> Hello,
>>>
>>> if, like me, you are a bit lazy, I've made a plugin that could interest
>>> you.
>>> When editing a tiddler body, if you type `[[pattern`, a popup will offer
>>> you a list of existing tiddlers that match your pattern.
>>>
>>> You can try/install it from http://snowgoon88.github.io/TW5-extendedit
>>>
>>> In the near futur you will be able to use UP and DOWN arrow keys to
>>> select the link you'd like to select in the popup.
>>>
>>> Enjoy, suggest improvement, critic or signal bugs...
>>>
>>> Snow.
>>>
>> --
>> 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/to
>> pic/tiddlywiki/ojCXpPWGTIY/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/ms
>> gid/tiddlywiki/9f13a207-a86b-435d-a304-89d9090e2dbb%40googlegroups.com
>> <https://groups.google.com/d/msgid/tiddlywiki/9f13a207-a86b-435d-a304-89d9090e2dbb%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>
>>
>> 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/CAFF9YEGxNE5R58iTcLCsoGNXaT0yXJF7sq2E7Td%3D4iq%2BXJJU0A%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/tiddlywiki/CAFF9YEGxNE5R58iTcLCsoGNXaT0yXJF7sq2E7Td%3D4iq%2BXJJU0A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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/ojCXpPWGTIY/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.c

Re: [tw] Re: New plugin : link completion in body

2017-01-29 Thread Alain Dutech
Hello,

yes. I remembered I noticed this misbehavior when I first tested the
toolbar. At the time, I did not take the time to investigate further. I'll
try to find some motivation to try to solve all this. But February will be
quite busy...
I'll keep you informed.

Alain


On Sun, Jan 22, 2017 at 6:48 AM, Matthew Petty 
wrote:

> I really love this plugin, but it seems that it conflicts with the new
> text editor toolbars. I think this is because you have to change the editor
> type. Any ideas about a fix? I would like to have the new toolbars AND keep
> the wonderful autocomplete!
>
> On Monday, 22 February 2016 23:43:20 UTC+4, Alain Dutech wrote:
>>
>> Hello,
>>
>> if, like me, you are a bit lazy, I've made a plugin that could interest
>> you.
>> When editing a tiddler body, if you type `[[pattern`, a popup will offer
>> you a list of existing tiddlers that match your pattern.
>>
>> You can try/install it from http://snowgoon88.github.io/TW5-extendedit
>>
>> In the near futur you will be able to use UP and DOWN arrow keys to
>> select the link you'd like to select in the popup.
>>
>> Enjoy, suggest improvement, critic or signal bugs...
>>
>> Snow.
>>
> --
> 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/ojCXpPWGTIY/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/9f13a207-a86b-435d-a304-89d9090e2dbb%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/9f13a207-a86b-435d-a304-89d9090e2dbb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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/CAFF9YEGxNE5R58iTcLCsoGNXaT0yXJF7sq2E7Td%3D4iq%2BXJJU0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Tiddlyfox not saving anymore on Firefox 47.0

2016-07-01 Thread Alain Dutech
@Jeremy : exactly; you are right.
Somehow, "root" had become the owner of my directory... Well..
Sorry for the noise.

Alain

On Fri, Jul 1, 2016 at 9:38 AM, Jeremy Ruston 
wrote:

> Hi Alain
>
> TiddlyFox definitely works with Firefox 47 64-bit.
>
> One possibility is that there is an issue with the pathname that you’re
> using to save the file: users have reported problems with paths that
> contain spaces or accented characters.
>
> The error message you’re getting is “access denied”, which suggests that
> the TiddlyFox process doesn’t have sufficient permissions to write to the
> directory that you’re using to save the file. It may be worth checking
> permissions on the folder and the file.
>
> Best wishes
>
> Jeremy
>
> On 1 Jul 2016, at 08:29, Alain Dutech  wrote:
>
> Hello,
>
> I've updated my linux to ubuntu 16.04, 64bits. It comes with Firefox 47.0.
> And the Tiddlyfox extention is not working any more => unable to save.
>
> Exception... "Component returned failure code: 0x80520015
> (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]"  nsresult:
> "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame ::
> chrome://tiddlyfox/content/overlay.js :: TiddlyFox.saveFile :: line 98"
> data: no]
>
> Is it only me ? Any forseen workaround ??
>
> Alain
>
> --
> 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/d28af0bd-c89b-4b9d-ae3a-dc0d07f345c2%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/d28af0bd-c89b-4b9d-ae3a-dc0d07f345c2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/p1lms-DE5IE/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/C6256EBD-BF79-4930-BB27-F4F893FA3C5F%40gmail.com
> <https://groups.google.com/d/msgid/tiddlywiki/C6256EBD-BF79-4930-BB27-F4F893FA3C5F%40gmail.com?utm_medium=email&utm_source=footer>
> .
>
> 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/CAFF9YEGNB4FU1p67%2B2ERqFy6r1XQx_Vr6Zq5LJrOeLi73uy4wg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Tiddlyfox not saving anymore on Firefox 47.0

2016-07-01 Thread Alain Dutech
Hello,

I've updated my linux to ubuntu 16.04, 64bits. It comes with Firefox 47.0.
And the Tiddlyfox extention is not working any more => unable to save.

Exception... "Component returned failure code: 0x80520015 
(NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]"  nsresult: 
"0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: 
chrome://tiddlyfox/content/overlay.js :: TiddlyFox.saveFile :: line 98"  
data: no]

Is it only me ? Any forseen workaround ??

Alain

-- 
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/d28af0bd-c89b-4b9d-ae3a-dc0d07f345c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: New plugin : link completion in body

2016-04-04 Thread Alain Dutech
Hello,
a quick 'UP' to tell you the new version of the completion plugin is ready
to test.
 - (for @Matt) : you can now use the completion plugin to insert the body
of tiddlers. So, this allow for "stamps" or "snippets" or "pieces of text".
I do not know the right term. (see the examples)
 - for developpers, the completion module is now nearly self sufficient, so
it should be easier (I didn't say 'easy') to add it to the upcoming 5.1.12
version of TW5 with the toolbar
 - I haven't had the occasion to debug on a Mac, so as noticed by @Sylvain,
this is likely to *not* *work* on MacOS+Firefox/Chrome...

As usual, you can try/install it from
http://snowgoon88.github.io/TW5-extendedit
Source code at https://github.com/snowgoon88/TW5-extendedit

Remarks, bugs, suggestions are all welcomed.
Alain

On Thu, Mar 24, 2016 at 7:16 AM, Matthew Petty 
wrote:

> Just to say, this is fantastic. Thank you so much! I've been hoping for
> something like this for ages. It makes note-taking so much quicker.
>
> On Monday, February 22, 2016 at 11:43:20 PM UTC+4, Alain Dutech wrote:
>>
>> Hello,
>>
>> if, like me, you are a bit lazy, I've made a plugin that could interest
>> you.
>> When editing a tiddler body, if you type `[[pattern`, a popup will offer
>> you a list of existing tiddlers that match your pattern.
>>
>> You can try/install it from http://snowgoon88.github.io/TW5-extendedit
>>
>> In the near futur you will be able to use UP and DOWN arrow keys to
>> select the link you'd like to select in the popup.
>>
>> Enjoy, suggest improvement, critic or signal bugs...
>>
>> Snow.
>>
> --
> 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/ojCXpPWGTIY/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/3fa02ff4-8848-47f8-b858-e75bcea6407c%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/3fa02ff4-8848-47f8-b858-e75bcea6407c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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/CAFF9YEHGigywOCfGBS4v%2B7x9vkMG%2B1EsMbuW5%2BMkAFXrbEBOFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [tw5] Introducing new text editor toolbar

2016-03-28 Thread Alain Dutech
About completion : Thank you for taking the time to answer me. I'll play
with both cases and see what comes out of the "stable" 5.12 release to,
then, finalize my approach.
Alain

On Sat, Mar 26, 2016 at 7:18 PM, Jeremy Ruston 
wrote:

> Hi Alain
>
> while I'm not a great fan of toolbars (I usually unview them), I must say
> that Jeremy did a great and nice work. And this will greatly enhance people
> usablility of TW5.
>
>
> Thanks!
>
> Nevertheless, I even tried to add "my" completion popup window in this new
> text-iframe widget. (see http://snowgoon88.github.io/TW5-extendedit). In
> the "module" branch I modified the module so that it can be easily included
> to any textarea and I tried to add it to the text-iframe. But this poses
> problem within the iframe element...
>
> 1) if I create my "popup" div element alongside the this.iframeTextArea of
> the widget, the CSS rules are messed up because of the "new" document of
> the iframe.
> 2) if I create my "popup" div element outside of the iframe, as a sibling
> of the this.dummyTextArea  of the widget, the popup looks fine but then
> the computation of the position of the popup is rather hard to compute (up
> to now).
>
>
> I’d recommend option (2), mainly because I intend to refactor things so
> that the edit-text widget optionally wraps the textarea in an iframe, so
> your code will need to cope with both cases.
>
> Well... Anyone knows how I could somehow transfer the CSS definition of my
> popup elements so that they apply and are reconised inside the "#document"
> of the iframe ?? That would help me a lot.
> Is this the purpose of the following lines in the widget ? No other way
> around ?
>
>
> Sadly, yes, this is the only working approach beyond replicating all the
> style definitions within the iframe. It’s not perfect though; for example,
> hover effects won’t get transferred. Anyhow, we maybe should refactor it
> into the dom utility module.
>
>
> Again, "bravo" and nice job.
>
>
> Thanks, and likewise with the autocompletion functionality, it’s great to
> have, and I hope I can help get it working well with the new toolbar stuff.
>
> Best wishes
>
> Jeremy
>
> Alain
> PS : my plan would be to be able to also "stamp" by using a slight
> deviation of the completion popup...
>
>
>
> --
> 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/7c9db70f-65ca-44f3-b324-d9065ca3e749%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/6yUkcDzp7ko/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/CEC08DA3-47F7-46FC-9254-AF0638BBF36D%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/CAFF9YEF57EMi3PwHrBmt_LMNjMCNvH8fJZMh2JN3MsA%3Dav%2B9%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5] Introducing new text editor toolbar

2016-03-23 Thread Alain Dutech

Hello,

while I'm not a great fan of toolbars (I usually unview them), I must say 
that Jeremy did a great and nice work. And this will greatly enhance people 
usablility of TW5.

Nevertheless, I even tried to add "my" completion popup window in this new 
text-iframe widget. (see http://snowgoon88.github.io/TW5-extendedit). In 
the "module" branch I modified the module so that it can be easily included 
to any textarea and I tried to add it to the text-iframe. But this poses 
problem within the iframe element...

1) if I create my "popup" div element alongside the this.iframeTextArea of 
the widget, the CSS rules are messed up because of the "new" document of 
the iframe. 
2) if I create my "popup" div element outside of the iframe, as a sibling 
of the this.dummyTextArea  of the widget, the popup looks fine but then the 
computation of the position of the popup is rather hard to compute (up to 
now).

Well... Anyone knows how I could somehow transfer the CSS definition of my 
popup elements so that they apply and are reconised inside the "#document" 
of the iframe ?? That would help me a lot.
Is this the purpose of the following lines in the widget ? No other way 
around ?

// Copy the styles from the dummy textarea
var textAreaStyles = window.getComputedStyle(this.dummyTextArea,null),
styleText = [];
$tw.utils.each(textAreaStyles,function(name,index) {
styleText.push(name + ": " + textAreaStyles[name] + ";");
});
this.iframeTextArea.style.cssText = styleText.join("");
this.iframeTextArea.style.display = "block";
this.iframeTextArea.style.width = "100%";


Again, "bravo" and nice job.
Alain
PS : my plan would be to be able to also "stamp" by using a slight 
deviation of the completion popup...


-- 
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/7c9db70f-65ca-44f3-b324-d9065ca3e749%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: New plugin : link completion in body

2016-03-22 Thread Alain Dutech
Hello Mat,

it is explained in the tiddler $:/plugins/snowgoon88/edit-comptext/usage
The link below should get you there.
http://snowgoon88.github.io/TW5-extendedit/#%24%3A%2Fplugins%2Fsnowgoon88%2Fedit-comptext%2Fusage

About your specific questions:

On Tue, Mar 22, 2016 at 1:19 PM, Mat  wrote:

>
> I don't quite understand how to create a customer trigger though.
> And I can't understand where in your example " trigger. It doesn't seem to be the macro defined in "PNJ macro for the
> example".
>

It is in the config file $:/plugins/snowgoon88/edit-comptext/config. And
yes, '
> 1) How would I set, say, @ to be the trigger?
>
see example below

> 2) How do I make it show a list of, say, people names? Would the names
> have to be tiddlers and perhaps tagged something?
>
=> yes, for the moment. Say you tag these tiddlers with "people"

> 3) ...and where do I specify that filter operator you refer to? I can see
> no explanation for this.
>
> in the config file $:/plugins/snowgoon88/edit-comptext/config, in the
"template" array, you would add a 'template' like

  {
  "pattern": "@",
  "filter": "[tag[people]!is[system]]",
  "start": "<>"
  },

the 'start' and 'end' strings are added before and after the completion
chosen.

Alain

Really exciting stuff - thanks again Alain!
>
> <:-)
>
> --
> 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/ojCXpPWGTIY/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/fa852d66-6040-4228-b445-6132897f2763%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/CAFF9YEFhfSd6H5Tbkv5otracaDhv%2BSbOhHhCb8BKHEyjzYaO%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: New plugin : link completion in body

2016-03-22 Thread Alain Dutech
Hello,
small update of the completion plugin : you can now define your own
completion trigger (ex: '[[' or '<<' or whatever you want) and give a
filter operator (like [all[tiddlers]] or [tag[STHING]!is[system]]) to the
completion plugin. And it should work.

As usual, try and install from http://snowgoon88.github.io/TW5-extendedit

My next moves will most certainly be :
 - allow completion also from a list/array of strings instead of specifying
a filter operator
 - on a dev side, try to make it possible to have a completion+popup module
easy to add to any edit-like widget by simply using something like
require('path/to/completion.js');
var completion = Completion( editLikeWidget, completionOptions );
in javascript tiddlers
 - try it on plugins mentionned in previous mails on this thread (see
Mat+Jon)

But, I am in no hurry...

Alain

On Sun, Mar 20, 2016 at 3:05 PM, ken robertson 
wrote:

> G'day Alain,
>
> Your plugin is quite neat.  You might consider adding the plugin's details
> to the Community Search wiki.
>
> http://erwanm.github.io/tw-community-search/#AuthorDocumentation
>
> --
> Regards
> Ken
>
> On 12 March 2016 at 09:59, Alain Dutech  wrote:
>
>> @Mat+Jon : in short, I don't know if it is easiliy compatible with
>> something else than my modified editor. But I've tried to have it as
>> modular as possible. I'll try to check on the various elements you have
>> mentionned and change things if not.
>>
>> In fact, I'm happy with the version I have now as it fulfill my needs  BUT
>>  1) I find it fun to make it more generic by having users associate
>> triggers (ex '[[') with TW5 filters so as to be as generic as possible. I
>> will definitely work on that in the near future. I just need to understand
>> the TW5 API to use filters.
>>  2) try the completion popup module on various elements cited in your
>> mails. But this is less a priority for me.
>>
>> I'll keep the mailing list informed.
>>
>> Alain
>>
>> On Wed, Mar 9, 2016 at 5:26 PM, Jon  wrote:
>>
>>> Also, could it be used within Mat's SideEditor plugin? That would be the
>>> height of laziness!
>>>
>>> Regards
>>> Jon
>>>
>>> On Wednesday, 9 March 2016 10:58:43 UTC, Mat wrote:
>>>>
>>>> Alain, thank you for this!
>>>>
>>>> It is sparking lots of wonderful ideas. The fact that it pops up at the
>>>> very spot you're at in the text is very valuable.
>>>>
>>>> Could it be made more generic so to trigger on also other things than
>>>> "[[" and so the user can decide what is shown in the popup?
>>>>
>>>> I'm thinking of a Stamp tool, like what Jeremy just relased with the text
>>>> editor toolbar
>>>> <https://groups.google.com/forum/#!topic/tiddlywiki/6yUkcDzp7ko> and
>>>> related to my select feature in QuickTid
>>>> <http://quicktid.tiddlyspot.com/> - but having a stamp tool appear
>>>> at-the-spot and automatically from typing would be superior. It makes it
>>>> also inte a text auto-completion tool.
>>>>
>>>> Another specifi use would be a better way to add *tags*. The current
>>>> tag pills procedure in edit mode is a bit static in that you cannot change
>>>> a tag without deleting it. Previously (in TW2) there was a single tags
>>>> field but you didn't get clues about existing tags and it was easy to
>>>> misspell. Edit comp could bring the best of two worlds; tags really
>>>> presented like text (not pills) in edit mode, i.e simple to edit AND with
>>>> edit-comp clues when typing them.
>>>>
>>>> Really exciting!
>>>>
>>>> <:-)
>>>>
>>> --
>>> 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/ojCXpPWGTIY/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/314b01f5-2f56-4088-942e-928dc97b0415%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tiddlywiki/314b01f5-2f56-4088-942e-928

Re: [tw] Re: New plugin : link completion in body

2016-03-11 Thread Alain Dutech
@Mat+Jon : in short, I don't know if it is easiliy compatible with
something else than my modified editor. But I've tried to have it as
modular as possible. I'll try to check on the various elements you have
mentionned and change things if not.

In fact, I'm happy with the version I have now as it fulfill my needs  BUT
 1) I find it fun to make it more generic by having users associate
triggers (ex '[[') with TW5 filters so as to be as generic as possible. I
will definitely work on that in the near future. I just need to understand
the TW5 API to use filters.
 2) try the completion popup module on various elements cited in your
mails. But this is less a priority for me.

I'll keep the mailing list informed.

Alain

On Wed, Mar 9, 2016 at 5:26 PM, Jon  wrote:

> Also, could it be used within Mat's SideEditor plugin? That would be the
> height of laziness!
>
> Regards
> Jon
>
> On Wednesday, 9 March 2016 10:58:43 UTC, Mat wrote:
>>
>> Alain, thank you for this!
>>
>> It is sparking lots of wonderful ideas. The fact that it pops up at the
>> very spot you're at in the text is very valuable.
>>
>> Could it be made more generic so to trigger on also other things than
>> "[[" and so the user can decide what is shown in the popup?
>>
>> I'm thinking of a Stamp tool, like what Jeremy just relased with the text
>> editor toolbar
>>  and
>> related to my select feature in QuickTid
>>  - but having a stamp tool appear
>> at-the-spot and automatically from typing would be superior. It makes it
>> also inte a text auto-completion tool.
>>
>> Another specifi use would be a better way to add *tags*. The current tag
>> pills procedure in edit mode is a bit static in that you cannot change a
>> tag without deleting it. Previously (in TW2) there was a single tags field
>> but you didn't get clues about existing tags and it was easy to misspell.
>> Edit comp could bring the best of two worlds; tags really presented like
>> text (not pills) in edit mode, i.e simple to edit AND with edit-comp clues
>> when typing them.
>>
>> Really exciting!
>>
>> <:-)
>>
> --
> 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/ojCXpPWGTIY/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/314b01f5-2f56-4088-942e-928dc97b0415%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/CAFF9YEGDgPETwtdc-etO9Qax4%3DPZDaqrQPdybOcHTuKjwxe2GA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: New plugin : link completion in body

2016-03-08 Thread Alain Dutech
@CL : thanks for reporting that. But I have no access to Windows10, so I
have no solution right now. I'll ask around and try to debug this.

Alain

On Tue, Mar 8, 2016 at 10:22 AM, CL  wrote:

> Hi Alian. Thanks for sharing awesome plugin! I really like the plugin.
>
> This is not a huge problem but just letting you know that It doesn't work
> when I use Windows 10 default virtual touch keyboard.
> It happens for all browsers in Windows 10.
>
> 2016년 2월 23일 화요일 오전 4시 43분 20초 UTC+9, Alain Dutech 님의 말:
>>
>> Hello,
>>
>> if, like me, you are a bit lazy, I've made a plugin that could interest
>> you.
>> When editing a tiddler body, if you type `[[pattern`, a popup will offer
>> you a list of existing tiddlers that match your pattern.
>>
>> You can try/install it from http://snowgoon88.github.io/TW5-extendedit
>>
>> In the near futur you will be able to use UP and DOWN arrow keys to
>> select the link you'd like to select in the popup.
>>
>> Enjoy, suggest improvement, critic or signal bugs...
>>
>> Snow.
>>
> --
> 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/ojCXpPWGTIY/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/61ebcc0b-2f4f-4cac-bb4d-cbfe52ba2535%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/61ebcc0b-2f4f-4cac-bb4d-cbfe52ba2535%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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/CAFF9YEFTnjVkSmvr3cXf4GqiUyLGpG%3DyHfjowZ6TpGZHsgGrKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: New plugin : link completion in body

2016-03-06 Thread Alain Dutech
@mondayrobot : let me know if something is wrong on Firefox+Win. I can
sometime have access to such a platform and could try to fix it.

@everyone : a new version of the plugin is available, with a small CSS fix
(no more bullets) and a configuration tiddler (swith case sensitive /
insensitive)

You can try/install it from http://snowgoon88.github.io/TW5-extendedit
Enjoy, suggest improvement, critic or signal bugs...

Snow

On Sat, Mar 5, 2016 at 9:11 PM, mondayrobot  wrote:

>
>>> 1. Maybe make it possible to identify the pattern not only with the
>>> first letters, but in all the tiddler title. For instance if I start
>>> writing "[[pat " I would get a list with the tiddlers "Patterns in nature"
>>> and "Quilting patterns". Sometimes you don't know the exact name of a
>>> tiddler (without searching), but you have a general idea.
>>>
>>
>> That should already be the case. In the demo, if you type [[Fo, it gives
>> you "hisFor" as a possible link, no?
>>
>
> Thank you for your help. I was trying it at work, and it didn't seem to
> work (Firefox on Win). Now I'm at my home computer (Firefox on Linux) and
> it works just fine. I'll check again on monday, probably I did something
> wrong.
>
> And thanks for the case sensitivity solution :)
>
> --
> 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/ojCXpPWGTIY/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/a0f53d8e-5fd9-4e4d-95ac-ba204bba2665%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/CAFF9YEGQS4F_oksg2-XVz-1nvLSHEpt-knpJXABaO23L8Tu5_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: New plugin : link completion in body

2016-03-03 Thread Alain Dutech
Hello Mr Robot :o)
On Thu, Mar 3, 2016 at 4:14 PM, mondayrobot  wrote:

> Hello Alain,
>
> This is a phenomenal plugin for quick linking and creating relationships
> between tiddlers, thank you!
>
Thanks.

>
> There are a couple of things that I think would be nice:
> 1. Maybe make it possible to identify the pattern not only with the first
> letters, but in all the tiddler title. For instance if I start writing
> "[[pat " I would get a list with the tiddlers "Patterns in nature" and
> "Quilting patterns". Sometimes you don't know the exact name of a tiddler
> (without searching), but you have a general idea.
>

That should already be the case. In the demo, if you type [[Fo, it gives
you "hisFor" as a possible link, no?


> 2. Related to the first one, if possible make the "search" case
> insensitive
>

Yep, I'll make that an option in the next release (before end of march).
Meanwhile, you can make this search case INsensitive with some (simple)
steps.

1) Open System Tiddler named "$:/plugins/snowgoon88/edit-comptext"
2) From there, open "$:/plugins/snowgoon88/edit-comptext.js" (answer yes to
the question about modifiying a shadow/system tiddler)
3) Edit the tiddler body and in the javascrip function :
this._findBestMatches = function
replace

var regpat = RegExp( this._regExpEscape(pattern));

by

var regpat = RegExp( this._regExpEscape(pattern), "i" );

Save and reload...

Alain.

Thanks again,

> --
> 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/ojCXpPWGTIY/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/de9f7f7f-364c-44cc-a032-9227e0041a96%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/CAFF9YEHveCAjOUK_HNmtsDARdDNrFyG61jhbZ7jWW-c3had2KQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: New plugin : link completion in body

2016-02-29 Thread Alain Dutech
Hello,

an updated version of my completion plugin is available. This time you can :
 - enter completion mode with [[ or CTRL+SPACE
 - if pattern is at leat 2 letters long, a popup with matchind tiddlers
appears
 - use BACKSPACE, LEFT/RIGHT, DEL while in completion mode
 - use UP/DOWN to select a completion option
 - validate your choice using ENTER
 - quit completion mode using ESC

You can try/install it from http://snowgoon88.github.io/TW5-extendedit

Of course, all feedbacks are welcome,
Alain


On Tue, Feb 23, 2016 at 5:54 PM, Alain Dutech  wrote:

>
> Hi Tobias;
> On Mon, Feb 22, 2016 at 9:31 PM, Tobias Beer  wrote:
>
>>
>> 1) Please upgrade that wiki, its edit-template is still broken in your
>> pre-release version.
>>
>> I do not clearly understand what you are talking about. You mean I should
> step up to TW5 version 5.1.11 ? I'll do.
>
>
>> 2) If at all possible, I think the popup should show / reopen with any
>> letter typed so long as there are two opening square brackets that are
>> unclosed... immediately before the caret position. Atm, you have to get it
>> right the first time around, otherwise it's gone, e.g. if you use any
>> arrows,or backspace, etc.
>>
>> Yep, the current behavior was my first (and simple) intent but I see the
> advantage of what you suggest. I'll try to do that, but it means I have to
> rethink my internal 'detection' of a pattern. But definitely feasible.
>
>
>> Some feedback:
>>
>>- Trigger completion with Ctrl+Space
>>- good idea
>>
>> Should be easier once the previous suggestion will be coded.
>
>>
>>- Use ARROWS to navigate the popupwindow
>>- definitely, up and down + enter
>>- Not sure : my way of having a popup window is also crude and
>>low-level.
>>- haven't looked at the code, but I guess that's necessary
>>- Not sure : should I delete the popupNode DomNode (popupWindow)
>>explicitely or is it automatically taken care of by the TW5 engine ?
>>- I think your popup should not be a standard TiddlyWiki popup
>>   - those are simply too limited in many ways, including positioning
>>
>> Best wishes,
>>
>
> Thanks for your return and suggestions.
>
> Alain
>
>
>>
>> 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/ojCXpPWGTIY/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/8709d39f-7ddf-4440-8c76-0fc14e7dcf07%40googlegroups.com
>> <https://groups.google.com/d/msgid/tiddlywiki/8709d39f-7ddf-4440-8c76-0fc14e7dcf07%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> 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/CAFF9YEE1RjJSruB5YogsPtENcM2h1SfXSuijRh-7HAJioQtgOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: New plugin : link completion in body

2016-02-23 Thread Alain Dutech
Hi Tobias;
On Mon, Feb 22, 2016 at 9:31 PM, Tobias Beer  wrote:

>
> 1) Please upgrade that wiki, its edit-template is still broken in your
> pre-release version.
>
> I do not clearly understand what you are talking about. You mean I should
step up to TW5 version 5.1.11 ? I'll do.


> 2) If at all possible, I think the popup should show / reopen with any
> letter typed so long as there are two opening square brackets that are
> unclosed... immediately before the caret position. Atm, you have to get it
> right the first time around, otherwise it's gone, e.g. if you use any
> arrows,or backspace, etc.
>
> Yep, the current behavior was my first (and simple) intent but I see the
advantage of what you suggest. I'll try to do that, but it means I have to
rethink my internal 'detection' of a pattern. But definitely feasible.


> Some feedback:
>
>- Trigger completion with Ctrl+Space
>- good idea
>
> Should be easier once the previous suggestion will be coded.

>
>- Use ARROWS to navigate the popupwindow
>- definitely, up and down + enter
>- Not sure : my way of having a popup window is also crude and
>low-level.
>- haven't looked at the code, but I guess that's necessary
>- Not sure : should I delete the popupNode DomNode (popupWindow)
>explicitely or is it automatically taken care of by the TW5 engine ?
>- I think your popup should not be a standard TiddlyWiki popup
>   - those are simply too limited in many ways, including positioning
>
> Best wishes,
>

Thanks for your return and suggestions.

Alain


>
> 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/ojCXpPWGTIY/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/8709d39f-7ddf-4440-8c76-0fc14e7dcf07%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/CAFF9YEGB%2BasGWF%3D7P3x%2BFTK08_7wnTTjKW78UUgvd%2BqpuBSXSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] New plugin : link completion in body

2016-02-22 Thread Alain Dutech
Hello,

if, like me, you are a bit lazy, I've made a plugin that could interest you.
When editing a tiddler body, if you type `[[pattern`, a popup will offer 
you a list of existing tiddlers that match your pattern.

You can try/install it from http://snowgoon88.github.io/TW5-extendedit

In the near futur you will be able to use UP and DOWN arrow keys to select 
the link you'd like to select in the popup.

Enjoy, suggest improvement, critic or signal bugs...

Snow.

-- 
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/8e36ae33-a515-4e4d-817f-bbab0cc6504f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Add "missing" fields ?

2015-05-08 Thread Alain Dutech

Hi,

I do not know how to implement the following need to my tiddlywiki.

Imagine I have a TemplateTiddler with several different fields (for example 
'name', 'age', 'location') and tags.
I create "by hand" a tiddler NewGuy with only the 'name' field and no tags.

How would you add a button (somewhere like in the sidebar? or in the 
TemplateTiddler or elsewhere?) that adds all missing fields (ie 'age' and 
'location') and tags to my NewGuy tiddler ??

Any idea? Is this even possible ?

Thanks,
Alain

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/85a26396-08ec-4e87-b38b-2225e201aa4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: On the fly completions/suggestions

2014-11-19 Thread Alain Dutech
On Wed, Nov 19, 2014 at 10:49 AM, Danielo Rodríguez 
wrote
>
>
> I have plans to adapt my keyboard snippets plugin to this kind of
> functionality. Maybe I can implement a hotkey to suggest tiddlers
> completions, or, at least, complete with the closest one.
>

That would be very handy. :o)
I will even try to find the time to look at your keyboard snippet.


And, I'm not an expert at all, but is Ace easier to hack / use / imbed in
TW5 than CodeMirror ?

Alain




>  --
> 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/JPLow_GBP9U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: On the fly completions/suggestions

2014-11-19 Thread Alain Dutech
@Danielo : yes, I though this up only after posting and agree that it is a
bit difficult. I don't know how much ressources wuold be eaten by parsing
the key pressed. I haven't tried codemirro. It would be a difficult task to
hack it ? What is the "default" editor used in TW (if any) ?

@Tobias : the toolbar (in the editor ?) would also be a nice idea, yep.
Especially if you had a "search form" where entering the first letter of a
tiddle gave the opportunity to add the link to this tiddler in the text.

Thanks, both of you, for these feedbacks.
Alain


On Tue, Nov 18, 2014 at 11:29 PM, Tobias Beer  wrote:

> I think I'd much rather prefer an extensible toolbar that allows inserting
> all kinds of content, e.g. macro skeletons.
>
> For example, with the ui to add a new tag being (a bit more of) a generic
> thing, it could be reused to...
>
>1. open the popup using an "insert link" button
>2. filter tiddler titles rather than just tags
>- perhaps with an option to search all tiddlers, including system &
>   shadows
>   3. insert a [[link]] at the end of the textfield
>
> 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/JPLow_GBP9U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: On the fly completions/suggestions

2014-11-18 Thread Alain Dutech

Hello,
I am "upping" this topic again.

I am still looking for a way to suggest "link completions" in tiddler 
editing. 
For example, 
I'm typing "When we arrive at [[Hol"
the editor suggests "[[HolidayLocation]]" based on the existing tiddlers.
I type ENTER to validate and keep typing, or wave it out by keeping typing 
"lyday Inn" :o)

If this functionnality does not exists, could someone point me to some 
starting point. I'm even willing to help develop a plugin for this.

Alain

On Thursday, September 11, 2014 12:38:52 AM UTC+2, c pa wrote:
>
> Alain,
>
> (From the Tiddlywiki roadmap)
>
> Some important features were deferred to be added after the beta:
>
>- Keyboard snippet expansion in the text editor
>
> Chime in anyone if there is a plugin out there that does this
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: On the fly completions/suggestions

2014-09-10 Thread Alain Dutech
Thx for the answer. I'll wait then :o)
Should I learn javascript in the meantime to help the developpers ?

On Thu, Sep 11, 2014 at 12:38 AM, 'c pa' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> Alain,
>
> (From the Tiddlywiki roadmap)
>
> Some important features were deferred to be added after the beta:
>
>- Keyboard snippet expansion in the text editor
>
> Chime in anyone if there is a plugin out there that does this
>
> --
> 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/JPLow_GBP9U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] On the fly completions/suggestions

2014-09-10 Thread Alain Dutech

I have tried to search this forum but found no mention of feature that I 
would find awesome.

So, is it possible, when you are editing a tiddler (for exemple its body 
field) to "monitor" what the user is typing and suggest some completion 
based on the current word.

For example, I already have a tiddler "HolidayLocation" and I'm editing the 
content of another tiddler.
I'm typing "When we arrive at Hol"
the editor suggests "[[HolidayLocation]]" based on the existing tiddlers.
I type ENTER to validate and keep typing, or wave it out by keeping typing 
"lyday Inn" :o)

The suggestion could be shown in a popup, with several choices if any. 
Selection with arrow ? ENTER to validate ? ESC to wave out...

Well, I hope I'm clear.

Has it be done? How? Could it be done ?

Cheers,
Alain

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] AutomatedLinkUpdate

2014-05-27 Thread Alain Dutech
Thanks Jeremy, with the new version, it works a I intended. That's nice.
Alain


On Mon, May 12, 2014 at 6:25 PM, Jeremy Ruston wrote:

> Hi Xavier
>
>>
>> Speaking of sequences, let's say I have a few titles in the list field of
>> a ToC tiddler : [[Introduction]] [[My second chapter]] [[Here is the third
>> one]].
>>
>> I'd like to count the number of tiddlers before the current tiddler, in
>> order to display for instance "Chapter *2* : My second chapter" from
>> <$count
>> filter="[all[current]operation-that-returns-the-sublist-upto-the-current-tiddler]"/>.
>> Is there a way to achieve this from the set of operators available?
>>
>
> I don't think that that can be done at the moment. We'd need something
> like "allbefore" and "allafter" which would return all the tiddlers
> preceding or succeeding the tiddler named in the operand.
>
> Best wishes
>
> Jeremy
>
>
>>
>> Best regards,
>> Xavier.
>>
>> -- Xavier Cazin
>>
>>
>> On Mon, May 12, 2014 at 5:03 PM, Jeremy Ruston 
>> wrote:
>>
>>> Hi Alain
>>>
>>> In 5.0.11 you'll be able to use the new before/after filter operators to
>>> do what you want. This example adapts your filter expression and then
>>> selects the tiddler after "HelloThere":
>>>
>>> [tag[thestory]!is[system]has[_date]sort[_date]after[HelloThere]]
>>>
>>> This example selects the tiddler before the current one:
>>>
>>> [tag[thestory]!is[system]has[_date]sort[_date]before{!!title}]
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>>
>>>
>>> On Tue, May 6, 2014 at 9:05 AM, Alain Dutech wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> I know that TW is "non-linear" but I'd like to automate some
>>>> "linearity" :o)
>>>> So, more clearly :
>>>>
>>>> I have some tiddlers telling a (linear) story and I order them
>>>> according to a custom field (let's call it "_date"). I'd like to have, in
>>>> any of these tiddlers, a link to the preceding one and to the next one,
>>>> according to the order induced by _date. How could I do this ?
>>>>
>>>> I can have an ordered list of all the tidler using filters and I
>>>> thought I could extract from this list the "previous" tiddler
>>>> {{{ [tag[thestory]!is[system]] +[has[_date]] +[sort[_date]] }}}
>>>>
>>>> Using the "previous" operator, I thought I could extract from this the
>>>> preceding tiddler and use that in a <$link> <$view> LINK 
>>>> block. But the previous operator needs the list to be in the "ListField" of
>>>> a tiddler I think.
>>>>
>>>> So 1) how can I set/update the ListField of a tiddler from another
>>>> tiddler macro (if I add a new tiddler between two others, I need to update
>>>> this list)
>>>>  2) is there a better way to do this, I mean "how would YOU
>>>> automatically update such prev/next links" ?
>>>>
>>>> Thanks a lot, for the good work on TW5, but also if you hav some
>>>> feedback for me :o)
>>>> Alain
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "TiddlyWiki" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to tiddlywiki+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to tiddlywiki@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Jeremy Ruston
>>> mailto:jeremy.rus...@gmail.com
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to tiddlywiki+unsubscr...@googlegroups.com.
>>> To post to this group, send email to tiddlywiki@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>

[tw] AutomatedLinkUpdate

2014-05-06 Thread Alain Dutech
 
Hi,

I know that TW is "non-linear" but I'd like to automate some "linearity" :o)
So, more clearly :

I have some tiddlers telling a (linear) story and I order them according to 
a custom field (let's call it "_date"). I'd like to have, in any of these 
tiddlers, a link to the preceding one and to the next one, according to the 
order induced by _date. How could I do this ?

I can have an ordered list of all the tidler using filters and I thought I 
could extract from this list the "previous" tiddler
{{{ [tag[thestory]!is[system]] +[has[_date]] +[sort[_date]] }}}

Using the "previous" operator, I thought I could extract from this the 
preceding tiddler and use that in a <$link> <$view> LINK  
block. But the previous operator needs the list to be in the "ListField" of 
a tiddler I think.

So 1) how can I set/update the ListField of a tiddler from another tiddler 
macro (if I add a new tiddler between two others, I need to update this 
list)
 2) is there a better way to do this, I mean "how would YOU 
automatically update such prev/next links" ?

Thanks a lot, for the good work on TW5, but also if you hav some feedback 
for me :o)
Alain

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.