WikiWords in code
flag
Messages 11 - 16 of 16 - Collapse all
/groups/adfetch?adid=7iLSwhAAAADai7L_ge9_XZ47eelTV-UJ
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
11.  Udo Borkowski  
View profile  
 More options Jun 19 2006, 8:59 am
From: Udo Borkowski <Udo.Borkow...@gmx.de>
Date: Mon, 19 Jun 2006 14:59:36 +0200
Local: Mon, Jun 19 2006 8:59 am
Subject: Re: WikiWords in code

I created a ticket for this issue:

http://trac.tiddlywiki.org/tiddlywiki/ticket/67

Udo


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
12.  Martin Budden  
View profile  
 More options Jun 22 2006, 3:52 pm
From: "Martin Budden" <mjbud...@gmail.com>
Date: Thu, 22 Jun 2006 12:52:44 -0700
Local: Thurs, Jun 22 2006 3:52 pm
Subject: Re: WikiWords in code
I'm afraid I don't think this will work Udo.

The trouble is that you can have formats within formats. Consider some
''bold'' text, under the proposal, the bold formatter would call the
"linkifier". However the bold text could be inside a code block, or a
comment block, and so shouldn't call the linkifier. Currently
formatters only know their own context, and not the context of the
block of text they are in (changing this would be difficult and would
slow things down considerably). And formatters can nest to any level.

I think the only reasonably approach is to apply the rule at a tiddler
level as currently (ie tiddlers tagged systemConfig or excludeMissing).

Martin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
13.  Udo Borkowski  
View profile  
 More options Jun 22 2006, 7:06 pm
From: Udo Borkowski <Udo.Borkow...@gmx.de>
Date: Fri, 23 Jun 2006 01:06:01 +0200
Local: Thurs, Jun 22 2006 7:06 pm
Subject: Re: WikiWords in code

>The trouble is that you can have formats within formats.

Good point.

But in some cases the approach should work out fine, especially in the
"comment" and the "code block" case. So even this is not the perfect
solution for all cases I tend to stick to that approach since it avoids
a lot of links. For me a "per tiddler" solution seems to be to coarse.

(I am currently thinking of a "JavaScript" tutorial with a lot a sample
code (in code blocks) between the explanatory text. It would not be nice
if all WikiWords in the sample code would become links).

But maybe we could even find a solution for the counter example you
gave. I am thinking of two global functions suspendLinkify and
resumeLinkify that are used to control the "linkification". But this
needs some more thoughts....

Udo

----------
Udo Borkowski
http://www.abego-software.de


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
14.  Chris Lawley  
View profile  
 More options Jun 19 2006, 8:06 am
From: "Chris Lawley" <ch...@art-en-soul.cix.co.uk>
Date: Mon, 19 Jun 2006 13:06:18 +0100
Local: Mon, Jun 19 2006 8:06 am
Subject: Re: WikiWords in code

On 16 Jun 2006, Jeremy Ruston wrote:

> The idea that runs through my head with this is to introduce the idea
> of wikifier "modes". There could be four:

Does that cope with plugins like AttachFilePlugin which, if use to
embed a binary file creates, oooh, lots of missing entries.

I suppose some concept of having a system tiddler that has a list of
invalid missing tiddlers is out of the question?

It'd need to be able to amended by the user to add/remove entries.

It'd need to be automatically updated so that you'd not spend ages
fixing up erroneous AttachedFile entries.

It _does_not_ sort out getting the system to handle things, but
might allow a simple way to pick up 'special' situations that are
hard to code for or are created by the user.

chris :-)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
15.  Jeremy Ruston  
View profile  
 More options Jun 19 2006, 8:10 am
From: "Jeremy Ruston" <jeremy.rus...@gmail.com>
Date: Mon, 19 Jun 2006 13:10:02 +0100
Local: Mon, Jun 19 2006 8:10 am
Subject: Re: WikiWords in code
I think the answer for the AttachFilePlugin would be for it to tag
data tiddlers with 'excludeMissing' which causes them to be completely
skipped during processing of missing tiddlers.

Cheers

Jeremy

On 19/06/06, Chris Lawley <ch...@art-en-soul.cix.co.uk> wrote:

--
Jeremy Ruston
mailto:jer...@osmosoft.com
http://www.tiddlywiki.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
16.  Eric Shulman  
View profile  
 More options Jun 19 2006, 12:03 pm
From: "Eric Shulman" <elsdes...@gmail.com>
Date: Mon, 19 Jun 2006 09:03:13 -0700
Local: Mon, Jun 19 2006 12:03 pm
Subject: Re: WikiWords in code

Jeremy Ruston wrote:
> I think the answer for the AttachFilePlugin would be for it to tag
> data tiddlers with 'excludeMissing' which causes them to be completely
> skipped during processing of missing tiddlers.

The plugin does this already!

...from the http://www.TiddlyTools.com/#AttachFilePlugin version
history:
-----------------------
2005.12.27 [3.0.0] Update for TW2.0. Automatically add 'excludeMissing'
tag to attachments
-----------------------

-e


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google