How to handle the E143 error?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to handle the E143 error?

Yggdroot Chen
:h e143
it says:
WARNING: Using autocommands is very powerful, and may lead to unexpected side
effects.  Be careful not to destroy your text.

So it's an unexpected error, this is no way to handle it?

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to handle the E143 error?

Christian Brabandt

On Di, 04 Dez 2018, Yggdroot Chen wrote:

> :h e143
> it says:
> WARNING: Using autocommands is very powerful, and may lead to unexpected side
> effects.  Be careful not to destroy your text.

Well, what did you do that lead to E143?

> So it's an unexpected error, this is no way to handle it?

You could disable autocommands by setting the eventignore option or use
the `:noa` command modifier. But it depends on what you actually want to
achieve.


Best,
Christian
--
Gottlob gibt es immer Menschen, die besser sind, als man es verdient.
                -- René Clair

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to handle the E143 error?

Yggdroot Chen
在 2018年12月5日星期三 UTC+8下午4:10:42,Christian Brabandt写道:

> On Di, 04 Dez 2018, Yggdroot Chen wrote:
>
> > :h e143
> > it says:
> > WARNING: Using autocommands is very powerful, and may lead to unexpected side
> > effects.  Be careful not to destroy your text.
>
> Well, what did you do that lead to E143?
>
> > So it's an unexpected error, this is no way to handle it?
>
> You could disable autocommands by setting the eventignore option or use
> the `:noa` command modifier. But it depends on what you actually want to
> achieve.
>
>
> Best,
> Christian
> --
> Gottlob gibt es immer Menschen, die besser sind, als man es verdient.
> -- René Clair
Thanks for your reply.

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.