Thursday, January 2, 2014

Re: Recovering data after massive deletions

Thanks Ben

I should have made it clear, I have not exited the edit session
in which these deletions occurred.

Ben Fritz wrote on Thu-02-Jan 14 4:19PM
> > And when executing undotree(), this alert;
> > E731: using Dictionary as a String
>
> Well you didn't mention how you tried using the return result of undotree(), but there are at least four plugins useful for viewing your undo history. See http://vim.wikia.com/wiki/Using_undo_branches#Plugins
These look good.
I fear there is a misconfiguration as I get this E731: error
message even when starting a fresh vim session and then exacting
undotree() after some editing. So seems to be a general issue with my
vim config and not only of the session in questions.

Some additional information:

The command wundo, writes a file identical to the automatic undofile
pepper:~> ls -l guys
-rw-r--r-- 1 eric eric 70 Dec 29 00:23 guys
pepper:~> ls -l .guys.un\~
-rw-r--r-- 1 eric eric 422693 Dec 29 00:23 .guys.un~
pepper:~> strings .guys.un\~
UnDo
A{ X
03 November 2013

>
> But if you somehow exited Vim without saving, I think the undo information you're looking for may be lost, especially with that E825 message.
>
> :help E825 says:
>
> *E825* The undo file does not contain valid contents and cannot be used.
I cannot remember the command that gave this message :(
(I ran the command some time ago - this problem has been pending
until I had some time to try a few things, before posting).

Eric

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: