]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.017
- initial import
[packages/vim.git] / 6.2.017
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.017
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 6.2.017
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
15
16
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
19 ***************
20 *** 10,19 ****
21 --- 10,22 ----
22   
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).
27   
28   STARTTEST
29   :so small.vim
30   :let $GZIP = ""
31 + :au FileChangedShell * echo "caught FileChangedShell"
32   :set bin
33   :au FileWritePre    *.gz   '[,']!gzip
34   :au FileWritePost   *.gz   undo
35 ***************
36 *** 47,52 ****
37 --- 50,59 ----
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
44 + :w
45   :qa!
46   ENDTEST
47   
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
50 ***************
51 *** 632,633 ****
52 --- 632,635 ----
53   {   /* Add new patch number below this line */
54 + /**/
55 +     17,
56   /**/
57
58 -- 
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. 
62
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 ///
This page took 0.025396 seconds and 3 git commands to generate.