On Wednesday, December 11, 2013 4:00:22 PM UTC-6, Manuel Ortega wrote:
> > 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*.
Lowercase marks are valid only within a single buffer. The :help section I
quoted refers specifically to buffers, i.e. "Jump to the mark {a-z} in the
current buffer."
Uppercase marks are valid anywhere, and will jump to a place in a file
regardless of whether that file is currently loaded into a buffer or not. The
help specifically refers to files, i.e. "[jump] to the mark {A-Z0-9} in the
file where it was set".
That's where I draw the distinction. But if we bring viminfo into this, even
the help for viminfo makes a distinction:
"The viminfo file is used to store:
...
- Marks for several files.
- File marks, pointing to locations in files."
Further down there is a separate section for "viminfo-file-marks" that talks
about the uppercase marks and the numbered marks. Just above is a paragraph
that talks about "normal" marks, where it talks about manually calling
:wviminfo if you want to keep those marks saved when you use :bdelete. This
text is missing from the viminfo-file-marks section.
Furthermore, note that the special marks '0 through '9 are NOT currently
removed by :bwipe. And those marks are noted in the same help location as
manual uppercase marks (:help 'A and :help '0 go to the same place). I'd expect
'0 and 'A to act mostly the same, then.
--
--
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.