Wednesday, August 5, 2015

Re: autocmd with

> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 18 2015 13:55:59)
> Заплатки: 1-788

I was running up to patch 622. It seems the behavior of <buffer=abuf>
was changed/fixed
in patch 7.4.637
https://groups.google.com/d/msg/vim_dev/VUMahGC2n1s/iYwbxEIN5PIJ

I also tried with vim 7.3 (default version that comes with mac) and it
seems to have been
broken for a long time.

>> vim -u NONE -i NONE --cmd 'au BufNew * :call DefAu()' --cmd $'fu
>> DefAu()\nau CursorHold <buffer=abuf> echo "hold"\nendfu' -c enew

This works if I compile vim with all patches up to 811.

It might be nice to update the example in the documentation to
something that works if copied and pasted.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment