Re: [patch] :mksession writes wrong column number of cursor position in presence of multibyte characters

2013-02-06 Thread Bram Moolenaar
Roland Eggner wrote: > > > :mksession writes wrong column number of cursor position in presence of > > > multibyte characters. > > > > > > I have been using vim-7.3.135 with this patch applied for several > > > months … it works for me: > > > > I do not see the problem. How to reproduce? >

Re: [patch] :mksession writes wrong column number of cursor position in presence of multibyte characters

2013-02-06 Thread Roland Eggner
On 2013-02-06 Wednesday at 18:24 +0100 Bram Moolenaar wrote: > > Roland Eggner wrote: > > > :mksession writes wrong column number of cursor position in presence of > > multibyte characters. > > > > I have been using vim-7.3.135 with this patch applied for several > > months … it works for me:

Re: [patch] :mksession writes wrong column number of cursor position in presence of multibyte characters

2013-02-06 Thread Bram Moolenaar
Roland Eggner wrote: > :mksession writes wrong column number of cursor position in presence of > multibyte characters. > > I have been using vim-7.3.135 with this patch applied for several > months … it works for me: I do not see the problem. How to reproduce? Your patch can't be right, the

Re: [patch] :mksession writes wrong column number of cursor position in presence of multibyte characters

2013-02-05 Thread Roland Eggner
On 2013-02-05 Tuesday at 15:43 +0100 Roland Eggner wrote: > :mksession writes wrong column number of cursor position in presence of > multibyte characters. I got an idea, how a test case could look like. vim with my patch applied yields S{1,2}.vim differing _only_ in badd line, not in line “nor

[patch] :mksession writes wrong column number of cursor position in presence of multibyte characters

2013-02-05 Thread Roland Eggner
:mksession writes wrong column number of cursor position in presence of multibyte characters. I have been using vim-7.3.135 with this patch applied for several months … it works for me: diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -10836,7 +10836,7 @