Re: Race condition when switching to ex-commands

2012-10-08 Fir de Conversatie Gary Johnson
On 2012-10-06, Oliver wrote: Hello, this issue has annoyd me since a long time, I wonder if nobody else has had a problem with it. When I have opened a file and want to do things like : set ai and then type my text, if I tyoe fast and don't wait until the : appears in the status

Re: Race condition when switching to ex-commands

2012-10-08 Fir de Conversatie oliver
Tony Mechelynck antoine.mechelynck at gmail.com writes: On 06/10/12 14:27, Oliver wrote: Hello, this issue has annoyd me since a long time, I wonder if nobody else has had a problem with it. When I have opened a file and want to do things like : set ai and then type my

Re: Race condition when switching to ex-commands

2012-10-08 Fir de Conversatie oliver
Gary Johnson garyjohn at spocom.com writes: On 2012-10-06, Oliver wrote: [...] So I have to wait until the : can be seen, which means it stops me in my flow. I would await that what I type is buffered, and processed one char after the next. Is this a known issue? Is it already

Re: Race condition when switching to ex-commands

2012-10-08 Fir de Conversatie oliver
ZyX zyx.vim at gmail.com writes: If I wait until the : is in status bar, it's there. It is not forgotten. Following one of suggested explanations: typing colon and nothing: keyboard interrupt is not overriden. If I type faster, then it seems to be forgotten. Typing faster: keyboard

Re: Race condition when switching to ex-commands

2012-10-08 Fir de Conversatie oliver
The problem does not occur on any other situations with vim. Only when switching temporarily to ex-mode with :. In any other situation no characters are missing, even under heavy load.Only when the : is involved. Looks like : triggers a sleep-command, eats up some chars and then does go to insert

Re: Race condition when switching to ex-commands

2012-10-08 Fir de Conversatie ZyX
понедельник, 8 октября 2012 г., 22:00:44 UTC+4 пользователь oliver написал: The problem does not occur on any other situations with vim. Only when switching temporarily to ex-mode with :. In any other situation no characters are missing, even under heavy load.Only when the : is involved.

Preserving python between invocation of Python code.

2012-10-08 Fir de Conversatie Paul
Vim python interface bug. Between any consecutive python code invocations, for example: :py def x(): print hello World and: :py x() State, specific to the (main) python thread is discarded. For example, any attempt to use sys.settrace() fails to provide the expected results. The

Re: Race condition when switching to ex-commands

2012-10-08 Fir de Conversatie Jürgen Krämer
Hi, Oliver wrote: this issue has annoyd me since a long time, I wonder if nobody else has had a problem with it. When I have opened a file and want to do things like : set ai and then type my text, if I tyoe fast and don't wait until the : appears in the status line, I will be in

Re: [patch] implement undo in :s_flags

2012-10-08 Fir de Conversatie Christian Brabandt
On Sun, September 30, 2012 14:42, Bram Moolenaar wrote: attached patch implements undo when doing :s/.../.../gc Yeah, this is useful. But also tricky, if the undo is done wrong then the text may get messed up. Can you think of situations where something could go wrong? And it would be nice