Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-05 Thread TiddlyTweeter
Jeremy Ruston wrote:
>
> We actually already have a link icon in $:/core/images/link:
>
>
Ciao  Jeremy

Actually I knew for once something existed :-)

What I was thinking was a *second* way of depicting "on" and "off" linking 
differently. 
Maybe like ...

[image: Annotation 2020-01-06 083651.jpg]

[image: Annotation 2020-01-06 083652.jpg]
But I get your point ... 

For the new icon, we need to adapt it so that it also conveys the concept 
> of automatic/freelinking, and to represent the on/off status graphically.
>

Right, I am not finding it easy to immediately come up with a visual 
concept that works . 
 

> But it may be better to rethink things and use a proper checkbox. 
>

 Right. I can see how that could work for my use cases. So I'd personally 
be happy either with icon toggle or checkbox.

Best wishes
Josiah

For example, you could create a tiddler with the tag $:/tags/SideBarSegment 
> and the content:
>
> {{$:/plugins/tiddlywiki/freelinks/settings}}
>
> And then add the field “list-after” set 
> to $:/core/ui/SideBarSegments/page-controls. The end result is shown below.
>
> Best wishes
>
> Jeremy
>
>
>
> On 5 Jan 2020, at 11:57, TiddlyTweeter > 
> wrote:
>
> Ciao Jeremy
>
> Jeremy Ruston wrote:
>>
>>  TT wrote: 2 - Could there be a toggle  to switch "freelinking" on 
>>> and off?
>>
>>  
>>
>>> We could make a page control button for it (like the timestamp toggle), 
>>> but we’d need some artwork…
>>>
>>
> Some ways of presenting links:  https://iconmonstr.com/link/ (square SVG).
>
> I thought some of these suggestive of "softer" links, like: 
> https://iconmonstr.com/link-8-svg/
>
> And either of these suggestive of matching "softer" UNlinks: 
> https://iconmonstr.com/link-10-svg/ 
> 
>   
> or  https://iconmonstr.com/link-12-svg/ 
> 
>
> FYI, the License agreement (https://iconmonstr.com/license/) means one 
> can freely use the icons in an app no problem. 
> But you cannot, independently, present them. 
> In other words in TW: fine for use, but you can't promote them seperate 
> from an interface.
>
> Let me know if you want me to look for another route!
>
> 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 tiddl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/3542f8d7-5280-4a97-b5d6-9963866fa59a%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cc39098e-25fc-43cd-9539-c5b20b765932%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-05 Thread springer
Hello Jeremy!

I've just verified for myself that I can limit the freelinking so that it 
occurs only for the tiddler titles tagged "definition". Those (and only 
those) title strings appear as virtual links, even as I'm viewing tiddlers 
without the "definition" tag.

It seems plenty responsive enough, when limited in this way!

I love TiddlyTweeter's suggestion of a slightly different look for virtual 
links; that will really help authors recognize what the plugin is doing, 
and where hardlinks will be needed if/when we need to disable freelinks. I 
haven't yet tried the updated pre-release, but I'm confident it's moving in 
a good direction.

For my purposes, if only freelinking could handle aliases (to pick up on 
plurals, for example), this function would save me the work of manually 
editing to insert links on my many existing tiddlers, AND it would have the 
lovely effect of allowing me to drop text from the clipboard into a tiddler 
and have it show key internal connections with no work at all.

Of course, the rather different linkify-on-edit plugin path would also have 
that benefit, and a wiki built from the beginning on that approach 
(together with Relink) would have virtually no call for the virtual links 
view macro. So maybe mine is a rare case in virtue of my long history of 
relying on RedirectMacro in TW Classic.

One thought about the exchange with TonyM: I think because of prior 
exchanges with me on another thread, TonyM had already set himself up as 
positively invested in experimenting with whether and how TW5 could 
approximate the RedirectMacro capacity I had enjoyed in Classic. Indeed, it 
was Tony's interest in hearing more about it that inspired me to start this 
thread. With that background in mind, his worry about the "rabbit hole" 
didn't seem abrasive to me, though there may have been some wires crossed 
about whether limiting the scope of freelinking was already an option under 
development (as it clearly already was, by the time I caught up on the 
thread). 

Meanwhile, I'm going down a bit of a rabbit hole of my own, trying out way 
too many of the bells and whistles available in TW5. I know I'll have more 
questions, but I'll wait until my experimentation is less frenetic, so that 
I know which challenges are really essential in preparing for the semester. 
Once the site is finished (enough), I'll be sure to invite you all to a 
grand-opening visit. ;)

-Springer

