> i'm one of those risk-takers who like to keep his passwords in a
> module in his home path -- for the purposes of this email let's
> say i call it "passwords"
>
> as a nod to security i've started keeping it encrypted
> (blowfish)
>
> i also like the new undofile option, it would have saved me much
> hair tearing and teeth gnashing if i had had it all along
>
> when these two likes coincide (opening an encrypted file with
> 'set undofile' in my .vimrc) i get an unpleasant warning that
>
> E832: Non-encrypted file has encrypted undo file:
> /yadayada/passwords
>
> i can work around this with
>
> if expand("%") != "passwords"
> set undofile
> endif
>
> in my .vimrc, but on reflection i can't think of a better
> candidate for persistent undo than that module
>
> does anyone have a better workaround, or is this perchance a bug
> somewhere along the line -- after all, it is indeed not a
> non-encrypted file and should not be reporting it as such
>
> my vim is 7.3.406
I don't see this problem, I can use an undo file with an encrypted file
without problems.
Perhaps the sequence in which you do things matter? Try to make a
reproducible example, starting with "vim -u NONE". Don't use your real
passwords file :-).
--
ARTHUR: You are indeed brave Sir knight, but the fight is mine.
BLACK KNIGHT: Had enough?
ARTHUR: You stupid bastard. You havn't got any arms left.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
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
No comments:
Post a Comment