Mercurial > vim
annotate runtime/doc/message.txt @ 12944:2d54f1e7ba0f v8.0.1348
patch 8.0.1348: make testclean deletes script file on MS-Windows
commit https://github.com/vim/vim/commit/c8c75796a60e89210cc470f1b3864546fd4f319a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 26 17:18:06 2017 +0100
patch 8.0.1348: make testclean deletes script file on MS-Windows
Problem: Make testclean deletes script file on MS-Windows.
Solution: Rename file to avoid it starting with an "x".
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 26 Nov 2017 17:30:05 +0100 |
parents | 65d7fd8381a3 |
children | 167a030448fa |
rev | line source |
---|---|
12756
3b26420fc639
Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
12622
diff
changeset
|
1 *message.txt* For Vim version 8.0. Last change: 2017 Oct 14 |
7 | 2 |
3 | |
4 VIM REFERENCE MANUAL by Bram Moolenaar | |
5 | |
6 | |
7 This file contains an alphabetical list of messages and error messages that | |
8 Vim produces. You can use this if you don't understand what the message | |
9 means. It is not complete though. | |
10 | |
11 1. Old messages |:messages| | |
12 2. Error messages |error-messages| | |
13 3. Messages |messages| | |
14 | |
15 ============================================================================== | |
16 1. Old messages *:messages* *:mes* *message-history* | |
17 | |
18 The ":messages" command can be used to view previously given messages. This | |
19 is especially useful when messages have been overwritten or truncated. This | |
20 depends on the 'shortmess' option. | |
21 | |
8897
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
22 :messages Show all messages. |
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
23 |
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
24 :{count}messages Show the {count} most recent messages. |
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
25 |
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
26 :messages clear Clear all messages. |
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
27 |
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
28 :{count}messages clear Clear messages, keeping only the {count} most |
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
29 recent ones. |
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
30 |
2233
43cad213cb7f
A bit of cleanup and simplification for undofile.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
31 The number of remembered messages is fixed at 20 for the tiny version and 200 |
625 | 32 for other versions. |
7 | 33 |
447 | 34 *g<* |
35 The "g<" command can be used to see the last page of previous command output. | |
532 | 36 This is especially useful if you accidentally typed <Space> at the hit-enter |
1118 | 37 prompt. You are then back at the hit-enter prompt and can then scroll further |
38 back. | |
2826 | 39 Note: If the output has been stopped with "q" at the more prompt, it will only |
40 be displayed up to this point. | |
447 | 41 The previous command output is cleared when another command produces output. |
10140
b11ceef7116e
commit https://github.com/vim/vim/commit/64d8e25bf6efe5f18b032563521c3ce278c316ab
Christian Brabandt <cb@256bit.org>
parents:
9555
diff
changeset
|
42 The "g<" output is not redirected. |
447 | 43 |
7 | 44 If you are using translated messages, the first printed line tells who |
45 maintains the messages or the translations. You can use this to contact the | |
46 maintainer when you spot a mistake. | |
47 | |
48 If you want to find help on a specific (error) message, use the ID at the | |
49 start of the message. For example, to get help on the message: > | |
50 | |
51 E72: Close error on swap file | |
52 | |
53 or (translated): > | |
54 | |
55 E72: Errore durante chiusura swap file | |
56 | |
57 Use: > | |
58 | |
59 :help E72 | |
60 | |
61 If you are lazy, it also works without the shift key: > | |
62 | |
63 :help e72 | |
64 | |
65 ============================================================================== | |
1618 | 66 2. Error messages *error-messages* *errors* |
7 | 67 |
68 When an error message is displayed, but it is removed before you could read | |
69 it, you can see it again with: > | |
70 :echo errmsg | |
8897
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
71 Or view a list of recent messages with: > |
7 | 72 :messages |
8897
a410390e340b
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
73 See `:messages` above. |
7 | 74 |
75 | |
76 LIST OF MESSAGES | |
77 *E222* *E228* *E232* *E256* *E293* *E298* *E304* *E317* | |
78 *E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322* | |
2581 | 79 *E323* *E341* *E473* *E570* *E685* > |
7 | 80 Add to read buffer |
81 makemap: Illegal mode | |
82 Cannot create BalloonEval with both message and callback | |
83 Hangul automata ERROR | |
84 block was not locked | |
85 Didn't get block nr {N}? | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
86 ml_upd_block0(): Didn't get block 0?? |
7 | 87 pointer block id wrong {N} |
88 Updated too many blocks? | |
89 get_varp ERROR | |
90 u_undo: line numbers wrong | |
91 undo list corrupt | |
92 undo line missing | |
93 ml_get: cannot find line {N} | |
94 cannot find line {N} | |
95 line number out of range: {N} past the end | |
96 line count wrong in block {N} | |
97 Internal error | |
84 | 98 Internal error: {function} |
7 | 99 fatal error in cs_manage_matches |
100 | |
101 This is an internal error. If you can reproduce it, please send in a bug | |
102 report. |bugs| | |
103 | |
104 > | |
105 ATTENTION | |
106 Found a swap file by the name ... | |
107 | |
108 See |ATTENTION|. | |
109 | |
110 *E92* > | |
111 Buffer {N} not found | |
112 | |
113 The buffer you requested does not exist. This can also happen when you have | |
114 wiped out a buffer which contains a mark or is referenced in another way. | |
115 |:bwipeout| | |
116 | |
117 *E95* > | |
118 Buffer with this name already exists | |
119 | |
120 You cannot have two buffers with the same name. | |
121 | |
122 *E72* > | |
123 Close error on swap file | |
124 | |
125 The |swap-file|, that is used to keep a copy of the edited text, could not be | |
126 closed properly. Mostly harmless. | |
127 | |
128 *E169* > | |
129 Command too recursive | |
130 | |
131 This happens when an Ex command executes an Ex command that executes an Ex | |
10498
883396809b45
commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents:
10198
diff
changeset
|
132 command, etc. The limit is 200 or the value of 'maxfuncdepth', whatever is |
883396809b45
commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents:
10198
diff
changeset
|
133 larger. When it's more there probably is an endless loop. Probably a |
883396809b45
commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents:
10198
diff
changeset
|
134 |:execute| or |:source| command is involved. |
7 | 135 |
136 *E254* > | |
137 Cannot allocate color {name} | |
138 | |
139 The color name {name} is unknown. See |gui-colors| for a list of colors that | |
140 are available on most systems. | |
141 | |
142 *E458* > | |
143 Cannot allocate colormap entry, some colors may be incorrect | |
144 | |
145 This means that there are not enough colors available for Vim. It will still | |
146 run, but some of the colors will not appear in the specified color. Try | |
147 stopping other applications that use many colors, or start them after starting | |
148 gvim. | |
2033
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
149 Browsers are known to consume a lot of colors. You can avoid this with |
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
150 netscape by telling it to use its own colormap: > |
7 | 151 netscape -install |
152 Or tell it to limit to a certain number of colors (64 should work well): > | |
153 netscape -ncols 64 | |
154 This can also be done with a line in your Xdefaults file: > | |
155 Netscape*installColormap: Yes | |
156 or > | |
157 Netscape*maxImageColors: 64 | |
158 < | |
159 *E79* > | |
160 Cannot expand wildcards | |
161 | |
162 A filename contains a strange combination of characters, which causes Vim to | |
163 attempt expanding wildcards but this fails. This does NOT mean that no | |
164 matching file names could be found, but that the pattern was illegal. | |
165 | |
166 *E459* > | |
167 Cannot go back to previous directory | |
168 | |
169 While expanding a file name, Vim failed to go back to the previously used | |
170 directory. All file names being used may be invalid now! You need to have | |
171 execute permission on the current directory. | |
172 | |
173 *E190* *E212* > | |
174 Cannot open "{filename}" for writing | |
175 Can't open file for writing | |
176 | |
177 For some reason the file you are writing to cannot be created or overwritten. | |
178 The reason could be that you do not have permission to write in the directory | |
179 or the file name is not valid. | |
180 | |
181 *E166* > | |
182 Can't open linked file for writing | |
183 | |
184 You are trying to write to a file which can't be overwritten, and the file is | |
185 a link (either a hard link or a symbolic link). Writing might still be | |
186 possible if the directory that contains the link or the file is writable, but | |
187 Vim now doesn't know if you want to delete the link and write the file in its | |
188 place, or if you want to delete the file itself and write the new file in its | |
189 place. If you really want to write the file under this name, you have to | |
190 manually delete the link or the file, or change the permissions so that Vim | |
191 can overwrite. | |
192 | |
193 *E46* > | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
194 Cannot change read-only variable "{name}" |
7 | 195 |
196 You are trying to assign a value to an argument of a function |a:var| or a Vim | |
197 internal variable |v:var| which is read-only. | |
198 | |
199 *E90* > | |
200 Cannot unload last buffer | |
201 | |
202 Vim always requires one buffer to be loaded, otherwise there would be nothing | |
203 to display in the window. | |
204 | |
205 *E40* > | |
206 Can't open errorfile <filename> | |
207 | |
208 When using the ":make" or ":grep" commands: The file used to save the error | |
209 messages or grep output cannot be opened. This can have several causes: | |
210 - 'shellredir' has a wrong value. | |
211 - The shell changes directory, causing the error file to be written in another | |
212 directory. This could be fixed by changing 'makeef', but then the make | |
213 command is still executed in the wrong directory. | |
214 - 'makeef' has a wrong value. | |
215 - The 'grepprg' or 'makeprg' could not be executed. This cannot always be | |
216 detected (especially on MS-Windows). Check your $PATH. | |
217 | |
218 > | |
219 Can't open file C:\TEMP\VIoD243.TMP | |
220 | |
221 On MS-Windows, this message appears when the output of an external command was | |
222 to be read, but the command didn't run successfully. This can be caused by | |
223 many things. Check the 'shell', 'shellquote', 'shellxquote', 'shellslash' and | |
224 related options. It might also be that the external command was not found, | |
225 there is no different error message for that. | |
226 | |
227 *E12* > | |
228 Command not allowed from exrc/vimrc in current dir or tag search | |
229 | |
230 Some commands are not allowed for security reasons. These commands mostly | |
231 come from a .exrc or .vimrc file in the current directory, or from a tags | |
232 file. Also see 'secure'. | |
233 | |
234 *E74* > | |
235 Command too complex | |
236 | |
237 A mapping resulted in a very long command string. Could be caused by a | |
238 mapping that indirectly calls itself. | |
239 | |
240 > | |
241 CONVERSION ERROR | |
242 | |
243 When writing a file and the text "CONVERSION ERROR" appears, this means that | |
244 some bits were lost when converting text from the internally used UTF-8 to the | |
245 format of the file. The file will not be marked unmodified. If you care | |
246 about the loss of information, set the 'fileencoding' option to another value | |
247 that can handle the characters in the buffer and write again. If you don't | |
248 care, you can abandon the buffer or reset the 'modified' option. | |
249 | |
250 *E302* > | |
251 Could not rename swap file | |
252 | |
253 When the file name changes, Vim tries to rename the |swap-file| as well. | |
254 This failed and the old swap file is now still used. Mostly harmless. | |
255 | |
256 *E43* *E44* > | |
257 Damaged match string | |
258 Corrupted regexp program | |
259 | |
260 Something inside Vim went wrong and resulted in a corrupted regexp. If you | |
261 know how to reproduce this problem, please report it. |bugs| | |
262 | |
263 *E208* *E209* *E210* > | |
264 Error writing to "{filename}" | |
265 Error closing "{filename}" | |
266 Error reading "{filename}" | |
267 | |
268 This occurs when Vim is trying to rename a file, but a simple change of file | |
269 name doesn't work. Then the file will be copied, but somehow this failed. | |
270 The result may be that both the original file and the destination file exist | |
271 and the destination file may be incomplete. | |
272 | |
273 > | |
274 Vim: Error reading input, exiting... | |
275 | |
276 This occurs when Vim cannot read typed characters while input is required. | |
277 Vim got stuck, the only thing it can do is exit. This can happen when both | |
278 stdin and stderr are redirected and executing a script that doesn't exit Vim. | |
279 | |
280 *E47* > | |
281 Error while reading errorfile | |
282 | |
283 Reading the error file was not possible. This is NOT caused by an error | |
284 message that was not recognized. | |
285 | |
286 *E80* > | |
287 Error while writing | |
288 | |
289 Writing a file was not completed successfully. The file is probably | |
290 incomplete. | |
291 | |
292 *E13* *E189* > | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
293 File exists (add ! to override) |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
294 "{filename}" exists (add ! to override) |
7 | 295 |
296 You are protected from accidentally overwriting a file. When you want to | |
297 write anyway, use the same command, but add a "!" just after the command. | |
298 Example: > | |
299 :w /tmp/test | |
300 changes to: > | |
301 :w! /tmp/test | |
302 < | |
457 | 303 *E768* > |
304 Swap file exists: {filename} (:silent! overrides) | |
305 | |
306 You are protected from overwriting a file that is being edited by Vim. This | |
307 happens when you use ":w! filename" and a swapfile is found. | |
308 - If the swapfile was left over from an old crashed edit session you may want | |
309 to delete the swapfile. Edit {filename} to find out information about the | |
310 swapfile. | |
311 - If you want to write anyway prepend ":silent!" to the command. For example: > | |
856 | 312 :silent! w! /tmp/test |
457 | 313 < The special command is needed, since you already added the ! for overwriting |
314 an existing file. | |
315 | |
7 | 316 *E139* > |
317 File is loaded in another buffer | |
318 | |
319 You are trying to write a file under a name which is also used in another | |
320 buffer. This would result in two versions of the same file. | |
321 | |
322 *E142* > | |
323 File not written: Writing is disabled by 'write' option | |
324 | |
325 The 'write' option is off. This makes all commands that try to write a file | |
326 generate this message. This could be caused by a |-m| commandline argument. | |
327 You can switch the 'write' option on with ":set write". | |
328 | |
329 *E25* > | |
330 GUI cannot be used: Not enabled at compile time | |
331 | |
332 You are running a version of Vim that doesn't include the GUI code. Therefore | |
333 "gvim" and ":gui" don't work. | |
334 | |
335 *E49* > | |
336 Invalid scroll size | |
337 | |
338 This is caused by setting an invalid value for the 'scroll', 'scrolljump' or | |
339 'scrolloff' options. | |
340 | |
341 *E17* > | |
342 "{filename}" is a directory | |
343 | |
344 You tried to write a file with the name of a directory. This is not possible. | |
345 You probably need to append a file name. | |
346 | |
347 *E19* > | |
348 Mark has invalid line number | |
349 | |
350 You are using a mark that has a line number that doesn't exist. This can | |
351 happen when you have a mark in another file, and some other program has | |
352 deleted lines from it. | |
353 | |
354 *E219* *E220* > | |
355 Missing {. | |
356 Missing }. | |
357 | |
358 Using a {} construct in a file name, but there is a { without a matching } or | |
359 the other way around. It should be used like this: {foo,bar}. This matches | |
360 "foo" and "bar". | |
361 | |
362 *E315* > | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
363 ml_get: invalid lnum: {number} |
7 | 364 |
365 This is an internal Vim error. Please try to find out how it can be | |
366 reproduced, and submit a bug report |bugreport.vim|. | |
367 | |
368 *E173* > | |
369 {number} more files to edit | |
370 | |
371 You are trying to exit, while the last item in the argument list has not been | |
372 edited. This protects you from accidentally exiting when you still have more | |
373 files to work on. See |argument-list|. If you do want to exit, just do it | |
374 again and it will work. | |
375 | |
376 *E23* *E194* > | |
377 No alternate file | |
378 No alternate file name to substitute for '#' | |
379 | |
380 The alternate file is not defined yet. See |alternate-file|. | |
381 | |
382 *E32* > | |
383 No file name | |
384 | |
385 The current buffer has no name. To write it, use ":w fname". Or give the | |
386 buffer a name with ":file fname". | |
387 | |
388 *E141* > | |
389 No file name for buffer {number} | |
390 | |
391 One of the buffers that was changed does not have a file name. Therefore it | |
392 cannot be written. You need to give the buffer a file name: > | |
393 :buffer {number} | |
394 :file {filename} | |
395 < | |
396 *E33* > | |
397 No previous substitute regular expression | |
398 | |
399 When using the '~' character in a pattern, it is replaced with the previously | |
400 used pattern in a ":substitute" command. This fails when no such command has | |
167 | 401 been used yet. See |/~|. This also happens when using ":s/pat/%/", where the |
402 "%" stands for the previous substitute string. | |
7 | 403 |
404 *E35* > | |
405 No previous regular expression | |
406 | |
407 When using an empty search pattern, the previous search pattern is used. But | |
408 that is not possible if there was no previous search. | |
409 | |
410 *E24* > | |
411 No such abbreviation | |
412 | |
413 You have used an ":unabbreviate" command with an argument which is not an | |
414 existing abbreviation. All variations of this command give the same message: | |
415 ":cunabbrev", ":iunabbrev", etc. Check for trailing white space. | |
416 | |
417 > | |
418 /dev/dsp: No such file or directory | |
419 | |
420 Only given for GTK GUI with Gnome support. Gnome tries to use the audio | |
421 device and it isn't present. You can ignore this error. | |
422 | |
423 *E31* > | |
424 No such mapping | |
425 | |
426 You have used an ":unmap" command with an argument which is not an existing | |
427 mapping. All variations of this command give the same message: ":cunmap", | |
826 | 428 ":unmap!", etc. A few hints: |
429 - Check for trailing white space. | |
430 - If the mapping is buffer-local you need to use ":unmap <buffer>". | |
431 |:map-<buffer>| | |
7 | 432 |
433 *E37* *E89* > | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
434 No write since last change (add ! to override) |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
435 No write since last change for buffer {N} (add ! to override) |
7 | 436 |
437 You are trying to |abandon| a file that has changes. Vim protects you from | |
438 losing your work. You can either write the changed file with ":w", or, if you | |
439 are sure, |abandon| it anyway, and lose all the changes. This can be done by | |
440 adding a '!' character just after the command you used. Example: > | |
441 :e other_file | |
442 changes to: > | |
443 :e! other_file | |
444 < | |
445 *E162* > | |
446 No write since last change for buffer "{name}" | |
447 | |
448 This appears when you try to exit Vim while some buffers are changed. You | |
449 will either have to write the changed buffer (with |:w|), or use a command to | |
450 abandon the buffer forcefully, e.g., with ":qa!". Careful, make sure you | |
451 don't throw away changes you really want to keep. You might have forgotten | |
452 about a buffer, especially when 'hidden' is set. | |
453 | |
22 | 454 > |
455 [No write since last change] | |
456 | |
457 This appears when executing a shell command while at least one buffer was | |
458 changed. To avoid the message reset the 'warn' option. | |
459 | |
7 | 460 *E38* > |
461 Null argument | |
462 | |
463 Something inside Vim went wrong and resulted in a NULL pointer. If you know | |
464 how to reproduce this problem, please report it. |bugs| | |
465 | |
466 *E41* *E82* *E83* *E342* > | |
467 Out of memory! | |
468 Out of memory! (allocating {number} bytes) | |
469 Cannot allocate any buffer, exiting... | |
470 Cannot allocate buffer, using other one... | |
471 | |
472 Oh, oh. You must have been doing something complicated, or some other program | |
473 is consuming your memory. Be careful! Vim is not completely prepared for an | |
474 out-of-memory situation. First make sure that any changes are saved. Then | |
475 try to solve the memory shortage. To stay on the safe side, exit Vim and | |
2415 | 476 start again. |
477 | |
478 Buffers are only partly kept in memory, thus editing a very large file is | |
479 unlikely to cause an out-of-memory situation. Undo information is completely | |
480 in memory, you can reduce that with these options: | |
481 - 'undolevels' Set to a low value, or to -1 to disable undo completely. This | |
482 helps for a change that affects all lines. | |
483 - 'undoreload' Set to zero to disable. | |
484 | |
7 | 485 *E339* > |
486 Pattern too long | |
487 | |
2698
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2581
diff
changeset
|
488 This happens on systems with 16 bit ints: The compiled regexp pattern is |
7 | 489 longer than about 65000 characters. Try using a shorter pattern. |
2698
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2581
diff
changeset
|
490 It also happens when the offset of a rule doesn't fit in the space available. |
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2581
diff
changeset
|
491 Try simplifying the pattern. |
7 | 492 |
493 *E45* > | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
494 'readonly' option is set (add ! to override) |
7 | 495 |
496 You are trying to write a file that was marked as read-only. To write the | |
497 file anyway, either reset the 'readonly' option, or add a '!' character just | |
498 after the command you used. Example: > | |
499 :w | |
500 changes to: > | |
501 :w! | |
502 < | |
503 *E294* *E295* *E301* > | |
504 Read error in swap file | |
505 Seek error in swap file read | |
506 Oops, lost the swap file!!! | |
507 | |
508 Vim tried to read text from the |swap-file|, but something went wrong. The | |
509 text in the related buffer may now be corrupted! Check carefully before you | |
510 write a buffer. You may want to write it in another file and check for | |
511 differences. | |
512 | |
513 *E192* > | |
514 Recursive use of :normal too deep | |
515 | |
516 You are using a ":normal" command, whose argument again uses a ":normal" | |
517 command in a recursive way. This is restricted to 'maxmapdepth' levels. This | |
518 example illustrates how to get this message: > | |
519 :map gq :normal gq<CR> | |
520 If you type "gq", it will execute this mapping, which will call "gq" again. | |
521 | |
522 *E22* > | |
523 Scripts nested too deep | |
524 | |
525 Scripts can be read with the "-s" command-line argument and with the ":source" | |
526 command. The script can then again read another script. This can continue | |
527 for about 14 levels. When more nesting is done, Vim assumes that there is a | |
528 recursive loop somewhere and stops with this error message. | |
529 | |
530 *E319* > | |
531 Sorry, the command is not available in this version | |
532 | |
533 You have used a command that is not present in the version of Vim you are | |
534 using. When compiling Vim, many different features can be enabled or | |
535 disabled. This depends on how big Vim has chosen to be and the operating | |
536 system. See |+feature-list| for when which feature is available. The | |
537 |:version| command shows which feature Vim was compiled with. | |
538 | |
539 *E300* > | |
540 Swap file already exists (symlink attack?) | |
541 | |
542 This message appears when Vim is trying to open a swap file and finds it | |
543 already exists or finds a symbolic link in its place. This shouldn't happen, | |
544 because Vim already checked that the file doesn't exist. Either someone else | |
545 opened the same file at exactly the same moment (very unlikely) or someone is | |
546 attempting a symlink attack (could happen when editing a file in /tmp or when | |
547 'directory' starts with "/tmp", which is a bad choice). | |
548 | |
549 *E432* > | |
550 Tags file not sorted: {file name} | |
551 | |
552 Vim (and Vi) expect tags files to be sorted in ASCII order. Binary searching | |
553 can then be used, which is a lot faster than a linear search. If your tags | |
554 files are not properly sorted, reset the |'tagbsearch'| option. | |
555 This message is only given when Vim detects a problem when searching for a | |
2535
31e51111bd14
Runtime file updates. Fix tar plugin window split.
Bram Moolenaar <bram@vim.org>
parents:
2527
diff
changeset
|
556 tag. Sometimes this message is not given, even though the tags file is not |
7 | 557 properly sorted. |
558 | |
559 *E460* > | |
560 The resource fork would be lost (add ! to override) | |
561 | |
562 On the Macintosh (classic), when writing a file, Vim attempts to preserve all | |
563 info about a file, including its resource fork. If this is not possible you | |
564 get this error message. Append "!" to the command name to write anyway (and | |
565 lose the info). | |
566 | |
567 *E424* > | |
568 Too many different highlighting attributes in use | |
569 | |
570 Vim can only handle about 223 different kinds of highlighting. If you run | |
571 into this limit, you have used too many |:highlight| commands with different | |
572 arguments. A ":highlight link" is not counted. | |
573 | |
574 *E77* > | |
575 Too many file names | |
576 | |
577 When expanding file names, more than one match was found. Only one match is | |
578 allowed for the command that was used. | |
579 | |
580 *E303* > | |
581 Unable to open swap file for "{filename}", recovery impossible | |
582 | |
583 Vim was not able to create a swap file. You can still edit the file, but if | |
2033
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
584 Vim unexpectedly exits the changes will be lost. And Vim may consume a lot of |
7 | 585 memory when editing a big file. You may want to change the 'directory' option |
586 to avoid this error. See |swap-file|. | |
587 | |
588 *E140* > | |
589 Use ! to write partial buffer | |
590 | |
591 When using a range to write part of a buffer, it is unusual to overwrite the | |
592 original file. It is probably a mistake (e.g., when Visual mode was active | |
593 when using ":w"), therefore Vim requires using a ! after the command, e.g.: | |
594 ":3,10w!". | |
595 > | |
596 | |
597 Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to type | |
598 VirtualBinding | |
599 | |
600 Messages like this appear when starting up. This is not a Vim problem, your | |
601 X11 configuration is wrong. You can find a hint on how to solve this here: | |
602 http://groups.yahoo.com/group/solarisonintel/message/12179. | |
2236
dc2e5ec0500d
Added the undofile() function. Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2233
diff
changeset
|
603 [this URL is no longer valid] |
7 | 604 |
605 *W10* > | |
606 Warning: Changing a readonly file | |
607 | |
608 The file is read-only and you are making a change to it anyway. You can use | |
609 the |FileChangedRO| autocommand event to avoid this message (the autocommand | |
610 must reset the 'readonly' option). See 'modifiable' to completely disallow | |
611 making changes to a file. | |
548 | 612 This message is only given for the first change after 'readonly' has been set. |
7 | 613 |
614 *W13* > | |
615 Warning: File "{filename}" has been created after editing started | |
616 | |
617 You are editing a file in Vim when it didn't exist, but it does exist now. | |
618 You will have to decide if you want to keep the version in Vim or the newly | |
619 created file. This message is not given when 'buftype' is not empty. | |
620 | |
621 *W11* > | |
622 Warning: File "{filename}" has changed since editing started | |
623 | |
624 The file which you have started editing has got another timestamp and the | |
625 contents changed (more precisely: When reading the file again with the current | |
626 option settings and autocommands you would end up with different text). This | |
627 probably means that some other program changed the file. You will have to | |
628 find out what happened, and decide which version of the file you want to keep. | |
629 Set the 'autoread' option if you want to do this automatically. | |
630 This message is not given when 'buftype' is not empty. | |
631 | |
632 There is one situation where you get this message even though there is nothing | |
633 wrong: If you save a file in Windows on the day the daylight saving time | |
634 starts. It can be fixed in one of these ways: | |
635 - Add this line in your autoexec.bat: > | |
636 SET TZ=-1 | |
637 < Adjust the "-1" for your time zone. | |
638 - Disable "automatically adjust clock for daylight saving changes". | |
639 - Just write the file again the next day. Or set your clock to the next day, | |
640 write the file twice and set the clock back. | |
641 | |
12756
3b26420fc639
Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
12622
diff
changeset
|
642 If you get W11 all the time, you may need to disable "Acronis Active |
12785 | 643 Protection" or register Vim as a trusted service/application. |
12756
3b26420fc639
Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
12622
diff
changeset
|
644 |
7 | 645 *W12* > |
646 Warning: File "{filename}" has changed and the buffer was changed in Vim as well | |
647 | |
648 Like the above, and the buffer for the file was changed in this Vim as well. | |
649 You will have to decide if you want to keep the version in this Vim or the one | |
650 on disk. This message is not given when 'buftype' is not empty. | |
651 | |
652 *W16* > | |
653 Warning: Mode of file "{filename}" has changed since editing started | |
654 | |
655 When the timestamp for a buffer was changed and the contents are still the | |
656 same but the mode (permissions) have changed. This usually occurs when | |
657 checking out a file from a version control system, which causes the read-only | |
658 bit to be reset. It should be safe to reload the file. Set 'autoread' to | |
659 automatically reload the file. | |
660 | |
661 *E211* > | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
662 File "{filename}" no longer available |
7 | 663 |
664 The file which you have started editing has disappeared, or is no longer | |
665 accessible. Make sure you write the buffer somewhere to avoid losing | |
666 changes. This message is not given when 'buftype' is not empty. | |
667 | |
668 *W14* > | |
669 Warning: List of file names overflow | |
670 | |
671 You must be using an awful lot of buffers. It's now possible that two buffers | |
672 have the same number, which causes various problems. You might want to exit | |
673 Vim and restart it. | |
674 | |
9533
9f921133ee90
commit https://github.com/vim/vim/commit/269f595f9eef584937e7eae70fde68cdd7da5bcf
Christian Brabandt <cb@256bit.org>
parents:
8897
diff
changeset
|
675 *E931* > |
9f921133ee90
commit https://github.com/vim/vim/commit/269f595f9eef584937e7eae70fde68cdd7da5bcf
Christian Brabandt <cb@256bit.org>
parents:
8897
diff
changeset
|
676 Buffer cannot be registered |
9f921133ee90
commit https://github.com/vim/vim/commit/269f595f9eef584937e7eae70fde68cdd7da5bcf
Christian Brabandt <cb@256bit.org>
parents:
8897
diff
changeset
|
677 |
9555
9560a5b782ee
commit https://github.com/vim/vim/commit/42ebd066422d73cdb7bda6a1dc828a3dd022dec8
Christian Brabandt <cb@256bit.org>
parents:
9533
diff
changeset
|
678 Out of memory or a duplicate buffer number. May happen after W14. Looking up |
9533
9f921133ee90
commit https://github.com/vim/vim/commit/269f595f9eef584937e7eae70fde68cdd7da5bcf
Christian Brabandt <cb@256bit.org>
parents:
8897
diff
changeset
|
679 a buffer will not always work, better restart Vim. |
9f921133ee90
commit https://github.com/vim/vim/commit/269f595f9eef584937e7eae70fde68cdd7da5bcf
Christian Brabandt <cb@256bit.org>
parents:
8897
diff
changeset
|
680 |
7 | 681 *E296* *E297* > |
682 Seek error in swap file write | |
683 Write error in swap file | |
684 | |
685 This mostly happens when the disk is full. Vim could not write text into the | |
686 |swap-file|. It's not directly harmful, but when Vim unexpectedly exits some | |
687 text may be lost without recovery being possible. Vim might run out of memory | |
688 when this problem persists. | |
689 | |
690 *connection-refused* > | |
691 Xlib: connection to "<machine-name:0.0" refused by server | |
692 | |
693 This happens when Vim tries to connect to the X server, but the X server does | |
694 not allow a connection. The connection to the X server is needed to be able | |
695 to restore the title and for the xterm clipboard support. Unfortunately this | |
696 error message cannot be avoided, except by disabling the |+xterm_clipboard| | |
697 and |+X11| features. | |
698 | |
699 *E10* > | |
700 \\ should be followed by /, ? or & | |
701 | |
702 A command line started with a backslash or the range of a command contained a | |
703 backslash in a wrong place. This is often caused by command-line continuation | |
704 being disabled. Remove the 'C' flag from the 'cpoptions' option to enable it. | |
20 | 705 Or use ":set nocp". |
7 | 706 |
707 *E471* > | |
708 Argument required | |
709 | |
710 This happens when an Ex command with mandatory argument(s) was executed, but | |
711 no argument has been specified. | |
712 | |
713 *E474* *E475* > | |
714 Invalid argument | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
715 Invalid argument: {arg} |
7 | 716 |
717 An Ex command has been executed, but an invalid argument has been specified. | |
718 | |
719 *E488* > | |
720 Trailing characters | |
721 | |
722 An argument has been added to an Ex command that does not permit one. | |
723 | |
724 *E477* *E478* > | |
725 No ! allowed | |
726 Don't panic! | |
727 | |
728 You have added a "!" after an Ex command that doesn't permit one. | |
729 | |
730 *E481* > | |
731 No range allowed | |
732 | |
733 A range was specified for an Ex command that doesn't permit one. See | |
734 |cmdline-ranges|. | |
735 | |
736 *E482* *E483* > | |
737 Can't create file {filename} | |
738 Can't get temp file name | |
739 | |
740 Vim cannot create a temporary file. | |
741 | |
742 *E484* *E485* > | |
2098
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
743 Can't open file {filename} |
3259c3923c1e
Updated runtime an documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
2033
diff
changeset
|
744 Can't read file {filename} |
7 | 745 |
4186 | 746 Vim cannot read a temporary file. Especially on Windows, this can be caused |
747 by wrong escaping of special characters for cmd.exe; the approach was | |
748 changed with patch 7.3.443. Try using |shellescape()| for all shell arguments | |
749 given to |system()|, or explicitly add escaping with ^. Also see | |
750 'shellxquote' and 'shellxescape'. | |
7 | 751 |
752 *E464* > | |
753 Ambiguous use of user-defined command | |
754 | |
755 There are two user-defined commands with a common name prefix, and you used | |
756 Command-line completion to execute one of them. |user-cmd-ambiguous| | |
757 Example: > | |
758 :command MyCommand1 echo "one" | |
759 :command MyCommand2 echo "two" | |
760 :MyCommand | |
761 < | |
762 *E492* > | |
763 Not an editor command | |
764 | |
765 You tried to execute a command that is neither an Ex command nor | |
766 a user-defined command. | |
767 | |
11262 | 768 *E943* > |
769 Command table needs to be updated, run 'make cmdidxs' | |
770 | |
771 This can only happen when changing the source code, when adding a command in | |
772 src/ex_cmds.h. The lookup table then needs to be updated, by running: > | |
773 make cmdidxs | |
774 | |
7 | 775 ============================================================================== |
776 3. Messages *messages* | |
777 | |
778 This is an (incomplete) overview of various messages that Vim gives: | |
779 | |
446 | 780 *hit-enter* *press-enter* *hit-return* |
781 *press-return* *hit-enter-prompt* | |
7 | 782 |
446 | 783 Press ENTER or type command to continue |
7 | 784 |
785 This message is given when there is something on the screen for you to read, | |
786 and the screen is about to be redrawn: | |
787 - After executing an external command (e.g., ":!ls" and "="). | |
788 - Something is displayed on the status line that is longer than the width of | |
789 the window, or runs into the 'showcmd' or 'ruler' output. | |
790 | |
446 | 791 -> Press <Enter> or <Space> to redraw the screen and continue, without that |
792 key being used otherwise. | |
793 -> Press ':' or any other Normal mode command character to start that command. | |
698 | 794 -> Press 'k', <Up>, 'u', 'b' or 'g' to scroll back in the messages. This |
795 works the same way as at the |more-prompt|. Only works when 'compatible' | |
796 is off and 'more' is on. | |
2033
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
797 -> Pressing 'j', 'f', 'd' or <Down> is ignored when messages scrolled off the |
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
798 top of the screen, 'compatible' is off and 'more' is on, to avoid that |
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
799 typing one 'j' or 'f' too many causes the messages to disappear. |
446 | 800 -> Press <C-Y> to copy (yank) a modeless selection to the clipboard register. |
7 | 801 -> Use a menu. The characters defined for Cmdline-mode are used. |
802 -> When 'mouse' contains the 'r' flag, clicking the left mouse button works | |
803 like pressing <Space>. This makes it impossible to select text though. | |
804 -> For the GUI clicking the left mouse button in the last line works like | |
805 pressing <Space>. | |
806 {Vi: only ":" commands are interpreted} | |
807 | |
447 | 808 If you accidentally hit <Enter> or <Space> and you want to see the displayed |
809 text then use |g<|. This only works when 'more' is set. | |
810 | |
7 | 811 To reduce the number of hit-enter prompts: |
812 - Set 'cmdheight' to 2 or higher. | |
813 - Add flags to 'shortmess'. | |
814 - Reset 'showcmd' and/or 'ruler'. | |
815 | |
539 | 816 If your script causes the hit-enter prompt and you don't know why, you may |
817 find the |v:scrollstart| variable useful. | |
818 | |
7 | 819 Also see 'mouse'. The hit-enter message is highlighted with the |hl-Question| |
820 group. | |
821 | |
822 | |
823 *more-prompt* *pager* > | |
824 -- More -- | |
446 | 825 -- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit |
7 | 826 |
827 This message is given when the screen is filled with messages. It is only | |
828 given when the 'more' option is on. It is highlighted with the |hl-MoreMsg| | |
829 group. | |
830 | |
831 Type effect ~ | |
832 <CR> or <NL> or j or <Down> one more line | |
446 | 833 d down a page (half a screen) |
2033
de5a43c5eedc
Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents:
1702
diff
changeset
|
834 <Space> or f or <PageDown> down a screen |
447 | 835 G down all the way, until the hit-enter |
856 | 836 prompt |
446 | 837 |
7 | 838 <BS> or k or <Up> one line back (*) |
446 | 839 u up a page (half a screen) (*) |
840 b or <PageUp> back a screen (*) | |
447 | 841 g back to the start (*) |
446 | 842 |
7 | 843 q, <Esc> or CTRL-C stop the listing |
844 : stop the listing and enter a | |
845 command-line | |
846 <C-Y> yank (copy) a modeless selection to | |
847 the clipboard ("* and "+ registers) | |
848 {menu-entry} what the menu is defined to in | |
849 Cmdline-mode. | |
850 <LeftMouse> (**) next page | |
851 | |
852 Any other key causes the meaning of the keys to be displayed. | |
853 | |
446 | 854 (*) backwards scrolling is {not in Vi}. Only scrolls back to where messages |
855 started to scroll. | |
7 | 856 (**) Clicking the left mouse button only works: |
857 - For the GUI: in the last line of the screen. | |
858 - When 'r' is included in 'mouse' (but then selecting text won't work). | |
859 | |
860 | |
861 Note: The typed key is directly obtained from the terminal, it is not mapped | |
862 and typeahead is ignored. | |
863 | |
532 | 864 The |g<| command can be used to see the last page of previous command output. |
865 This is especially useful if you accidentally typed <Space> at the hit-enter | |
866 prompt. | |
867 | |
7 | 868 vim:tw=78:ts=8:ft=help:norl: |