[TxMt] Bug Confirmation?

Ralph Pöllath lists at poellath.org
Fri Apr 15 10:09:12 UTC 2005


It's not a bug, it's a feature. It makes sure your macro doesn't break 
when you modify or delete the snippet.

TM help on macros mentions this behaviour for macros using other macros:
> The editing operations recorded are:
> * Executing another macro (the entire macro you execute is copied, so 
> if you later change it, it will not affect the one you recorded)

Cheers,
-Ralph.

On 15.04.2005, at 11:59, Robert M.Zigweid wrote:
> I know it's bad to reply to myself, but I believe I found my answer.
> It looks like the macro editor encodes the snippet into the macro 
> itself, not really using the global snippets.  While this is somewhat 
> confusing, it does appear to provide me with a workaround.
>
> On Apr 15, 2005, at 5:51 AM, Robert M.Zigweid wrote:
>
>> So, I'm finally getting to the point that I'm really starting to play 
>> around a bit with the automation aspects of TextMate.  I think that I 
>> found a bug, but I want to confirm.
>>
>> I created a macro, which through the course of its steps utilizes a 
>> snippet.  The snippet has default values, which I'm also using, 
>> because it's a very repetitive task.  The idea behind this, is that 
>> when I got to a different spot in the code that I'm working on, I 
>> would change the snippet defaults and keep using the macro.
>>
>> What appears to be happening instead, is the old default values are 
>> used instead of the new ones.  When I use the snippet manually, the 
>> new values I put in are still used.  Is this a bug, or is my 
>> expectation wrong?




More information about the textmate mailing list