On Saturday, January 4, 2020 at 12:02:44 PM UTC-5, Jeremy Ruston wrote:
>
> Hi Springer
>
> Just for a quick check, I set up a new prerelease with the plugin and 
> imported my old tiddler set (several hundred strong, from the Classic 
> version, with minimal explicit internal links) and confirmed that it 
> displays strings corresponding to all my tiddler titles as links in 
> RedirectMacro fashion. (So far, it doesn't do anything with alias or 
> aliases fields, I think, although I haven't yet installed any kind of 
> alias-related plugin in this experimental file.)
>
> ...
> Or, we can make a filter that will only freelink tiddlers with the tag 
> “MyTag”:
>
> <$set name="tv-freelinks" value={{{ 
> [tag[MyTags]then[yes]else[no]] }}}/>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7a82c239-6ab0-428b-8abc-08b6b4a63ba7%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-05 Thread Jeremy Ruston
Hi Josiah

We actually already have a link icon in $:/core/images/link:



For the new icon, we need to adapt it so that it also conveys the concept of 
automatic/freelinking, and to represent the on/off status graphically.

But it may be better to rethink things and use a proper checkbox. For example, 
you could create a tiddler with the tag $:/tags/SideBarSegment and the content:

{{$:/plugins/tiddlywiki/freelinks/settings}}

And then add the field “list-after” set to 
$:/core/ui/SideBarSegments/page-controls. The end result is shown below.

Best wishes

Jeremy




> On 5 Jan 2020, at 11:57, TiddlyTweeter  wrote:
> 
> Ciao Jeremy
> 
> Jeremy Ruston wrote:
> 
>  TT wrote: 2 - Could there be a toggle  to switch "freelinking" on and 
> off?
>  
> We could make a page control button for it (like the timestamp toggle), but 
> we’d need some artwork…
> 
> Some ways of presenting links:  https://iconmonstr.com/link/ 
>  (square SVG).
> 
> I thought some of these suggestive of "softer" links, like: 
> https://iconmonstr.com/link-8-svg/ 
> 
> And either of these suggestive of matching "softer" UNlinks: 
> https://iconmonstr.com/link-10-svg/   or 
>  https://iconmonstr.com/link-12-svg/ 
> 
> FYI, the License agreement (https://iconmonstr.com/license/ 
> ) means one can freely use the icons in an 
> app no problem. 
> But you cannot, independently, present them. 
> In other words in TW: fine for use, but you can't promote them seperate from 
> an interface.
> 
> Let me know if you want me to look for another route!
> 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/3542f8d7-5280-4a97-b5d6-9963866fa59a%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/958038F7-50F1-4226-BFF8-1882A904253D%40gmail.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-05 Thread TiddlyTweeter
Ciao Jeremy

Jeremy Ruston wrote:
>
>  TT wrote: 2 - Could there be a toggle  to switch "freelinking" on 
>> and off?
>
>  
>
>> We could make a page control button for it (like the timestamp toggle), 
>> but we’d need some artwork…
>>
>
Some ways of presenting links:  https://iconmonstr.com/link/ (square SVG).

I thought some of these suggestive of "softer" links, like: 
https://iconmonstr.com/link-8-svg/

And either of these suggestive of matching "softer" UNlinks: 
https://iconmonstr.com/link-10-svg/  or  https://iconmonstr.com/link-12-svg/

