On 28.08.2011 21:58, Aditya Mahajan wrote:
On Sun, 28 Aug 2011, Andreas Schneider wrote:
Shouldn't it detect changes to the buffer through the md5 sum? What I meant was: I modify the buffer (add a line, or change lines) but that change doesn't cause vim to be run again. From what I can see, the tmp file isn't written at all, if it already exists, therefore the md5 sum doesn't change, therefore vim isn't run again. Shouldn't the tmp file always be (re)written, to reflect the content of the current buffer?
This appears to be a Windows specific bug. os.rename does not overwrite file on Windows. I changed that with file.copy. Try the new version of the t-filter module.
Weird, I didn't expect that to be a platform specific issue. Good thing, you figured out I was using Windows :-)
Thank you for your efforts and the quick bug fixing!
Thank you for testing. The recent change in the namespace macros broke a lot of functionality of the filter module. Hopefully, now everything is working correctly.
Everything I tested works fine now, so I guess you are on the right track (if not even on the destination :D) Again, Many thanks :-) -- Best Regards, Andreas