From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70944 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: Sun, 28 Aug 2011 15:43:40 +0200 Message-ID: <4E5A460C.6020509@gmx.de> References: <4E57E563.8070402@gmx.de> <4E584B28.6030703@gmx.de> <4E59F308.5010403@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 1314539081 27189 80.91.229.12 (28 Aug 2011 13:44:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Aug 2011 13:44:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 28 15:44:37 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 1Qxff9-0003kt-49 for gctc-ntg-context-518@m.gmane.org; Sun, 28 Aug 2011 15:44:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 98701CAE56; Sun, 28 Aug 2011 15:44:32 +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 Wns8o8xfzL-R; Sun, 28 Aug 2011 15:44:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4FC9ACAECB; Sun, 28 Aug 2011 15:44:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C9DFCAECB for ; Sun, 28 Aug 2011 15:44:27 +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 Hm71j5CST8zv for ; Sun, 28 Aug 2011 15:44:16 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 241EBCAE56 for ; Sun, 28 Aug 2011 15:44:16 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p7SDiF4c013662 for ; Sun, 28 Aug 2011 15:44:15 +0200 Original-Received: (qmail invoked by alias); 28 Aug 2011 13:44:14 -0000 Original-Received: from p54B4CEA5.dip.t-dialin.net (EHLO [192.168.1.3]) [84.180.206.165] by mail.gmx.net (mp052) with SMTP; 28 Aug 2011 15:44:14 +0200 X-Authenticated: #2825193 X-Provags-ID: V01U2FsdGVkX1/X2Gg2ZY7XnDcvVASaLk4vOkgq9k0fHkZ/STCdsk RdM2zNreihLw5Z 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.22; 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: 03FpNIf9F - 3b89f6d1fc1c - 20110828 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:70944 Archived-At: On 27.08.2011 15:52, Aditya Mahajan wrote: > On Sun, 28 Aug 2011, Andreas Schneider wrote: >> ... >> Currently, pscolor doesn't seem to work as color scheme which renders >> a default vimtyping environment (like my initial example) >> unhighlighted. Using blackandwhite works. > > Fixed. Again, was due to the change in the namespace handler. For a > working version, you will need to download all the t-*.tex files from > the dev branch at github. Works fine now. >> Here I noticed a second problem. A change to the to-be-highlighted >> buffer as well as some options (like said "alternative") isn't >> processed at all. > > The change in alternative is handled at the tex level, so there is no > need to rerun vim I thought so and indeed it works now ... it was probably coincidence that it didn't work before. >> 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? >> Also it seems, that tabs are killed. If I manually replace them with >> spaces, it works. > > Tabs are converted to spaces at TeX level: tab=4 gives four spaces, > tab=8 gives eight spaces. However, there was a bug due to which the > spaces at the beginning of the line were eaten. Fixed now. Indeed, works as expected now. >> Empty lines also seem to be removed, however that appears to be a >> feature - not sure. > > No, it was a bug. Also fixed. Even better (kinda ;-)). Thank you for your efforts and the quick bug fixing! -- 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 ___________________________________________________________________________________