From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70954 Path: news.gmane.org!not-for-mail From: Andreas Schneider Newsgroups: gmane.comp.tex.context Subject: Re: filter and/or vim module in current beta Date: Mon, 29 Aug 2011 18:18:47 +0200 Message-ID: <4E5BBBE7.3070504@gmx.de> References: <4E57E563.8070402@gmx.de> <4E584B28.6030703@gmx.de> <4E59F308.5010403@gmx.de> <4E5A460C.6020509@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1314634790 13044 80.91.229.12 (29 Aug 2011 16:19:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2011 16:19:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 29 18:19:46 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qy4Yq-0005ED-9b for gctc-ntg-context-518@m.gmane.org; Mon, 29 Aug 2011 18:19:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46A7BCAF22; Mon, 29 Aug 2011 18:19:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Z1B2NDOg2skg; Mon, 29 Aug 2011 18:19:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7F07CAF1D; Mon, 29 Aug 2011 18:19:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1B059CAF1D for ; Mon, 29 Aug 2011 18:19:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wzcvT5T3IEuE for ; Mon, 29 Aug 2011 18:19:28 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 19CA2CAF1B for ; Mon, 29 Aug 2011 18:19:28 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p7TGJRpF023397 for ; Mon, 29 Aug 2011 18:19:27 +0200 Original-Received: (qmail invoked by alias); 29 Aug 2011 16:19:26 -0000 Original-Received: from p54B4B056.dip.t-dialin.net (EHLO [192.168.1.3]) [84.180.176.86] by mail.gmx.net (mp059) with SMTP; 29 Aug 2011 18:19:26 +0200 X-Authenticated: #2825193 X-Provags-ID: V01U2FsdGVkX1/Q4v0SxWXQPhuMgC0CozumKK7aevc5bKSD6Tyd1H w7sTPIqTqgUfeR User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 In-Reply-To: X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.23; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Fqgjruu - ad2f15c2758c - 20110829 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70954 Archived-At: 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________