4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
10 Patch 6.2.417 (after 6.2.393)
11 Problem: Many people forget that the '"' item in 'viminfo' needs to be
12 preceded with a backslash,
13 Solution: Add '<' as an alias for the '"' item.
14 Files: runtime/doc/options.txt, src/ops.c, src/option.c
17 *** ../vim-6.2.416/runtime/doc/options.txt Mon Mar 22 21:11:50 2004
18 --- runtime/doc/options.txt Tue Mar 30 21:21:44 2004
21 ! *options.txt* For Vim version 6.2. Last change: 2004 Mar 22
24 VIM REFERENCE MANUAL by Bram Moolenaar
26 ! *options.txt* For Vim version 6.2. Last change: 2004 Mar 30
29 VIM REFERENCE MANUAL by Bram Moolenaar
33 *'viminfo'* *'vi'* *E526* *E527* *E528*
34 'viminfo' 'vi' string (Vi default: "", Vim default for MS-DOS,
35 ! Windows and OS/2: '20,"50,s10,h,rA:,rB:,
36 ! for Amiga: '20,"50,s10,h,rdf0:,rdf1:,rdf2:
37 ! for others: '20,"50,s10,h)
40 {not available when compiled without the |+viminfo|
43 *'viminfo'* *'vi'* *E526* *E527* *E528*
44 'viminfo' 'vi' string (Vi default: "", Vim default for MS-DOS,
45 ! Windows and OS/2: '20,<50,s10,h,rA:,rB:,
46 ! for Amiga: '20,<50,s10,h,rdf0:,rdf1:,rdf2:
47 ! for others: '20,<50,s10,h)
50 {not available when compiled without the |+viminfo|
53 with an uppercase letter, and don't contain a lowercase
54 letter. Thus "KEEPTHIS and "K_L_M" are stored, but "KeepThis"
56 ! " Maximum number of lines saved for each register. If zero then
57 ! registers are not saved. When not included, all lines are
58 ! saved. Dont forget to put a backslash before the ", otherwise
59 ! it will be recognized as the start of a comment!
60 ! Also see the 's' item below: limit specified in Kbyte.
61 % When included, save and restore the buffer list. If Vim is
62 started with a file name argument, the buffer list is not
63 restored. If Vim is started without a file name argument, the
65 with an uppercase letter, and don't contain a lowercase
66 letter. Thus "KEEPTHIS and "K_L_M" are stored, but "KeepThis"
68 ! " Maximum number of lines saved for each register. Old name of
69 ! the '<' item, with the disadvantage that you need to put a
70 ! backslash before the ", otherwise it will be recognized as the
72 % When included, save and restore the buffer list. If Vim is
73 started with a file name argument, the buffer list is not
74 restored. If Vim is started without a file name argument, the
79 : Maximum number of items in the command-line history to be
80 saved. When not included, the value of 'history' is used.
81 + < Maximum number of lines saved for each register. If zero then
82 + registers are not saved. When not included, all lines are
83 + saved. '"' is the old name for this item.
84 + Also see the 's' item below: limit specified in Kbyte.
85 @ Maximum number of items in the input-line history to be
86 saved. When not included, the value of 'history' is used.
87 c When included, convert the text in the viminfo file from the
90 s Maximum size of an item in Kbyte. If zero then registers are
91 not saved. Currently only applies to registers. The default
92 "s10" will exclude registers with more than 10 Kbyte of text.
93 ! Also see the '"' item above: line count limit.
96 ! :set viminfo='50,\"1000,s100,:0,n~/vim/viminfo
98 '50 Marks will be remembered for the last 50 files you
100 ! "1000 Contents of registers (up to 1000 lines each) will be
102 s100 Registers with more than 100 Kbyte text are skipped.
103 :0 Command-line history will not be saved.
105 s Maximum size of an item in Kbyte. If zero then registers are
106 not saved. Currently only applies to registers. The default
107 "s10" will exclude registers with more than 10 Kbyte of text.
108 ! Also see the '<' item above: line count limit.
111 ! :set viminfo='50,<1000,s100,:0,n~/vim/viminfo
113 '50 Marks will be remembered for the last 50 files you
115 ! <1000 Contents of registers (up to 1000 lines each) will be
117 s100 Registers with more than 100 Kbyte text are skipped.
118 :0 Command-line history will not be saved.
119 *** ../vim-6.2.416/src/ops.c Mon Mar 22 21:11:50 2004
120 --- src/ops.c Mon Mar 29 22:22:17 2004
124 fprintf(fp, _("\n# Registers:\n"));
126 ! max_num_lines = get_viminfo_parameter('"');
127 if (max_num_lines == 0)
129 max_kbyte = get_viminfo_parameter('s');
132 fprintf(fp, _("\n# Registers:\n"));
134 ! /* Get '<' value, use old '"' value if '<' is not found. */
135 ! max_num_lines = get_viminfo_parameter('<');
136 ! if (max_num_lines < 0)
137 ! max_num_lines = get_viminfo_parameter('"');
138 if (max_num_lines == 0)
140 max_kbyte = get_viminfo_parameter('s');
141 *** ../vim-6.2.416/src/option.c Tue Mar 23 23:11:09 2004
142 --- src/option.c Mon Mar 29 11:51:21 2004
146 (char_u *)&p_viminfo, PV_NONE,
147 #if defined(MSDOS) || defined(MSWIN) || defined(OS2)
148 ! {(char_u *)"", (char_u *)"'20,\"50,s10,h,rA:,rB:"}
152 ! (char_u *)"'20,\"50,s10,h,rdf0:,rdf1:,rdf2:"}
154 ! {(char_u *)"", (char_u *)"'20,\"50,s10,h"}
160 (char_u *)&p_viminfo, PV_NONE,
161 #if defined(MSDOS) || defined(MSWIN) || defined(OS2)
162 ! {(char_u *)"", (char_u *)"'20,<50,s10,h,rA:,rB:"}
166 ! (char_u *)"'20,<50,s10,h,rdf0:,rdf1:,rdf2:"}
168 ! {(char_u *)"", (char_u *)"'20,<50,s10,h"}
174 for (s = p_viminfo; *s;)
176 /* Check it's a valid character */
177 ! if (vim_strchr((char_u *)"!\"%'/:@cfhnrs", *s) == NULL)
179 errmsg = illegal_char(errbuf, *s);
182 for (s = p_viminfo; *s;)
184 /* Check it's a valid character */
185 ! if (vim_strchr((char_u *)"!\"%'/:<@cfhnrs", *s) == NULL)
187 errmsg = illegal_char(errbuf, *s);
189 *** ../vim-6.2.416/src/version.c Tue Mar 30 21:52:46 2004
190 --- src/version.c Tue Mar 30 21:55:01 2004
194 { /* Add new patch number below this line */
200 Some of the well know MS-Windows errors:
201 ESLEEP Operator fell asleep
203 EDOLLAR OS too expensive
204 EWINDOWS MS-Windows loaded, system in danger
206 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
207 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
208 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
209 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///