[TxMt] Re: some Python thoughts

Hans-Joerg Bibiko bibiko at eva.mpg.de
Thu Jun 12 10:00:48 UTC 2008

On 12 Jun 2008, at 01:06, Alex Ross wrote:

> On Jun 11, 2008, at 3:14 PM, Allan Odgaard wrote:
>> It’s about time Python saw some love with regard to TM convenience  
>> functions :)
>> One thing I have learned from all the work put into the ruby  
>> support stuff is the importance of style guides, and that one  
>> should use all the module/namespace support from the language to  
>> keep it clear what is what, which stuff uses what, etc.
>> So before piling stuff into tm_helpers.py, one should consider  
>> these things.
>> I will work out some style guides for ruby, though not sure exactly  
>> when, but that might serve as inspiration. For the curious, in TM 2  
>> we will effectively create a new Support folder which has a more  
>> clear structure and less noise. Old commands will continue to see  
>> the old Support folder, but new commands will see the new one, so  
>> we can do a safe migration (technically this can be done by simple  
>> setting TM_SUPPORT_PATH based on the version found in the bundle  
>> item’s property list).
> We can create a python module that mimics the ruby module for sure.   
> We could even create a python module parallel to the TextMate  
> module, even using the same directories since ruby should just  
> ignore the python files and vice versa.

I agree. It would be very helpful to be consistent of naming modules/ 
functions for Ruby/Python etc. above all if you are coding in these  


More information about the textmate mailing list