832 lines · 29.0 KB · Text
RawDownload
*message.txt*   For Vim version 7.1.  Last change: 2007 Mar 20  		  VIM REFERENCE MANUAL    by Bram Moolenaar  This file contains an alphabetical list of messages and error messages thatVim produces.  You can use this if you don't understand what the messagemeans.  It is not complete though. 1. Old messages		|:messages|2. Error messages	|error-messages|3. Messages		|messages| ==============================================================================1. Old messages			*:messages* *:mes* *message-history* The ":messages" command can be used to view previously given messages.  Thisis especially useful when messages have been overwritten or truncated.  Thisdepends on the 'shortmess' option. The number of remembered messages is fixed at 20 for the tiny version and 100for other versions. 								*g<*The "g<" command can be used to see the last page of previous command output.This is especially useful if you accidentally typed <Space> at the hit-enterprompt.  You are then back at the hit-enter prompt and can then scroll furtherback.Note: when you stopped the output with "q" at the more prompt only up to thatpoint will be displayed.The previous command output is cleared when another command produces output. If you are using translated messages, the first printed line tells whomaintains the messages or the translations.  You can use this to contact themaintainer when you spot a mistake. If you want to find help on a specific (error) message, use the ID at thestart of the message.  For example, to get help on the message: > 	E72: Close error on swap file or (translated): > 	E72: Errore durante chiusura swap file Use: > 	:help E72 If you are lazy, it also works without the shift key: > 	:help e72 ==============================================================================2. Error messages					*error-messages* When an error message is displayed, but it is removed before you could readit, you can see it again with: >  :echo errmsgor view a list of recent messages with: >  :messages  LIST OF MESSAGES			*E222* *E228* *E232* *E256* *E293* *E298* *E304* *E317*			*E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322*			*E323* *E341* *E473* *E570* *E685* >  Add to read buffer  makemap: Illegal mode  Cannot create BalloonEval with both message and callback  Hangul automata ERROR  block was not locked  Didn't get block nr {N}?  ml_timestamp: Didn't get block 0??  pointer block id wrong {N}  Updated too many blocks?  get_varp ERROR  u_undo: line numbers wrong  undo list corrupt  undo line missing  ml_get: cannot find line {N}  cannot find line {N}  line number out of range: {N} past the end  line count wrong in block {N}  Internal error  Internal error: {function}  fatal error in cs_manage_matches This is an internal error.  If you can reproduce it, please send in a bugreport. |bugs| >  ATTENTION  Found a swap file by the name ... See |ATTENTION|. 							*E92*  >  Buffer {N} not found The buffer you requested does not exist.  This can also happen when you havewiped out a buffer which contains a mark or is referenced in another way.|:bwipeout| 							*E95*  >  Buffer with this name already exists You cannot have two buffers with the same name. 							*E72*  >  Close error on swap file The |swap-file|, that is used to keep a copy of the edited text, could not beclosed properly.  Mostly harmless. 							*E169*  >  Command too recursive This happens when an Ex command executes an Ex command that executes an Excommand, etc.  This is only allowed 200 times.  When it's more there probablyis an endless loop.  Probably a |:execute| or |:source| command is involved. 							*E254*  >  Cannot allocate color {name} The color name {name} is unknown.  See |gui-colors| for a list of colors thatare available on most systems. 							*E458*  >  Cannot allocate colormap entry for "xxxx"  Cannot allocate colormap entry, some colors may be incorrect This means that there are not enough colors available for Vim.  It will stillrun, but some of the colors will not appear in the specified color.  Trystopping other applications that use many colors, or start them after startinggvim.Netscape is known to consume a lot of colors.  You can avoid this by tellingit to use its own colormap: >	netscape -installOr tell it to limit to a certain number of colors (64 should work well): >	netscape -ncols 64This can also be done with a line in your Xdefaults file: >	Netscape*installColormap: Yesor >	Netscape*maxImageColors:  64<							*E79*  >  Cannot expand wildcards A filename contains a strange combination of characters, which causes Vim toattempt expanding wildcards but this fails.  This does NOT mean that nomatching file names could be found, but that the pattern was illegal. 							*E459*  >  Cannot go back to previous directory While expanding a file name, Vim failed to go back to the previously useddirectory.  All file names being used may be invalid now!  You need to haveexecute permission on the current directory. 							*E190* *E212*  >  Cannot open "{filename}" for writing  Can't open file for writing For some reason the file you are writing to cannot be created or overwritten.The reason could be that you do not have permission to write in the directoryor the file name is not valid. 							*E166*  >  Can't open linked file for writing You are trying to write to a file which can't be overwritten, and the file isa link (either a hard link or a symbolic link).  Writing might still bepossible if the directory that contains the link or the file is writable, butVim now doesn't know if you want to delete the link and write the file in itsplace, or if you want to delete the file itself and write the new file in itsplace.  If you really want to write the file under this name, you have tomanually delete the link or the file, or change the permissions so that Vimcan overwrite. 							*E46*  >  Cannot set read-only variable "{name}" You are trying to assign a value to an argument of a function |a:var| or a Viminternal variable |v:var| which is read-only. 							*E90*  >  Cannot unload last buffer Vim always requires one buffer to be loaded, otherwise there would be nothingto display in the window. 							*E40*  >  Can't open errorfile <filename> When using the ":make" or ":grep" commands: The file used to save the errormessages or grep output cannot be opened.  This can have several causes:- 'shellredir' has a wrong value.- The shell changes directory, causing the error file to be written in another  directory.  This could be fixed by changing 'makeef', but then the make  command is still executed in the wrong directory.- 'makeef' has a wrong value.- The 'grepprg' or 'makeprg' could not be executed.  This cannot always be  detected (especially on MS-Windows).  Check your $PATH.  >  Can't open file C:\TEMP\VIoD243.TMP On MS-Windows, this message appears when the output of an external command wasto be read, but the command didn't run successfully.  This can be caused bymany things.  Check the 'shell', 'shellquote', 'shellxquote', 'shellslash' andrelated options.  It might also be that the external command was not found,there is no different error message for that. 							*E12*  >  Command not allowed from exrc/vimrc in current dir or tag search Some commands are not allowed for security reasons.  These commands mostlycome from a .exrc or .vimrc file in the current directory, or from a tagsfile.  Also see 'secure'. 							*E74*  >  Command too complex A mapping resulted in a very long command string.  Could be caused by amapping that indirectly calls itself. >  CONVERSION ERROR When writing a file and the text "CONVERSION ERROR" appears, this means thatsome bits were lost when converting text from the internally used UTF-8 to theformat of the file.  The file will not be marked unmodified.  If you careabout the loss of information, set the 'fileencoding' option to another valuethat can handle the characters in the buffer and write again.  If you don'tcare, you can abandon the buffer or reset the 'modified' option. 							*E302*  >  Could not rename swap file When the file name changes, Vim tries to rename the |swap-file| as well.This failed and the old swap file is now still used.  Mostly harmless. 							*E43* *E44*  >  Damaged match string  Corrupted regexp program Something inside Vim went wrong and resulted in a corrupted regexp.  If youknow how to reproduce this problem, please report it. |bugs| 							*E208* *E209* *E210*  >  Error writing to "{filename}"  Error closing "{filename}"  Error reading "{filename}" This occurs when Vim is trying to rename a file, but a simple change of filename doesn't work.  Then the file will be copied, but somehow this failed.The result may be that both the original file and the destination file existand the destination file may be incomplete. >  Vim: Error reading input, exiting... This occurs when Vim cannot read typed characters while input is required.Vim got stuck, the only thing it can do is exit.  This can happen when bothstdin and stderr are redirected and executing a script that doesn't exit Vim. 							*E47*  >  Error while reading errorfile Reading the error file was not possible.  This is NOT caused by an errormessage that was not recognized. 							*E80*  >  Error while writing Writing a file was not completed successfully.  The file is probablyincomplete. 							*E13* *E189*  >  File exists (use ! to override)  "{filename}" exists (use ! to override) You are protected from accidentally overwriting a file.  When you want towrite anyway, use the same command, but add a "!" just after the command.Example: >	:w /tmp/testchanges to: >	:w! /tmp/test<							*E768*  >  Swap file exists: {filename} (:silent! overrides) You are protected from overwriting a file that is being edited by Vim.  Thishappens when you use ":w! filename" and a swapfile is found.- If the swapfile was left over from an old crashed edit session you may want  to delete the swapfile.  Edit {filename} to find out information about the  swapfile.- If you want to write anyway prepend ":silent!" to the command.  For example: >	:silent! w! /tmp/test< The special command is needed, since you already added the ! for overwriting  an existing file. 							*E139*  >  File is loaded in another buffer You are trying to write a file under a name which is also used in anotherbuffer.  This would result in two versions of the same file. 							*E142*  >  File not written: Writing is disabled by 'write' option The 'write' option is off.  This makes all commands that try to write a filegenerate this message.  This could be caused by a |-m| commandline argument.You can switch the 'write' option on with ":set write". 							*E25*  >  GUI cannot be used: Not enabled at compile time You are running a version of Vim that doesn't include the GUI code.  Therefore"gvim" and ":gui" don't work. 							*E49*  >  Invalid scroll size This is caused by setting an invalid value for the 'scroll', 'scrolljump' or'scrolloff' options. 							*E17*  >  "{filename}" is a directory You tried to write a file with the name of a directory.  This is not possible.You probably need to append a file name. 							*E19*  >  Mark has invalid line number You are using a mark that has a line number that doesn't exist.  This canhappen when you have a mark in another file, and some other program hasdeleted lines from it. 							*E219* *E220*  >  Missing {.  Missing }. Using a {} construct in a file name, but there is a { without a matching } orthe other way around.  It should be used like this: {foo,bar}.  This matches"foo" and "bar". 							*E315*  >  ml_get: invalid lnum: This is an internal Vim error.  Please try to find out how it can bereproduced, and submit a bug report |bugreport.vim|. 							*E173*  >  {number} more files to edit You are trying to exit, while the last item in the argument list has not beenedited.  This protects you from accidentally exiting when you still have morefiles to work on.  See |argument-list|.  If you do want to exit, just do itagain and it will work. 							*E23* *E194*  >  No alternate file  No alternate file name to substitute for '#' The alternate file is not defined yet.  See |alternate-file|. 							*E32*  >  No file name The current buffer has no name.  To write it, use ":w fname".  Or give thebuffer a name with ":file fname". 							*E141*  >  No file name for buffer {number} One of the buffers that was changed does not have a file name.  Therefore itcannot be written.  You need to give the buffer a file name: >	:buffer {number}	:file {filename}<							*E33*  >  No previous substitute regular expression When using the '~' character in a pattern, it is replaced with the previouslyused pattern in a ":substitute" command.  This fails when no such command hasbeen used yet.  See |/~|.  This also happens when using ":s/pat/%/", where the"%" stands for the previous substitute string. 							*E35*  >  No previous regular expression When using an empty search pattern, the previous search pattern is used.  Butthat is not possible if there was no previous search. 							*E24*  >  No such abbreviation You have used an ":unabbreviate" command with an argument which is not anexisting abbreviation.  All variations of this command give the same message:":cunabbrev", ":iunabbrev", etc.  Check for trailing white space. >  /dev/dsp: No such file or directory Only given for GTK GUI with Gnome support.  Gnome tries to use the audiodevice and it isn't present.  You can ignore this error. 							*E31*  >  No such mapping You have used an ":unmap" command with an argument which is not an existingmapping.  All variations of this command give the same message: ":cunmap",":unmap!", etc.  A few hints:- Check for trailing white space.- If the mapping is buffer-local you need to use ":unmap <buffer>".  |:map-<buffer>| 							*E37* *E89*  >  No write since last change (use ! to override)  No write since last change for buffer {N} (use ! to override) You are trying to |abandon| a file that has changes.  Vim protects you fromlosing your work.  You can either write the changed file with ":w", or, if youare sure, |abandon| it anyway, and lose all the changes.  This can be done byadding a '!' character just after the command you used.  Example: >	:e other_filechanges to: >	:e! other_file<							*E162*  >  No write since last change for buffer "{name}" This appears when you try to exit Vim while some buffers are changed.  Youwill either have to write the changed buffer (with |:w|), or use a command toabandon the buffer forcefully, e.g., with ":qa!".  Careful, make sure youdon't throw away changes you really want to keep.  You might have forgottenabout a buffer, especially when 'hidden' is set. >  [No write since last change] This appears when executing a shell command while at least one buffer waschanged.  To avoid the message reset the 'warn' option. 							*E38*  >  Null argument Something inside Vim went wrong and resulted in a NULL pointer.  If you knowhow to reproduce this problem, please report it. |bugs| 							*E172*  >  Only one file name allowed The ":edit" command only accepts one file name.  When you want to specifyseveral files for editing use ":next" |:next|. 						*E41* *E82* *E83* *E342*  >  Out of memory!  Out of memory!  (allocating {number} bytes)  Cannot allocate any buffer, exiting...  Cannot allocate buffer, using other one... Oh, oh.  You must have been doing something complicated, or some other programis consuming your memory.  Be careful!  Vim is not completely prepared for anout-of-memory situation.  First make sure that any changes are saved.  Thentry to solve the memory shortage.  To stay on the safe side, exit Vim andstart again.  Also see |msdos-limitations|. 							*E339*  >  Pattern too long This only happens on systems with 16 bit ints: The compiled regexp pattern islonger than about 65000 characters.  Try using a shorter pattern. 							*E45*  >  'readonly' option is set (use ! to override) You are trying to write a file that was marked as read-only.  To write thefile anyway, either reset the 'readonly' option, or add a '!' character justafter the command you used.  Example: >	:wchanges to: >	:w!<							*E294* *E295* *E301*  >  Read error in swap file  Seek error in swap file read  Oops, lost the swap file!!! Vim tried to read text from the |swap-file|, but something went wrong.  Thetext in the related buffer may now be corrupted!  Check carefully before youwrite a buffer.  You may want to write it in another file and check fordifferences. 							*E192*  >  Recursive use of :normal too deep

Lines 1–500 of 832.