Hello Vim_Dev,

I have an autocommand:

au BufReadCmd ssh://* s:sshBufReadCmd(expand("<abuf>"))

When I run `doautocmd BufReadCmd ssh://somefile` from another buffer, 
`expand("<abuf>")` is expanded to the buffer number of the current buffer 
rather than the buffer on which I want to execute the autocommand.  Is this a 
bug or a feature?

Best regards,
Marcin Szamotulski

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/ntXrE73xx8yEzV3xHJTFtBfUQXl8K5yAMfuS_GcqZ8QB-RiklOqkUMuWMkEASkNlE_IpRr715Po4IvLFDRDfmUhZrOdeTMMOojeiajrSr1Y%3D%40coot.me.

Attachment: signature.asc
Description: OpenPGP digital signature

Raspunde prin e-mail lui