> > > Now, since lowercase marks are associated with the *buffer* and not the > > *file*, I would in fact expect :bwipe to zap those. > > > > Huh? Lowercase marks are associated with *files*. In the .viminfo file, > > where the lowercase marks are, each one is associated with a pathname, > > i.e., a file. (It's just that in a sense each lowercase mark is > associated > > with more than one file; that doesn't make them assigned to buffers > rather > > than files, though.) > > No. Only uppercase marks are stored in .viminfo, lowercase marks are > only valid within a current buffer, they don't contain file information. >
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 Lowercase marks find their way into viminfo, and are associated with a file. They do not vanish when one quits vim, which means they can't be associated "merely" with a buffer, as those don't persist across quittings. (I'm not using sessions or anything like that). > > > If :bwipe should leave uppercase marks intact, it should leave lowercase > > marks intact too. Both kinds of marks are for files. > > No Yes. > > 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 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). -Manny -- -- 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.
