[TxMt] Re: textmate Digest, Vol 20, Issue 37

Allan Odgaard throw-away-1 at macromates.com
Thu May 11 09:07:54 UTC 2006


On 11/5/2006, at 9:28, Paul McCann wrote:

>> I have been playing with TODO (actually, I'd like to build a GTD
>> bundle based on it).  For some reason, nothing I label as RADAR shows
>> up in the TODO list.

The RADAR thing is an URL scheme which can be used to link to entries  
in Apple’s bug reporter [1].

Only Apple people can actually click these links, but it’s a good  
idea to use them when posting in public. Should someone from Apple  
stumble upon the post, he will be able to click the link, and may  
actually fix the problem :)

The WebKit and Darwin sources contain a lot of these links, and I  
think it’s a good idea to put them in your own source for workarounds  
caused by a bug which has been reported. This provides a somewhat  
easier way to checkup on it later, shows that the thing being worked  
around has been reported, and is a source for copy’n’paste when you  
want to mention the bug ID in a conversation where someone from Apple  
might be listening.

But for majority of TM users, this thing can probably just be  
ignored. I have considered making the TODO command only show sections  
which actually have entries. OTOH it might be nice to see that the  
FIXME is empty.

> [...]
> :regexp => /(.*<)ra?dar:\/(?:\/problem|)\/([&0-9]+)(>.*)$/  },
> [...] I'm not sure what the pipe symbol's doing in there; it seems  
> to be extraneous, but my regex fu is a bit "bah!" these days.

It makes the /problem part optional. So the regexp is functionally  
equivalent with:

    /(.*<)ra?dar:\/(?:\/problem)?\/([&0-9]+)(>.*)$/


[1] http://radar.apple.com/


More information about the textmate mailing list