Re: Unit Testing for vim [Was: Vim Lib [Was: List Questions]]

2009-02-24 Fir de Conversatie Tom
BTW, tAssert provides convenience functions that my script don't (yet?). At first, I wondered if both plugins should be merged. This is also the reason why I'd rather prefer to strip down my tassert plugin and to leave only the TAssert command and some utility functions in it. Just in

:help CTRL-U has misleading text

2009-02-24 Fir de Conversatie Ben Fritz
:help CTRL-U includes the following: Note: if the command-line becomes empty with one of the delete commands, Command-line mode is quit. Neither C-U nor C-W do this, although BS and Del do. I recommend deleting this text from the c_CTRL-U entry and adding if this

Re: :help c_CTRL-U has misleading text

2009-02-24 Fir de Conversatie Ben Fritz
On Feb 24, 8:13 am, Ben Fritz fritzophre...@gmail.com wrote: :help CTRL-U includes the following:                 Note: if the command-line becomes empty with one of the                 delete commands, Command-line mode is quit. Neither C-U nor C-W do this, although BS and Del do. I

Re: [patch] fixed race condition in suspend resume with CTRL-Z fg

2009-02-24 Fir de Conversatie Dominique Pelle
Bram Moolenaar wrote: Dominique Pelle wrote: ...snip... Without marking the variable volatile, there is a risk I think, that some compilers might optimize making code incorrect sometimes by not seeing that the variable gets automagically updated asynchronously by a signal handler as

Re: Bug report that didn't get reported?

2009-02-24 Fir de Conversatie Paul B. Mahol
On 2/23/09, Bram Moolenaar b...@moolenaar.net wrote: Paul B. Mahol wrote: Tony Mechelynck wrote: On 21/02/09 06:30, Bram Moolenaar wrote: Ben Fritz wrote: Saw this interesting post to a tip on the wiki:

Re: Bug report that didn't get reported?

2009-02-24 Fir de Conversatie dickey
On Feb 24, 3:58 pm, Paul B. Mahol one...@gmail.com wrote: --- Terminal keys --- t_kl Left      ^[O*D t_#4 S-Left    ^[OD xLeft     ^[[1;*D t_kr Right     ^[O*C t_%i S-Right   ^[OC xRight    ^[[1;*C Thus the shifted cursor keys are defined wrong. ... key ku: ^[OA key kd: ^[OB

Re: :help CTRL-U has misleading text

2009-02-24 Fir de Conversatie Bram Moolenaar
Ben Fritz wrote: :help CTRL-U includes the following: Note: if the command-line becomes empty with one of the delete commands, Command-line mode is quit. Neither C-U nor C-W do this, although BS and Del do. I recommend deleting this text from the c_CTRL-U

Re: Bug report that didn't get reported?

2009-02-24 Fir de Conversatie Bram Moolenaar
Thomas Dickey wrote: On Feb 24, 3:58=A0pm, Paul B. Mahol one...@gmail.com wrote: --- Terminal keys --- t_kl Left =A0 =A0 =A0^[O*D t_#4 S-Left =A0 =A0^[OD xLeft =A0 =A0 ^[[1;*D t_kr Right =A0 =A0 ^[O*C t_%i S-Right =A0 ^[OC xRight =A0 =A0^[[1;*C Thus the shifted cursor

Re: [patch] fixed race condition in suspend resume with CTRL-Z fg

2009-02-24 Fir de Conversatie Bram Moolenaar
Dominique Pelle wrote: ...snip... Without marking the variable volatile, there is a risk I think, that some compilers might optimize making code incorrect sometimes by not seeing that the variable gets automagically updated asynchronously by a signal handler as explained here for

Bug? Keymaps (when set by menu) and 'iminsert' (when set implicitly by setting 'keymap') are set globally

2009-02-24 Fir de Conversatie Tony Mechelynck
Bug? Seems so to me. even two of them (but both related to the 'keymap' option). The one is in menu.vim (Last change: 2008 Aug 22): at lines 365 and 377 it uses :set rather than :setlocal, which sets the keymap for _all_ future new buffers, not only the current one. The other is somewhere in