[TxMt] Re: How to open files read-only?

Matt Neuburg matt at tidbits.com
Tue Oct 15 21:36:13 UTC 2019


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 at moss.in-berlin.de> wrote:
> 
> Am 19-10-15 um 18:00 schrieb Martin Wilhelm Leidig <listwatch at 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 at lists.macromates.com
> https://lists.macromates.com/listinfo/textmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20191015/d2af98fe/attachment.html>


More information about the TextMate mailing list