4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When setting 'viminfo' after editing a new buffer its marks are
12 not stored. (Keith Roberts)
13 Solution: Set the "b_marks_read" flag when skipping to read marks from the
18 *** ../vim-6.2.188/src/fileio.c Sun Jan 18 20:58:01 2004
19 --- src/fileio.c Thu Jan 15 22:07:40 2004
24 if (!curbuf->b_marks_read && get_viminfo_parameter('\'') > 0)
26 read_viminfo(NULL, FALSE, TRUE, FALSE);
27 ! curbuf->b_marks_read = TRUE;
35 if (!curbuf->b_marks_read && get_viminfo_parameter('\'') > 0)
36 read_viminfo(NULL, FALSE, TRUE, FALSE);
38 ! /* Always set b_marks_read; needed when 'viminfo' is changed to include
39 ! * the ' parameter after opening a buffer. */
40 ! curbuf->b_marks_read = TRUE;
44 *** ../vim-6.2.188/src/version.c Sun Jan 18 21:01:53 2004
45 --- src/version.c Sun Jan 18 21:04:06 2004
49 { /* Add new patch number below this line */
55 A computer programmer is a device for turning requirements into
56 undocumented features. It runs on cola, pizza and Dilbert cartoons.
59 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
60 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
61 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
62 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///