FYI, the License agreement (https://iconmonstr.com/license/) means one can 
freely use the icons in an app no problem. 
But you cannot, independently, present them. 
In other words in TW: fine for use, but you can't promote them seperate 
from an interface.

Let me know if you want me to look for another route!

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3542f8d7-5280-4a97-b5d6-9963866fa59a%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-05 Thread TiddlyTweeter
Jeremy Ruston wrote:

I’ve added a class tc-freelink, and given it a pale background colour by 
> default.


Thanks, very helpful!

 TT wrote: 2 - Could there be a toggle in the editor to switch 
> "freelinking" on and off?

 

> It’s a global option, so it doesn’t really belong in the editor toolbar, 
> which contains operations specific to a tiddler. We could make a page 
> control button for it (like the timestamp toggle), but we’d need some 
> artwork…
>

My bad. Right, its a page control.

I'm looking at SVGs of various ways of presenting links for something 
visibly different than "hard" links--that suggests  "softer" links.
If I find anything that looks workable I'll let you know.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b6ad9dd6-9e59-4304-baff-b547b46ccdc6%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-05 Thread Jeremy Ruston
Hi Tony

Eric’s explanation is correct. I understand that that is not the meaning that 
you intended to convey, hence bringing it to your attention. Apologies for 
derailing the discussion.

Best wishes

Jeremy.

> On 5 Jan 2020, at 09:11, Eric Shulman  wrote:
> 
> Finally, your concern about my language.
>  
> 
> Just a very gentle note that the way you’ve expressed this paragraph makes it 
> read as an implicit criticism of the approach taken by somebody else in the 
> thread. That kind of thing gets in the way of the points you’re trying to 
> raise, and I’d urge you to reread postings to make sure your meaning is clear 
> without criticising others. If you feel that people aren’t listening to your 
> ideas then the most constructive response is to focus on expressing them 
> clearly and concisely.
> 
> With all due respect, I believe you read something into this, that is not 
> there. There is nothing in my statement that is a criticism of any sort. It 
> asks "please" and says "running down the performance rabbit hole again", AND 
> not you, he or it named, But US (The collective "we"), it was raised in 
> response to the key concern that "freelinking" raises - performance issues.
> 
> Language is a funny thing.  I'm reminded of a saying that I learned many 
> years ago:
> 
> "Half of communicating with others is deciding what you want to say... the 
> other half is avoiding them hearing what they think you said."
> 
> "Running down the rabbit hole" might seem to be merely a colorful expression; 
> however, it DOES carry some distinctly negative connotations:
> 
> https://idioms.thefreedictionary.com/go+down+the+rabbit+hole 
> 
> 
> " ... strange, problematic, difficult, complex, or chaotic... "
> 
> Implicit in the use of that phrase is the idea that such discussions are a 
> waste of time and effort and that those who choose to pursue those issues are 
> somehow being foolish or misguided in their focus, especially in comparison 
> to the approach that you are advocating.  While I'm certain that it was not 
> your intent, this can come across as somewhat dismissive and disrespectful of 
> other points of view.
> 
> Just a little food for thought...
> 
> -e
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/4a13a7c9-f588-49a5-a1eb-4ce61635cea7%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F0031870-CA43-4931-AB34-DAA568B71E67%40gmail.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-05 Thread Eric Shulman

>
> Finally, your concern about my language.
>  
>
>>
>> Just a very gentle note that the way you’ve expressed this paragraph 
>> makes it read as an implicit criticism of the approach taken by somebody 
>> else in the thread. That kind of thing gets in the way of the points you’re 
>> trying to raise, and I’d urge you to reread postings to make sure your 
>> meaning is clear without criticising others. If you feel that people aren’t 
>> listening to your ideas then the most constructive response is to focus on 
>> expressing them clearly and concisely.
>>
>
> With all due respect, I believe you read something into this, that is not 
> there. There is nothing in my statement that is a criticism of any sort. It 
> asks "please" and says "running down the performance rabbit hole again", 
> AND not you, he or it named, But US (The collective "we"), it was raised in 
> response to the key concern that "freelinking" raises - performance issues.
>

Language is a funny thing.  I'm reminded of a saying that I learned many 
years ago:

"Half of communicating with others is deciding what you want to say... the 
other half is avoiding them hearing what they think you said."

"Running down the rabbit hole" might seem to be merely a colorful 
expression; however, it DOES carry some distinctly negative connotations:

https://idioms.thefreedictionary.com/go+down+the+rabbit+hole

" ... strange, problematic, difficult, complex, or chaotic... "

Implicit in the use of that phrase is the idea that such discussions are a 
waste of time and effort and that those who choose to pursue those issues 
are somehow being foolish or misguided in their focus, especially in 
comparison to the approach that you are advocating.  While I'm certain that 
it was not your intent, this can come across as somewhat dismissive and 
disrespectful of other points of view.

Just a little food for thought...

-e



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4a13a7c9-f588-49a5-a1eb-4ce61635cea7%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-04 Thread TonyM
Jeremy,

Please find response to each question/statement of yours. No offence 
intended.


> I think you’re suggesting that we give users the ability to limit the 
> tiddlers to which freelinks are created. That’s certainly a potential 
> performance improvement under consideration.
>

Not only limit the "tiddlers *to *which freelinks are created" but also the 
tiddler limit those "on which we display freelinks".
 

>
> Also once an "autolink" is established what about making it permanent with 
> square brackets added to the text.
>
>
> Do you mean that the square brackets would be inserted any time a freelink 
> is created? Would they be removed if the target tiddler ceases to exist? It 
> sounds like a hybrid between the two approaches we’ve discussed:
>

Not any/everytime time, just should we wish to, on demand. The alternative 
to hard code by hand could be fiddly, can we automate this?. I believe the 
relink plugin can now handle renames.
 

>
> * The dynamic approach taken by the plugin where freelinks are ephemeral, 
> and created as required
>

Best for research, development and investigations, slower.
 

> * The static approach of automatically creating explicit links when saving 
> a tiddler
>

Ideal for publishing and sharing, faster.


Finally, your concern about my language.
 

>
> Just a very gentle note that the way you’ve expressed this paragraph makes 
> it read as an implicit criticism of the approach taken by somebody else in 
> the thread. That kind of thing gets in the way of the points you’re trying 
> to raise, and I’d urge you to reread postings to make sure your meaning is 
> clear without criticising others. If you feel that people aren’t listening 
> to your ideas then the most constructive response is to focus on expressing 
> them clearly and concisely.
>

With all due respect, I believe you read something into this, that is not 
there. There is nothing in my statement that is a criticism of any sort. It 
asks "please" and says "running down the performance rabbit hole again", 
AND not you, he or it named, But US (The collective "we"), it was raised in 
response to the key concern that "freelinking" raises - performance issues.

I almost always re-read my posts and always consider how others may feel 
when posting, so you can expect me to do as you ask. Yet like many other 
posters, I assume an egoless discussion, amongst peers, where brevity is 
permitted as long as the meaning is clear.

If you could point out how my sentence contains "implicit criticism" I 
would appreciate your view. 

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4aed2a9b-b6c9-4aed-9a91-b24f7b8d1f7a%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-04 Thread Jeremy Ruston
Hi Mat

The freelinks plugin currently ignores the tilde character. I’ve not managed to 
find a good way to implement it but I’ll keep thinking about it.

Best wishes

Jeremy

> On 4 Jan 2020, at 14:42, Mat  wrote:
> 
> @Jeremy
> 
> Possibly it seems the freelinking makes this not work:
> 
> ~ExistingTid
> 
> i.e the tilde doesn't disable the CC link. The tilde does disappear tho, in 
> view mode. For freelink the tilde remains visible. I was expecting both cases 
> to "delink". 
> 
> <:-)
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/a55757d1-c5be-4879-8454-c7bfc4f449e0%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/A7B7D5B4-BCA6-4F96-A2BB-BDCBF0C064A9%40gmail.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-04 Thread Jeremy Ruston
Hi Josiah

