4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
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
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
26 ! need_fileinfo = TRUE; /* display file info after redraw */
27 (void)buf_check_timestamp(curbuf, FALSE); /* check if file changed */
29 curwin->w_topline = 1;
35 ! need_fileinfo = TRUE; /* display file info after redraw */
36 (void)buf_check_timestamp(curbuf, FALSE); /* check if file changed */
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
44 * display the line. */
47 + /* don't display the file info for another buffer now */
48 + need_fileinfo = FALSE;
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
58 { /* Add new patch number below this line */
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)
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 ///