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