v7-3-768 commit introduced following check for InsertEnter autocommand event execution e.g. calling check_cursor_col()
http://pastebin.com/tShmNDDz However after this commit some of my plugins that heavily rely on InsertEnter stopped working namely because some of those plugins change cursor position on autocommand event thus making those changes obsolete and cursor position not changing As i see this is a bug however i'm not sure if it's a bug or expected behavior The way to fix this is to save cursor position only after autocommand event is executed e.g. moving following line pos_T save_cursor = curwin->w_cursor; after this call apply_autocmds(EVENT_INSERTENTER, NULL, NULL, FALSE, curbuf); So is this a bug or not? -- -- 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.
