Comment #1 on issue 177 by fritzoph...@gmail.com: can not wipe buffer on
bufhidden
http://code.google.com/p/vim/issues/detail?id=177
As noted by ZyX, my reply on the mailing list wasn't posted here. Sorry for
the double post on vim_dev, I'm posing using the issue tracker now.
On Wednesday, November 6, 2013 1:33:33 AM UTC-6, v...@googlecode.com wrote:
autocmd BufHidden * call OnBufHidden(expand("<afile>"))
function! OnBufHidden(buffer)
[snip]
if a:buffer == ""
echoerr "clsing:".br
execute "bw! ".br
endif
endfunction
What is the expected output? What do you see instead?
buffer can be wiped out.
nothing happen.
This function only ever wipes out a buffer if the buffer name is empty.
First of all...why?
Secondly, what is the buffer you are wiping out? Does it actually have
no name?
If so, does your echoerr message appear?
How did you determine that the buffer isn't being wiped?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.