>  1 - Be able to apply (optional) specific CSS styling to auto soft-links. 
>   For instance, in a draft, it would help me a lot if they were in a 
> different color than hard-links.

I’ve added a class tc-freelink, and given it a pale background colour by 
default.

>   2 - Could there be a toggle in the editor to switch "freelinking" on and 
> off?
>This would help a lot in that I could quickly compare a "hard-links" 
> only mode with added "soft-links" mode

It’s a global option, so it doesn’t really belong in the editor toolbar, which 
contains operations specific to a tiddler. We could make a page control button 
for it (like the timestamp toggle), but we’d need some artwork…

Best wishes

Jeremy.

> 
> Very 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/e102a4e9-27ee-41c5-9f21-438f242c38b1%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6459F2FE-FF6C-4A8F-9490-103513AF50EF%40gmail.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-04 Thread Jeremy Ruston
Hi Tony

> Rather than us running down the performance rabbit hole again can you please 
> consider my suggestion of optional rule in or rule out of this  as I 
> suggested previously.

Just a very gentle note that the way you’ve expressed this paragraph makes it 
read as an implicit criticism of the approach taken by somebody else in the 
thread. That kind of thing gets in the way of the points you’re trying to 
raise, and I’d urge you to reread postings to make sure your meaning is clear 
without criticising others. If you feel that people aren’t listening to your 
ideas then the most constructive response is to focus on expressing them 
clearly and concisely.

> Any tiddler could be parsed for any tiddler title but the performance 
> requirements will grow with the number of tiddlers. What about an indicator 
> on tiddlers who's title may be worth linking to if found in another tiddler 
> (ignoring case). Then at render one would only need to search the current 
> tiddler for a limited set of titles. A more pervasive mode to be set for 
> exploration only and list tiddlers who are contained in other tiddlers and 
> you optional flag them as worthy of autolinking?

I think you’re suggesting that we give users the ability to limit the tiddlers 
to which freelinks are created. That’s certainly a potential performance 
improvement under consideration.

> Also once an "autolink" is established what about making it permanent with 
> square brackets added to the text.

Do you mean that the square brackets would be inserted any time a freelink is 
created? Would they be removed if the target tiddler ceases to exist? It sounds 
like a hybrid between the two approaches we’ve discussed:

* The dynamic approach taken by the plugin where freelinks are ephemeral, and 
created as required
* The static approach of automatically creating explicit links when saving a 
tiddler

