]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.094
- updated to 0.7.3
[packages/vim.git] / 7.0.094
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.094
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 7.0.094
11 Problem:    When a hidden buffer is made the current buffer and another file
12             edited later, the file message will still be given.  Using
13             ":silent" also doesn't prevent the file message. (Marvin Renich)
14 Solution:   Reset the need_fileinfo flag when reading a file.  Don't set
15             need_fileinfo when msg_silent is set.
16 Files:      src/buffer.c, src/fileio.c
17
18
19 *** ../vim-7.0.093/src/buffer.c Tue Sep  5 16:29:38 2006
20 --- src/buffer.c        Thu Sep  7 21:43:41 2006
21 ***************
22 *** 1386,1392 ****
23       }
24       else
25       {
26 !       need_fileinfo = TRUE;           /* display file info after redraw */
27         (void)buf_check_timestamp(curbuf, FALSE); /* check if file changed */
28   #ifdef FEAT_AUTOCMD
29         curwin->w_topline = 1;
30 --- 1386,1393 ----
31       }
32       else
33       {
34 !       if (!msg_silent)
35 !           need_fileinfo = TRUE;       /* display file info after redraw */
36         (void)buf_check_timestamp(curbuf, FALSE); /* check if file changed */
37   #ifdef FEAT_AUTOCMD
38         curwin->w_topline = 1;
39 *** ../vim-7.0.093/src/fileio.c Tue Aug 29 18:16:37 2006
40 --- src/fileio.c        Wed Sep  6 22:54:19 2006
41 ***************
42 *** 316,321 ****
43 --- 316,324 ----
44        * display the line. */
45       ex_no_reprint = TRUE;
46   
47 +     /* don't display the file info for another buffer now */
48 +     need_fileinfo = FALSE;
49
50       /*
51        * For Unix: Use the short file name whenever possible.
52        * Avoids problems with networks and when directory names are changed.
53 *** ../vim-7.0.093/src/version.c        Sat Sep  9 13:36:51 2006
54 --- src/version.c       Sat Sep  9 14:19:04 2006
55 ***************
56 *** 668,669 ****
57 --- 668,671 ----
58   {   /* Add new patch number below this line */
59 + /**/
60 +     94,
61   /**/
62
63 -- 
64 ARTHUR:        A scratch?  Your arm's off!
65 BLACK KNIGHT:  No, it isn't.
66 ARTHUR:        Well, what's that then?
67 BLACK KNIGHT:  I've had worse.
68                                   The Quest for the Holy Grail (Monty Python)
69
70  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
71 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
72 \\\        download, build and distribute -- http://www.A-A-P.org        ///
73  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.036184 seconds and 3 git commands to generate.