Maybe the script should save a read only *copy* into temp and open that? m. 

--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 13! http://shop.oreilly.com/product/0636920310075.do
iOS 13 Fundamentals! http://shop.oreilly.com/product/0636920310068.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html

On Oct 15, 2019, at 1:56 PM, Martin Wilhelm Leidig <listwatch@moss.in-berlin.de> wrote:

Am 19-10-15 um 18:00 schrieb Martin Wilhelm Leidig <listwatch@moss.in-berlin.de>:
Exactly what I want.

Reconsidering, it’s not what I want.  This manipulates the file mode, so  it is locked globally (for it’s owner), and if I unlock it there it’s unlocked again for TM (and globally).

Just inhibiting to save the file would do the trick locally in TM.  One might call that a more/less mode.

Hmm.  Maybe I’d just use Alpha for that.


Regards,

-Moss-
--
Martin Wilhelm Leidig


_______________________________________________
TextMate mailing list
TextMate@lists.macromates.com
https://lists.macromates.com/listinfo/textmate