On Wed, December 11, 2013 14:38, Bram Moolenaar wrote:
> No, when one edits text in a temp file, you just :bwipe it to avoid
> going back to that file in any way.  That works because the file name
> was only stored in the buffer and it's gone.  You don't have to think
> about where else the name would be stored or what marks point into that
> file.

But you wouldn't waste a precious uppercase mark for a simple temp
scratch buffer, which you were unlikely to reuse again anyhow.

> So, instead of your patch, you could create a command ":WipeBufKeepMark"
> that uses setpos().  Except that setpos() requires a buffer number...
> Hmm.  Perhaps we should add a way to have setpos() accept a file name?
> Then you can solve it in Vimscript.

C'mon, you are not telling me, that this is not a bug? It's a simple
bug, that an uppercase mark can't be accessed after bwiping a buffer
and that should be fixed (and I don't mean to document it).

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