On Wed, December 11, 2013 07:08, Manuel Ortega wrote: >> On Mo, 09 Dez 2013, Bram Moolenaar wrote: >> > Christian Brabandt wrote: >> > > 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. > > I'm confused. If you preserve the uppercase mark, there *will* be a way > to see that it was loaded. It will be in the viminfo file, and visible > by doing :marks.
Indeed. Let's say it differently then. I like to use uppercase as an easy way to access files, regardless of whether those files have been wiped before. It's just like bookmarks. It doesn't make sense to have them not available, just because I closed the book before (and one actually loses them). At the same time, I don't want :ls! to be able to show, that a buffer was loaded before, that's why I used :bw > For that matter, why not access that file by means other than an > uppercase mark? Why not have a mapping or a user-command that opens it? As I said, I feel like marks are a perfect way to access files. > Surely there should be a way to get rid of *everything* associated with > a buffer, including uppercase marks. If :bwipe is not going to be that > way, than something should take its place. I see it differently. Wiping closes the buffer completely. But marks are not associated with a buffer, so they should certainly survive. If one doesn't want that, then one can delmark them or even not save the .viminfo file. But I for one would like to have those marks survive several sessions. 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.