Best wishes

Jeremy


> 
> Sometimes going 10% further produces a result that can be deployed in a wider 
> range of situations because it can be scaled to the use case.
> 
> Regards
> Tony
> 
> On Tuesday, December 31, 2019 at 4:31:07 AM UTC+11, springer wrote:
> Tony asked about RedirectMacro, and I realized that my answer was going to 
> hijack his thread about transclusion. 
> 
> RedirectMacro can be found here: 
> http://checkettsweb.com/styles/themes.htm#RedirectMacro 
> 
> 
> In TW Classic, this plugin made for entirely seamless internal linking, no 
> need for double-brackets nor CamelCase. Anytime a tiddler contained a string 
> (one or more words) that matched an existing tiddler title (or an alias of 
> it, given AliasPlugin), the tiddler would render in view mode just as if a 
> link had been specified, though the tiddler text itself could remain without 
> any kind of link markup. On my old ethics site, you can open a tiddler in 
> edit mode and see the links are "not there" except in this virtual way: 
> http://ethics.tiddlyspot.com/#happiness 
> 
> 
> Here's the kind of use case that made it fabulous: During class (there's a 
> 5-minute warmup problem students do while I hand papers back, unpack and plug 
> in my laptop), I could paste in a bit of from a student's written work 
> (submitted via moodle the night before, with an excerpt from our primary 
> texts and then a paragraph of commentary). As soon as we go from edit to view 
> mode, EVERY technical concept in the excerpt, and every key word and red flag 
> word in the student's commentary, is lit up as a link. I now have all the 
> resources of my wiki available (definitions, pointers) to help structure the 
> discussion as I correct misunderstandings, pull up more details, etc. (Here's 
> a real example 
>  of 
> student writing that I pasted in, and got to render with all the links with 
> no fuss.)
> 
> If someone asks "How much trouble is it to go through and put brackets around 
> all the key terms after you paste?" that person is probably not working in 
> front of a live audience (where that audience is not there to get TiddlyWiki 
> lessons).
> 
> Now, suppose that today I add three terms (with definitions, perhaps some 
> aliases) to my wiki. With RedirectMacro, a single reload of the site was 
> sufficient to update the display of every tiddler that already contained that 
> word or phrase (or its aliases). 
> 
> How much trouble is it to pause, after each time I add a term, to use 
> TiddlerCommander or another advanced search function to find tiddlers with 
> that term and replace appearances of the term with double-bracketed 
> reference? Someone who asks this has not been adding wiki content at the last 
> minute while running late toward a classroom full of students. ;)
> 
> If an equivalent could be generated for TW5, I would be beyond delighted.
> 
> -Springer
> 
> On Sunday, December 29, 

Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-04 Thread Jeremy Ruston
Hi Springer

> Just for a quick check, I set up a new prerelease with the plugin and 
> imported my old tiddler set (several hundred strong, from the Classic 
> version, with minimal explicit internal links) and confirmed that it displays 
> strings corresponding to all my tiddler titles as links in RedirectMacro 
> fashion. (So far, it doesn't do anything with alias or aliases fields, I 
> think, although I haven't yet installed any kind of alias-related plugin in 
> this experimental file.)

That’s right, the plugin only implements freelinks, not aliases.

> As you say, it does slow down a large wiki, even for operations that I would 
> not have thought to be related to the link-display process... I wonder 
> whether it would be possible to confine the virtual internal links action to 
> a specific tagged set of tiddlers or to some other list condition? Would that 
> help?

That’s definitely one of the options to explore for improving performance.

> I think it's a marvelous working proof-of-concept, and since the plugin can 
> be disabled (restoring nimble speed to the whole engine), I suspect many 
> people might be intrigued by the chance to show off a tightly-woven version 
> of their file. I could imagine disabling the plugin during long editing 
> sessions, and turning it on for certain demonstrations. But it sure would be 
> ideal to have a variation that keeps the potential quicksand element confined 
> to a tag-specific sandbox of tiddlers...

It’s possible to change which tiddlers are freelinked by customising the shadow 
tiddler $:/plugins/tiddlywiki/freelinks/macros/view. This tiddler is tagged 
$:/tags/Macro/View (a new system tag) which means that it will be included as a 
local macro in each view template. By default, it’s content is:

<$set name="tv-freelinks" value={{$:/config/Freelinks/Enable}}/>

That means that for each tiddler the variable tv-freelinks will be set to the 
tiddler $:/config/Freelinks/Enable, which is set to “yes” or “no” by the 
settings in control panel.

