4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Test11 sometimes prompts the user, because a file would have been
12 changed outside of Vim. (Antonio Colombo)
13 Solution: Add a FileChangedShell autocommand to avoid the prompt.
14 Files: src/testdir/test11.in
17 *** ../vim-6.2.016/src/testdir/test11.in Sat Dec 2 13:35:22 2000
18 --- src/testdir/test11.in Thu Jun 26 23:43:07 2003
23 Note: This test will fail if "gzip" is not available.
24 $GZIP is made empty, "-v" would cause trouble.
25 + Use a FileChangedShell autocommand to avoid a prompt for "Xtestfile.gz" being
26 + modified outside of Vim (noticed on Solaris).
31 + :au FileChangedShell * echo "caught FileChangedShell"
33 :au FileWritePre *.gz '[,']!gzip
34 :au FileWritePost *.gz undo
38 :au! FileReadPost *.gz '[,']s/l/L/
39 :$r Xtestfile.gz " Read compressed file
40 :w " write it, after filtering
41 + :au! " remove all autocommands
42 + :e " Edit test.out again
43 + :set nobin ff& " use the default fileformat for writing
48 *** ../vim-6.2.016/src/version.c Mon Jun 30 22:27:28 2003
49 --- src/version.c Mon Jun 30 22:29:22 2003
53 { /* Add new patch number below this line */
59 hundred-and-one symptoms of being an internet addict:
60 265. Your reason for not staying in touch with family is that
61 they do not have e-mail addresses.
63 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
64 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
65 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
66 \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///