From: Andreas Schneider <aksdb@gmx.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: filter and/or vim module in current beta
Date: Mon, 29 Aug 2011 18:18:47 +0200 [thread overview]
Message-ID: <4E5BBBE7.3070504@gmx.de> (raw)
In-Reply-To: <alpine.LNX.2.02.1108281225460.1821@nqv-gnoyrg.tngrjnl.2jver.arg>
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
___________________________________________________________________________________
prev parent reply other threads:[~2011-08-29 16:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-26 18:26 Andreas Schneider
2011-08-26 19:33 ` Aditya Mahajan
2011-08-27 1:40 ` Andreas Schneider
2011-08-27 5:54 ` Aditya Mahajan
2011-08-27 7:02 ` Aditya Mahajan
2011-08-28 7:49 ` Andreas Schneider
2011-08-27 13:52 ` Aditya Mahajan
2011-08-28 13:43 ` Andreas Schneider
2011-08-28 19:58 ` Aditya Mahajan
2011-08-29 5:37 ` Mojca Miklavec
2011-08-29 15:19 ` Aditya Mahajan
2011-08-29 16:18 ` Andreas Schneider [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5BBBE7.3070504@gmx.de \
--to=aksdb@gmx.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).