From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70946 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: filter and/or vim module in current beta Date: Sun, 28 Aug 2011 15:58:15 -0400 (EDT) Message-ID: 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 1314561596 28818 80.91.229.12 (28 Aug 2011 19:59:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Aug 2011 19:59:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 28 21:59:50 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 1QxlWH-0001gF-H2 for gctc-ntg-context-518@m.gmane.org; Sun, 28 Aug 2011 21:59:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D1FCCAF1D; Sun, 28 Aug 2011 21:59:47 +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 0ZT0EOj3Gghq; Sun, 28 Aug 2011 21:59:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D00B7CAE56; Sun, 28 Aug 2011 21:59:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39F29CAE56 for ; Sun, 28 Aug 2011 21:59: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 Rq4Jp6PrAXtT for ; Sun, 28 Aug 2011 21:59:31 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id DA0FCCAB80 for ; Sun, 28 Aug 2011 21:59:30 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7SJxSWi030209 for ; Sun, 28 Aug 2011 21:59:30 +0200 Original-Received: FROM [10.0.2.15] (bas3-montreal02-1096682717.dsl.bell.ca [65.94.12.221]) By hackers.mr.itd.umich.edu ID 4E5A9E1F.18381.4060 ; Authuser adityam; 28 Aug 2011 15:59:27 EDT In-Reply-To: <4E5A460C.6020509@gmx.de> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rFpTXt2R - 13f8bce53dee - 20110828 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:70946 Archived-At: On Sun, 28 Aug 2011, Andreas Schneider wrote: > On 27.08.2011 15:52, Aditya Mahajan wrote: >>> I have to manually delete the vimout, tmp and md5 files first before I >>> actually see the change. >> >> You can also use --mode=force to force a rerun. > > 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. > 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. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________