-
Website
http://phildawes.net/blog/ -
Original page
http://www.phildawes.net/blog/2006/05/02/solving-the-bicyclerepairman-you-have-to-save-before-you-query-problem/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
danja
4 comments · 4 points
-
phildawes
5 comments · 1 points
-
Dominic Sayers
1 comment · 1 points
-
David W.
2 comments · 1 points
-
ryantm
1 comment · 1 points
-
-
Popular Threads
-
Phil Dawes Stuff >> Idea for a global interpreter lock optimized for low contention
2 weeks ago · 3 comments
-
Phil Dawes Stuff >> Idea for a global interpreter lock optimized for low contention
For something like TextMate you should be fine working from an in-memory buffer - in 99% certain TextMate's plugins can access the entire file.
Actually I found the most inconvenient thing wasn't saving the buffer I was currently working on, but other ones I'd also made changes to. I'm hoping that a BRM TextMate plugin could just adopt the same strategy as above - i.e. save unsaved buffers into temporary #filename# files prior to invoking a query.