Instead, we can use a filter expression to, say, only freelink the tiddler with 
the title “HelloThere”:

<$set name="tv-freelinks" value={{{ 
[match[HelloThere]then[yes]else[no]] }}}/>

Or, we can make a filter that will only freelink tiddlers with the tag “MyTag”:

<$set name="tv-freelinks" value={{{ 
[tag[MyTags]then[yes]else[no]] }}}/>

Or we can combine both approaches:

<$set name="tv-freelinks" value={{{ [match[HelloThere]] 
~[tag[MyTag]] +[then[yes]else[no]] }}}/>

(I’ll add the above notes to the docs).

> Thanks again Jeremy, and all, for being such an amazingly responsive 
> community!

It’s a pleasure. It’s an interesting problem and I am delighted to have been 
able to welcome you back to the community with it,

Best wishes

Jeremy

> 
> -Springer
> 
> On Friday, January 3, 2020 at 5:47:40 AM UTC-5, Jeremy Ruston wrote:
> Hi Springer
> 
> I’ve had an initial stab at a freelinking plugin. As expected, it noticeably 
> slows down large wikis with many tiddlers. But it works pretty well with 
> smallish wikis. I’ve got some ideas for improving the speed, but it’s still 
> worth trying out.
> 
> The plugin is available in the prerelease plugin library. That means you 
> should download a copy of the prerelease from 
> https://tiddlywiki.com/prerelease/empty.html 
>  or 
> https://tiddlywiki.com/prerelease/index.html 
>  and then use the plugin 
> library to install “freelinks”.
> 
> Because it’s a prerelease, please don’t rely on it for anything important, 
> but do report how it works with your existing corpus.
> 
> By default, freelinking is only applied within the main view template and the 
> preview panel, and not, for instance, in the sidebar. At this point, 
> automatically generated links do not appear as backlinks.
> 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/cfffb3c5-8f27-48d9-964e-2fb2187e46d3%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/D89ED4F8-48EF-4776-9DB6-1FD3464C61C6%40gmail.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-04 Thread Mat
@Jeremy

Possibly it seems the freelinking makes this not work:

~ExistingTid

i.e the tilde doesn't disable the CC link. The tilde does disappear tho, in 
view mode. For freelink the tilde remains visible. I was expecting both 
cases to "delink". 

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a55757d1-c5be-4879-8454-c7bfc4f449e0%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-04 Thread Mat
Jeremy Ruston wrote:
>
> ...from https://tiddlywiki.com/prerelease/empty.html or 
> https://tiddlywiki.com/prerelease/index.html and then use the plugin 
> library to install “freelinks”.
>

@Jeremy:  Saving from that first link gives a TW that doesn't show any 
plugins in the plugin library.  The second link works.

BTW, one must not save any of these by doing "right click" and download as 
it gives a file that, when clicked on, opens the original https page. 
(Instead, you go to the link and click the circled tick to save a local 
copy.)

I'm on Win10home/chrome.

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/637a1886-5594-45b0-9dd2-10fb1ed8ac2c%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-03 Thread TiddlyTweeter
Ciao Jeremy 

I’ve had an initial stab at a freelinking plugin. As expected, it 
> noticeably slows down large wikis with many tiddlers. But it works pretty 
> well with smallish wikis. I’ve got some ideas for improving the speed, but 
> it’s still worth trying out.
>

>From your new initial plugin and the example in TWC that springer gave I 
got very excited! 
I want to make a few points from my experience of editing in general that I 
hope might be relevant to informing the longer term design ...

The approach to "free-link" (auto soft-linking) I think could be very, very 
helpful to writers. It helps you keep in "flow" whilst writing.

In addition to springer's good example (linking to special terms he needs 
students to understand) ...

 ... I could well use the approach in writing to develop "drafts" much 
better before I'm ready to "hard-code" links. 
 An example would be writing about cinema where you want to cross-reference 
film-titles, director's, technical terms etc.
All the cross-referenced Tiddlers would exist already. Auto soft-linking 
would enable me to see where I need a hard-link in
the final version  and where I don't. In other words, its an aid to writing 
whilst it is "in process".

So, I have a couple of suggestions that I hope you might think about ...

 1 - Be able to apply (optional) *specific CSS styling to auto soft-links*. 
  For instance, in a draft, it would help me a lot if they were in a 
different color than hard-links.

  2 - Could there be a toggle in the editor to switch "freelinking" on and 
off?
   This would help a lot in that I could quickly compare a "hard-links" 
only mode with added "soft-links" mode

Very 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e102a4e9-27ee-41c5-9f21-438f242c38b1%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-03 Thread Mohammad Rahmani
 Plugins Library Prerelease
