diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-30 20:40:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-30 20:40:11 +0200 |
commit | 6ed8ed84f970dd2cdb7cbcb71746665cece4d063 (patch) | |
tree | d0e47372810fec843ef0f95505737275bf5264d8 /runtime/doc | |
parent | fd3e5dc97f06e54220a2c5b65980dd6adc2c5555 (diff) |
Made reading/writing undo info a bit more robust.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/todo.txt | 3 | ||||
-rw-r--r-- | runtime/doc/undo.txt | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 4ecc8691bf..7210961fdc 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -123,9 +123,6 @@ Slow combination of folding and PHP syntax highlighting. Script to reproduce it. Caused by "syntax sync fromstart" in combination with patch 7.2.274. (Christian Brabandt, 2010 May 27) -Check for unused functions, idea: -http://blog.flameeyes.eu/2008/01/17/today-how-to-identify-unused-exported-functions-and-variables - In command line window ":close" doesn't work properly. (Tony Mechelynck, 2009 Jun 1) diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt index 4dbe69394f..96ff96a9ee 100644 --- a/runtime/doc/undo.txt +++ b/runtime/doc/undo.txt @@ -282,10 +282,15 @@ Reading an existing undo file may fail for several reasons: the undo file cannot be used, it would corrupt the text. This also happens when 'encoding' differs from when the undo file was written. *E825* The undo file does not contain valid contents and cannot be used. +"Not reading undo file, owner differs" + The undo file is owned by someone else than the owner of the text + file. For safety the undo file is not used. Writing an undo file may fail for these reasons: *E828* The file to be written cannot be created. Perhaps you do not have write permissions in the directory. +"Cannot write undo file in any directory in 'undodir'" + None of the directories in 'undodir' can be used. "Will not overwrite with undo file, cannot read" A file exists with the name of the undo file to be written, but it cannot be read. You may want to delete this file or rename it. @@ -293,6 +298,9 @@ Writing an undo file may fail for these reasons: A file exists with the name of the undo file to be written, but it does not start with the right magic number. You may want to delete this file or rename it. +"Skipping undo file write, noting to undo" + There is no undo information not be written, nothing has been changed + or 'undolevels' is negative. *E829* An error occurred while writing the undo file. You may want to try again. |