Loading ...
Sorry, an error occurred while loading the content.

Re: [PATCH] New autocmds: OperationPending, OperationExecuted, OperationCleared

Expand Messages
  • Mohammed Chelouti
    ... My plugin unfortunately breaks default Vim functionality ( {dd,yy,cc etc}) and as mentioned in my first mail, other plugins using the default Vim
    Message 1 of 7 , Oct 15, 2012
    • 0 Attachment
      On Friday 12 October 2012 04:03:29 Bram Moolenaar wrote:
      > The problem with autocommands is that they can do lots of things that
      > the code where they are triggered from does not expect. It's not
      > unusual for Vim to crash. Try changing to another buffer, moving the
      > cursor, closing the window, renaming the buffer, etc. It is very
      > difficult to handle every single one of these. We still find problems
      > with existing autocommands.
      >
      > Perhaps there is another way to do what you want?

      My plugin unfortunately breaks default Vim functionality (<count>{dd,yy,cc
      etc}) and as mentioned in my first mail, other plugins using the default Vim
      operations may not work with mine (or vice versa).
      I tried to fix that with VimL but without success. This patch was my last
      resort to fix my problems rather than to add a nice to have feature. But I
      fully understand your concerns.

      Thank you anyways.

      Best,
      Mohammed

      --
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.