Mohammad 25th November 2019 at 4:16pm

Some Tiddlywiki empty file (empty.html) does not have the plugin library so
one cannot install the official plugin. If so do as below

   1. import
   https://tiddlywiki.com/prerelease/#%24%3A%2Fconfig%2FOfficialPluginLibrary
   2. save and relaod
   3. got to $:/ControlPanel , Plugins tab, and click on *Get more plugins*



Best wishes
Mohammad


On Fri, Jan 3, 2020 at 7:55 PM TiddlyTweeter 
wrote:

> Jeremy Ruston wrote:
>>
>>
>> The plugin is available in the prerelease plugin library. That means you
>> should download a copy of the prerelease from
>> https://tiddlywiki.com/prerelease/empty.html or
>> https://tiddlywiki.com/prerelease/index.html and then use the plugin
>> library to install “freelinks”.
>>
>
> Right now no plugins are not showing in the library for me on that version.
>
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1853fcca-66bc-474b-8b78-686a3246e980%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMDMOv%2BO3-xUF7xW5EzLcs6vs77-r%2BK%3DHJJiZrSUBDPORQ%40mail.gmail.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-03 Thread springer
Jeremy, Thanks!!

Just for a quick check, I set up a new prerelease with the plugin and 
imported my old tiddler set (several hundred strong, from the Classic 
version, with minimal explicit internal links) and confirmed that it 
displays strings corresponding to all my tiddler titles as links in 
RedirectMacro fashion. (So far, it doesn't do anything with alias or 
aliases fields, I think, although I haven't yet installed any kind of 
alias-related plugin in this experimental file.)

As you say, it does slow down a large wiki, even for operations that I 
would not have thought to be related to the link-display process... I 
wonder whether it would be possible to confine the virtual internal links 
action to a specific tagged set of tiddlers or to some other list 
condition? Would that help?

I think it's a marvelous working proof-of-concept, and since the plugin can 
be disabled (restoring nimble speed to the whole engine), I suspect many 
people might be intrigued by the chance to show off a tightly-woven version 
of their file. I could imagine disabling the plugin during long editing 
sessions, and turning it on for certain demonstrations. But it sure would 
be ideal to have a variation that keeps the potential quicksand element 
confined to a tag-specific sandbox of tiddlers...

Thanks again Jeremy, and all, for being such an amazingly responsive 
community!

-Springer

On Friday, January 3, 2020 at 5:47:40 AM UTC-5, Jeremy Ruston wrote:
>
> Hi Springer
>
> I’ve had an initial stab at a freelinking plugin. As expected, it 
> noticeably slows down large wikis with many tiddlers. But it works pretty 
> well with smallish wikis. I’ve got some ideas for improving the speed, but 
> it’s still worth trying out.
>
> The plugin is available in the prerelease plugin library. That means you 
> should download a copy of the prerelease from 
> https://tiddlywiki.com/prerelease/empty.html or 
> https://tiddlywiki.com/prerelease/index.html and then use the plugin 
> library to install “freelinks”.
>
> Because it’s a prerelease, please don’t rely on it for anything important, 
> but do report how it works with your existing corpus.
>
> By default, freelinking is only applied within the main view template and 
> the preview panel, and not, for instance, in the sidebar. At this point, 
> automatically generated links do not appear as backlinks.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cfffb3c5-8f27-48d9-964e-2fb2187e46d3%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-03 Thread springer
Josiah, I was just able to get it by going to the site at 
https://tiddlywiki.com/prerelease/index.html
and using the control panel plugins tab there (before downloading) to "get 
more plugins" (from there using the second of the two links, not the 
"local" one). After finding and adding the freelinking plugin, I used the 
save function to download to my computer. It's up and running now...


On Friday, January 3, 2020 at 11:24:59 AM UTC-5, TiddlyTweeter wrote:
>
> Jeremy Ruston wrote:
>>
>>
>> The plugin is available in the prerelease plugin library. That means you 
>> should download a copy of the prerelease from 
>> https://tiddlywiki.com/prerelease/empty.html or 
>> https://tiddlywiki.com/prerelease/index.html and then use the plugin 
>> library to install “freelinks”.
>>
>
> Right now no plugins are not showing in the library for me on that version.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f65c6dca-cb09-4c5d-965b-9d44d47afca2%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-03 Thread TiddlyTweeter
Jeremy Ruston wrote:
>
>
> The plugin is available in the prerelease plugin library. That means you 
> should download a copy of the prerelease from 
> https://tiddlywiki.com/prerelease/empty.html or 
> https://tiddlywiki.com/prerelease/index.html and then use the plugin 
> library to install “freelinks”.
>

