> > No. I am now looking at my .viminfo, and there are lowercase marks in > it. > > They live under the section with the heading "History of marks within > > files (newest to oldest):" For instance, I opened my ~/.profile, went to > > line 166, hit "mb", and then now in viminfo there is now: > > > > > ~/.profile > > " 166 0 > > b 166 0 > > They are not remembered across files. But nevertheless they might end > stored in your .viminfo file and that's why you think they are valid > across buffers.
But that doesn't make mark b valid and magically jump to your > ~/.profile. > I never said it would make 'b magically jump to my profile if I'm currently looking at something that isn't my profile. I said lowercase marks are associated with files. And each lowercase mark a-z is a mark to a position in...a *file*. And each lowercase mark a-z is, in viminfo, listed under...a *file*. Therefore, lowercase marks are associated with files. > > > > But there clearly should be a command to wipe away all the marks > > > associated > > > > with a file in one fell swoop. If :bwipe won't serve that, then > > > something > > > > should. > > > > > > :delmarks A-Z > > > > I said *all* the marks. ":delmarks A-Za-z0-9" is a pain to type. And > > It does what you asked for. Clear your 'viminfo' setting and write it, > if you don't want them to persist. My point is that there should be a built-in, easy way to clear everything associated with a buffer, including all of the marks that viminfo stores as pointing to positions in the file associated with the buffer. And one shouldn't have to blast one's entire viminfo to do this. > anyway, according to the docs :delmarks only gets rid of the so-called > > "marks for the current buffer". If there is such a thing as "buffer-only > > marks" (and there appear to be no such things), then :delmarks deletes at > > most them and not ALL marks. (Or the docs are just wrong). > > Well, perhaps you want to tweak your 'viminfo' setting. But this has > nothing to do with the proposed patch, we are talking about. > It has to do with protecting some functionality that your patch will destroy, namely the ability to destroy all marks associated with the :bwiped thing. -- -- 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.
