Re: Caught E38 Null argument

2010-03-17 Fir de Conversatie Bram Moolenaar
Lech Lorens wrote: > On 14-Mar-2010 Dominique Pellé wrote: > > > > So the position of the cursor is wrong. I think > > curwin->w_cursor.lnum is 0 because it's set > > in popupmnu.c:643 to 0: > > > > 643 curwin->w_cursor.lnum = 0; > > > > If I replace this line with... > >

Re: Caught E38 Null argument

2010-03-16 Fir de Conversatie Dominique Pellé
Lech Lorens wrote: > On 14-Mar-2010 Dominique Pellé wrote: >> $ hg diff popupmnu.c >> diff -r aab202d244b6 src/popupmnu.c >> --- a/src/popupmnu.c  Wed Mar 10 17:16:12 2010 +0100 >> +++ b/src/popupmnu.c  Sun Mar 14 10:50:53 2010 +0100 >> @@ -640,7 +640,7 @@ >> >>                   curbuf->b_change

Re: Caught E38 Null argument

2010-03-15 Fir de Conversatie Lech Lorens
On 14-Mar-2010 Dominique Pellé wrote: > > So the position of the cursor is wrong. I think > curwin->w_cursor.lnum is 0 because it's set > in popupmnu.c:643 to 0: > > 643 curwin->w_cursor.lnum = 0; > > If I replace this line with... > > 643 curwin->w_curs

Re: Caught E38 Null argument

2010-03-14 Fir de Conversatie Dominique Pellé
Dasn wrote: > Hello guys. > > I recently caught an E38 (Null argument). > > gvim -u NONE "+so trap_e38.vim" > > (the trap_e38.vim is in attachment) > > :version > VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Mar 13 2010 09:32:48) > MS-Windows 32-bit GUI version > Included patches: 1-394 > Compiled

Caught E38 Null argument

2010-03-13 Fir de Conversatie Dasn
Hello guys. I recently caught an E38 (Null argument). gvim -u NONE "+so trap_e38.vim" (the trap_e38.vim is in attachment) :version VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Mar 13 2010 09:32:48) MS-Windows 32-bit GUI version Included patches: 1-394 Compiled by administra...@bla Big version