> I think they should be called TextDeletePost and TextYankPost to be
> consistent.

Ok, I can do that.

> Try doing something weird in the autocommand, such as "help" and then
> deleting something.
> You probably need to disallow lots of things to avoid breaking stuff
> (and perhaps even crashing Vim).

I'm not sure I want to support the crazy guys, there's probably lots
of ways to create problems with other events too if that's your goal.
Anyway, what do you have in mind? The current patch is very simple and
I kinda like it to be that way, but if there are obvious stuffs I can
disable/disallow I'll do it.

> Don't you need to let the commands know what register text was yanked
> into?

No because every delete/yank use the " register even if a register was
explicitely specified. As a matter of completeness maybe it'd be nice
to know which register was intended yes but it's the first time I
fiddle with vim's source (with some pain) so I'm not too sure how much
work is involved in creating one of those v:somevar.

Philippe

-- 
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

Raspunde prin e-mail lui