Hi Bram!

On Mo, 09 Dez 2013, Bram Moolenaar wrote:

> 
> Christian Brabandt wrote:
> 
> > Bram,
> > I use an uppercase mark to access a blowfish encrypted file. I therefore 
> > :bwipe that buffer when I'm done with this file. Unfortunately, I can't 
> > use the uppercase mark again, to reload that file, Vim throws E92 error.
> > 
> > Attached patch fixes it and includes a test.
> 
> Seems useful.  However, why not only :bdelete the buffer?  What remains
> behind that :bwipe does get rid of?

I didn't want to leave behind any way to see what buffers where loaded.

> What if someone relies on :bwipe clearing the mark?  E.g., when it's a
> temp file with a weird name that you don't want to accidentally jump
> back to?

Is this really a problem, that someone wipes a buffer and relies on the 
fact, that going back to that mark errors out? One should rather use 
:delmark or use setpos() function in that case.

Best,
Christian

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui