Mercurial > vim
comparison runtime/doc/undo.txt @ 2238:3d0a7beb0d75 vim73
Made reading/writing undo info a bit more robust.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 30 May 2010 20:40:11 +0200 |
parents | dc2e5ec0500d |
children | 732cb7b31956 |
comparison
equal
deleted
inserted
replaced
2237:770485470e59 | 2238:3d0a7beb0d75 |
---|---|
280 "File contents changed, cannot use undo info" | 280 "File contents changed, cannot use undo info" |
281 The file text differs from when the undo file was written. This means | 281 The file text differs from when the undo file was written. This means |
282 the undo file cannot be used, it would corrupt the text. This also | 282 the undo file cannot be used, it would corrupt the text. This also |
283 happens when 'encoding' differs from when the undo file was written. | 283 happens when 'encoding' differs from when the undo file was written. |
284 *E825* The undo file does not contain valid contents and cannot be used. | 284 *E825* The undo file does not contain valid contents and cannot be used. |
285 "Not reading undo file, owner differs" | |
286 The undo file is owned by someone else than the owner of the text | |
287 file. For safety the undo file is not used. | |
285 | 288 |
286 Writing an undo file may fail for these reasons: | 289 Writing an undo file may fail for these reasons: |
287 *E828* The file to be written cannot be created. Perhaps you do not have | 290 *E828* The file to be written cannot be created. Perhaps you do not have |
288 write permissions in the directory. | 291 write permissions in the directory. |
292 "Cannot write undo file in any directory in 'undodir'" | |
293 None of the directories in 'undodir' can be used. | |
289 "Will not overwrite with undo file, cannot read" | 294 "Will not overwrite with undo file, cannot read" |
290 A file exists with the name of the undo file to be written, but it | 295 A file exists with the name of the undo file to be written, but it |
291 cannot be read. You may want to delete this file or rename it. | 296 cannot be read. You may want to delete this file or rename it. |
292 "Will not overwrite, this is not an undo file" | 297 "Will not overwrite, this is not an undo file" |
293 A file exists with the name of the undo file to be written, but it | 298 A file exists with the name of the undo file to be written, but it |
294 does not start with the right magic number. You may want to delete | 299 does not start with the right magic number. You may want to delete |
295 this file or rename it. | 300 this file or rename it. |
301 "Skipping undo file write, noting to undo" | |
302 There is no undo information not be written, nothing has been changed | |
303 or 'undolevels' is negative. | |
296 *E829* An error occurred while writing the undo file. You may want to try | 304 *E829* An error occurred while writing the undo file. You may want to try |
297 again. | 305 again. |
298 | 306 |
299 ============================================================================== | 307 ============================================================================== |
300 6. Remarks about undo *undo-remarks* | 308 6. Remarks about undo *undo-remarks* |