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

2009-02-26 Fir de Conversatie Ingo Karkat
On 26-Feb-09 4:21, Bram Moolenaar wrote: Ingo Karkat wrote: On 25-Feb-09 6:25, Tony Mechelynck wrote: 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

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

2009-02-26 Fir de Conversatie Tony Mechelynck
On 26/02/09 14:55, Ingo Karkat wrote: [...] I respect your opinion, but I think the policy that Tony has outlined is worth considering, as it simplifies the source code and eases maintenance and testing (if that is done at all for older versions ;-). Being an avid vimscript writer myself, I

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

2009-02-26 Fir de Conversatie Tony Mechelynck
On 26/02/09 04:21, Bram Moolenaar wrote: Tony Mechelynck wrote: 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_

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

2009-02-26 Fir de Conversatie Ingo Karkat
On 26-Feb-09 22:40, Tony Mechelynck wrote: On 26/02/09 14:55, Ingo Karkat wrote: [...] I respect your opinion, but I think the policy that Tony has outlined is worth considering, as it simplifies the source code and eases maintenance and testing (if that is done at all for older versions

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

2009-02-26 Fir de Conversatie Tony Mechelynck
On 26/02/09 23:00, Ingo Karkat wrote: [...] So in the spirit of sharing and learning from each other that you've so graciously started, let me reciprocate with one of my scripts that I use to detect old VIM versions and then source archived plugin versions that still support that VIM version.

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

2009-02-25 Fir de Conversatie Ingo Karkat
On 25-Feb-09 6:25, Tony Mechelynck wrote: 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

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

2009-02-25 Fir de Conversatie Tony Mechelynck
On 25/02/09 10:48, Ingo Karkat wrote: On 25-Feb-09 6:25, Tony Mechelynck wrote: 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

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

2009-02-25 Fir de Conversatie Ingo Karkat
On 25-Feb-09 14:43, Tony Mechelynck wrote: On 25/02/09 10:48, Ingo Karkat wrote: On 25-Feb-09 6:25, Tony Mechelynck wrote: 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

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

2009-02-25 Fir de Conversatie Bram Moolenaar
Tony Mechelynck wrote: 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

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

2009-02-25 Fir de Conversatie Bram Moolenaar
Ingo Karkat wrote: On 25-Feb-09 6:25, Tony Mechelynck wrote: 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_

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