On Oct 13, 2013 3:05 PM, "Nikolay Pavlov" <[email protected]> wrote:
>
>
> On Oct 13, 2013 2:57 PM, "Andre Sihera" <[email protected]>
wrote:
> >
> > On 03/10/13 07:40, kans wrote:
> >>
> >>
> >> I believe we have addressed all major concerns- the last one being the
ex_timers command which shows all pending timers.  If we have missed
something, or you have other concerns, please let us know.  As I wrote
before, we'd really like to see this feature in Vim.
> >>
> >> -Matt
> >>
> >
> > Actually, I have a concern regarding these timers.
> >
> > Please confirm the method by which I can unconditionally disable all
timers, and all
> > attempts to thereafter create a timer, using a single command. For
example, a
> > command like "timers off" in my .vimrc could override any attempt by
any plug-in
> > to enable a timer and force ViM into a guaranteed timer-free state.
>
> You have no way to unconditionally disable mappings, statusline,
CursorHold events and so on; all these features can be harmful if used not
in proper way. If plugin developer wants to make intrusive plugin he will
make it. Thus such command makes exactly no sense. CursorHold is what is
currently used to emulate timers.

Forgot a thing: CursorHold may be disabled with eventignore. Though nothing
may prevent a plugin from resetting this option.

> > It doesn't matter how well the feature itself is written, or how many
additional
> > commands have been created to "monitor" the timers, nothing can protect
me, a
> > person who uses ViM for primarily editing files, from:
> >
> > 1) A shoddy programmer who doesn't use the timers in the most
"VIM-friendly" way.
> >
> > 2) A bug in a plug-in that causes that plug-in, other plug-ins, or even
VIM itself, to
> > behave unpredictably and obstruct the work I am doing.
> >
> > Incidentally, unacceptable solutions to this concern include, but are
not limited to:
> >
> > a) VIM -u NONE
> >
> > b) "Why don't you just build your own version with FEAT_TIMERS not
defined?"
> >
> > etc, etc.
> >
> > Thanks in advance.
> >
> >
> > --
> > --
> > 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.

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

Raspunde prin e-mail lui