]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.417
- remove missing .po files
[packages/vim.git] / 6.2.417
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.417
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.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
15
16
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
19 ***************
20 *** 1,4 ****
21 ! *options.txt* For Vim version 6.2.  Last change: 2004 Mar 22
22   
23   
24                   VIM REFERENCE MANUAL    by Bram Moolenaar
25 --- 1,4 ----
26 ! *options.txt* For Vim version 6.2.  Last change: 2004 Mar 30
27   
28   
29                   VIM REFERENCE MANUAL    by Bram Moolenaar
30 ***************
31 *** 6275,6283 ****
32   
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)
38                         global
39                         {not in Vi}
40                         {not available when compiled without the  |+viminfo|
41 --- 6335,6343 ----
42   
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)
48                         global
49                         {not in Vi}
50                         {not available when compiled without the  |+viminfo|
51 ***************
52 *** 6295,6305 ****
53                 with an uppercase letter, and don't contain a lowercase
54                 letter.  Thus "KEEPTHIS and "K_L_M" are stored, but "KeepThis"
55                 and "_K_L_M" are not.
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
64 --- 6355,6364 ----
65                 with an uppercase letter, and don't contain a lowercase
66                 letter.  Thus "KEEPTHIS and "K_L_M" are stored, but "KeepThis"
67                 and "_K_L_M" are not.
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
71 !               start of a comment!
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
75 ***************
76 *** 6317,6322 ****
77 --- 6376,6385 ----
78                 'history' is used.
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
88 ***************
89 *** 6345,6358 ****
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.
94   
95         Example: >
96 !           :set viminfo='50,\"1000,s100,:0,n~/vim/viminfo
97   <
98         '50             Marks will be remembered for the last 50 files you
99                         edited.
100 !       "1000           Contents of registers (up to 1000 lines each) will be
101                         remembered.
102         s100            Registers with more than 100 Kbyte text are skipped.
103         :0              Command-line history will not be saved.
104 --- 6408,6421 ----
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.
109   
110         Example: >
111 !           :set viminfo='50,<1000,s100,:0,n~/vim/viminfo
112   <
113         '50             Marks will be remembered for the last 50 files you
114                         edited.
115 !       <1000           Contents of registers (up to 1000 lines each) will be
116                         remembered.
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
121 ***************
122 *** 5057,5063 ****
123   
124       fprintf(fp, _("\n# Registers:\n"));
125   
126 !     max_num_lines = get_viminfo_parameter('"');
127       if (max_num_lines == 0)
128         return;
129       max_kbyte = get_viminfo_parameter('s');
130 --- 5057,5066 ----
131   
132       fprintf(fp, _("\n# Registers:\n"));
133   
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)
139         return;
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
143 ***************
144 *** 2178,2190 ****
145   #ifdef FEAT_VIMINFO
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:"}
149   #else
150   # ifdef AMIGA
151                             {(char_u *)"",
152 !                                (char_u *)"'20,\"50,s10,h,rdf0:,rdf1:,rdf2:"}
153   # else
154 !                           {(char_u *)"", (char_u *)"'20,\"50,s10,h"}
155   # endif
156   #endif
157   #else
158 --- 2190,2202 ----
159   #ifdef FEAT_VIMINFO
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:"}
163   #else
164   # ifdef AMIGA
165                             {(char_u *)"",
166 !                                (char_u *)"'20,<50,s10,h,rdf0:,rdf1:,rdf2:"}
167   # else
168 !                           {(char_u *)"", (char_u *)"'20,<50,s10,h"}
169   # endif
170   #endif
171   #else
172 ***************
173 *** 5049,5055 ****
174         for (s = p_viminfo; *s;)
175         {
176             /* Check it's a valid character */
177 !           if (vim_strchr((char_u *)"!\"%'/:@cfhnrs", *s) == NULL)
178             {
179                 errmsg = illegal_char(errbuf, *s);
180                 break;
181 --- 5061,5067 ----
182         for (s = p_viminfo; *s;)
183         {
184             /* Check it's a valid character */
185 !           if (vim_strchr((char_u *)"!\"%'/:<@cfhnrs", *s) == NULL)
186             {
187                 errmsg = illegal_char(errbuf, *s);
188                 break;
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
191 ***************
192 *** 639,640 ****
193 --- 639,642 ----
194   {   /* Add new patch number below this line */
195 + /**/
196 +     417,
197   /**/
198
199 -- 
200 Some of the well know MS-Windows errors:
201         ESLEEP          Operator fell asleep
202         ENOERR          No error yet
203         EDOLLAR         OS too expensive
204         EWINDOWS        MS-Windows loaded, system in danger
205
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 ///
This page took 0.069695 seconds and 3 git commands to generate.