Right now no plugins are not showing in the library for me on that version.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1853fcca-66bc-474b-8b78-686a3246e980%40googlegroups.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2020-01-03 Thread Jeremy Ruston
Hi Springer

I’ve had an initial stab at a freelinking plugin. As expected, it noticeably 
slows down large wikis with many tiddlers. But it works pretty well with 
smallish wikis. I’ve got some ideas for improving the speed, but it’s still 
worth trying out.

The plugin is available in the prerelease plugin library. That means you should 
download a copy of the prerelease from 
https://tiddlywiki.com/prerelease/empty.html 
 or 
https://tiddlywiki.com/prerelease/index.html 
 and then use the plugin library 
to install “freelinks”.

Because it’s a prerelease, please don’t rely on it for anything important, but 
do report how it works with your existing corpus.

By default, freelinking is only applied within the main view template and the 
preview panel, and not, for instance, in the sidebar. At this point, 
automatically generated links do not appear as backlinks.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F0A855CC-B145-448E-A4B5-983ED4E543FB%40gmail.com.


Re: [tw5] Why RedirectMacro was the best thing ever, and a TW5 solution would be amazing

2019-12-30 Thread Jeremy Ruston
Hi Springer

Welcome back! There has been some discussion about freelinking in TW5 a few 
years ago:

https://github.com/Jermolene/TiddlyWiki5/issues/1342

The following comment gives the outline of a solution that I still think is 
viable: to make the text widget apply the autolinking at render time.

https://github.com/Jermolene/TiddlyWiki5/issues/1342#issuecomment-71869414 

I'll try to give it some time over the next couple of days,

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 30 Dec 2019, at 17:31, springer  wrote:
> 
> 
> Tony asked about RedirectMacro, and I realized that my answer was going to 
> hijack his thread about transclusion. 
> 
> RedirectMacro can be found here: 
> http://checkettsweb.com/styles/themes.htm#RedirectMacro
> 
> In TW Classic, this plugin made for entirely seamless internal linking, no 
> need for double-brackets nor CamelCase. Anytime a tiddler contained a string 
> (one or more words) that matched an existing tiddler title (or an alias of 
> it, given AliasPlugin), the tiddler would render in view mode just as if a 
> link had been specified, though the tiddler text itself could remain without 
> any kind of link markup. On my old ethics site, you can open a tiddler in 
> edit mode and see the links are "not there" except in this virtual way: 
> http://ethics.tiddlyspot.com/#happiness
> 
> Here's the kind of use case that made it fabulous: During class (there's a 
> 5-minute warmup problem students do while I hand papers back, unpack and plug 
> in my laptop), I could paste in a bit of from a student's written work 
> (submitted via moodle the night before, with an excerpt from our primary 
> texts and then a paragraph of commentary). As soon as we go from edit to view 
> mode, EVERY technical concept in the excerpt, and every key word and red flag 
> word in the student's commentary, is lit up as a link. I now have all the 
> resources of my wiki available (definitions, pointers) to help structure the 
> discussion as I correct misunderstandings, pull up more details, etc. (Here's 
> a real example of student writing that I pasted in, and got to render with 
> all the links with no fuss.)
> 
> If someone asks "How much trouble is it to go through and put brackets around 
> all the key terms after you paste?" that person is probably not working in 
> front of a live audience (where that audience is not there to get TiddlyWiki 
> lessons).
> 
> Now, suppose that today I add three terms (with definitions, perhaps some 
> aliases) to my wiki. With RedirectMacro, a single reload of the site was 
> sufficient to update the display of every tiddler that already contained that 
> word or phrase (or its aliases). 
> 
> How much trouble is it to pause, after each time I add a term, to use 
> TiddlerCommander or another advanced search function to find tiddlers with 
> that term and replace appearances of the term with double-bracketed 
> reference? Someone who asks this has not been adding wiki content at the last 
> minute while running late toward a classroom full of students. ;)
> 
> If an equivalent could be generated for TW5, I would be beyond delighted.
> 
> -Springer
> 
>> On Sunday, December 29, 2019 at 12:15:40 AM UTC-5, TonyM wrote:
>> Springer,
>> 
>> Please describe "Clint Checkett's Redirect macro" because I have no idea 
>> what it does, so I can't give an indicator if there is a method to replace 
>> it. I am sure I know more than I used to with TW5.
>> 
>> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/ece02188-7b35-4a80-a82e-46cdb270548a%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7A71BE1B-1A97-4FE1-9C49-90588D38F01A%40gmail.com.