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