Re: [tw] Re: How to link to tiddlers containing square brackets in their names
Hi David & Mubed, > Just my 2 cents - square brackets in titles might not be uncommon. For > example I'm currently trying out TW5 as a C++ knowledge base. One of the > title is 'Overloading Operator []'. > > If I were to do a GNU Bash KB that would be an issue too: "Comparisons on > Bash: test, [] and [[]]". > These are all characters that may end up breaking something somewhere: - leading or trailing blanks in titles - square brackets "[]" - curly brackets "{}" - angle brackets "<>" - pipe "|" - ... For me, it absolutely requires mentioning in the docs what the restrictions are and that they clearly exist and what their implications are, if only how to possibly work around those should one feel the urge to use those anyway. > But I'd like be able to like to a tiddler with special characters without the widget. Is it somehow possible? If not then here is my FEATURE REQUEST for it. As for simple links, it's great that widgets can make that work. But, there are many ways in which those special titles can and will break something, first of all... in macros and constructed filters. Especially macros — being the simple text substitution patterns the are — would have to always use widgets or else be avoided to not break whenever working with titles having such special characters. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8da7ea3c-df2d-48d3-a44a-7d889325dc23%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: How to link to tiddlers containing square brackets in their names
Just my 2 cents - square brackets in titles might not be uncommon. For example I'm currently trying out TW5 as a C++ knowledge base. One of the title is 'Overloading Operator []'. If I were to do a GNU Bash KB that would be an issue too: "Comparisons on Bash: test, [] and [[]]". - David -- 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/5b032345-32f7-4364-8d4f-16996ddfc6e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: How to link to tiddlers containing square brackets in their names
Thank you for introducing those advanced techniques. I'll try them out and probably it solves my problem on a more elegant way than I intended initially. It still remains an issue though, that we need to be able to escape special characters in tiddler names or generally anywhere. TW is or has a kind of programming language and any programming language needs an escaping syntax. Am 23.05.2015 00:04 schrieb PMario pmari...@gmail.com: E.g. the content of [myBracketTiddler] is: $list filter=[tag[myBracketTiddler]]/ simplified version list-links filter:[tag{!!title}] see: http://tiddlywiki.com/#TextReference -m -- 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/sbt8dyJPOJg/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e05f2394-17f0-4809-900a-eda83d610216%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/e05f2394-17f0-4809-900a-eda83d610216%40googlegroups.com?utm_medium=emailutm_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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAFdrTTsW67WUCUrFBMht8eCsGW_qWo_Bf5x%2BczK_B_sVpiD7ZA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: How to link to tiddlers containing square brackets in their names
On Saturday, May 23, 2015 at 8:32:25 AM UTC+2, Mubed wrote: It still remains an issue though, that we need to be able to escape special characters in tiddler names or generally anywhere. TW is or has a kind of programming language and any programming language needs an escaping syntax. There have been some discussions on github already. I just linked one. You may be able to find more [1] Escaping is a 2 sided sword with TW. An escaping mechanism need to be multi language and multi OS platform agnostic. A tiddler can contain. - wiki syntax which has the tilde already for suppressing ~CamelCase links - html code is valid wiki syntax. So we can't use anything that looks like valid html. - there are CSS tiddlers that are wikified, to be able to use TW macros. ... We can't use something that looks like CSS - backtick is used and valid from one ` to ```. - Same is true for $../ {}{{}}{{{}}}, , , [][[]], $()$, $$$, @@ and combination of those. - backslash \ is valid for windows paths. So imo there is no indicator left, to be used as an escape indicator. - btw: filters can have regexps as there parameters. So we will need to be able to escape the escape sequence. IMO implementing one more escape mechanism will bring us more pain as gain. just my 2cents -m [1] https://github.com/Jermolene/TiddlyWiki5/issues/1648 -- 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/569bda87-2ac2-41be-9c00-7ff5b5ba2fd7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: How to link to tiddlers containing square brackets in their names
E.g. the content of [myBracketTiddler] is: $list filter=[tag[myBracketTiddler]]/ simplified version list-links filter:[tag{!!title}] see: http://tiddlywiki.com/#TextReference -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e05f2394-17f0-4809-900a-eda83d610216%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: How to link to tiddlers containing square brackets in their names
hmmm, So if it is just a naming convention, it would be easy to change. ... IMO brackets are relatively hard to type (on a German keyboard at least.) What if you just tag your tag tiddlers eg: myTiddler tagged: tag - They are listed in the right sidebar under More: Tags - It would be easy to list all your tags with list-links filter:[tag[tag]] - Also a TOC / Hierarchy would be simple. eg: div class=tc-table-of-contents toc tag /div just my 2cents -mario -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/84e90c62-2dbf-4d2f-808f-9c19f6a9b2df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: How to link to tiddlers containing square brackets in their names
Hi Mubed, You could try this: create a new template tiddler eg: link content: $link to={{!!title}}{{!!title}}/$link So you can call your link with: {{[myBracketTiddler]||link}} or {{[myTiddler]||link}} The mechanism used is a transclusion with a template: see: http://tiddlywiki.com/#Transclusion%20in%20WikiText have fun! mario -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ac81e7b1-9750-409b-9a77-699fd3843166%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: How to link to tiddlers containing square brackets in their names
BTW: Using brackets in tiddler names, may have other side effects too. It's may be harsh, but I'd recommend, that you change your tiddler names. ... Is there a reason, why you need: [myBracketTiddler]? May be, there is a possibility to use standard names for the tiddlers, but display links in a different way? This may have no side effects. -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/99df1e97-55da-4e9f-8034-68bdaeb96ce8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: How to link to tiddlers containing square brackets in their names
Thanks for the quick answer. Using a template is very interesting, but not much easier than typing the link widget. Anyway, I may need it somewhere else, and it's good to know it. The reason, why I use brackets in tiddler names is that I have a naming convention. Tiddlers with bracket are special tiddlers to me. They contain only a list widget that lists all tiddlers tagged with the same name as the tiddler's title. E.g. the content of [myBracketTiddler] is: $list filter=[tag[myBracketTiddler]]/ This way I organize my tiddlers hierarchically. Am 22.05.2015 15:47 schrieb PMario pmari...@gmail.com: BTW: Using brackets in tiddler names, may have other side effects too. It's may be harsh, but I'd recommend, that you change your tiddler names. ... Is there a reason, why you need: [myBracketTiddler]? May be, there is a possibility to use standard names for the tiddlers, but display links in a different way? This may have no side effects. -m -- 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/sbt8dyJPOJg/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/99df1e97-55da-4e9f-8034-68bdaeb96ce8%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/99df1e97-55da-4e9f-8034-68bdaeb96ce8%40googlegroups.com?utm_medium=emailutm_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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAFdrTTuuGM4PyXXu9ggFPHW0SxKrAaL1pgg4Z0%3Dka71tRd-npg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.