- Feb 1, 2010Hi,
a few months ago a guidecolumn/margincolumn patch was discussed on the
vim_dev mailing list which caught my interest. Sadly I wasn't
subscribed to the list at that time and I discovered that nice
patch only a few days ago. Now I have tried to apply that patch to the
latest vim source code (7.2.351) available via the mercurial repo.
So far I didn't got it to work properly but I just want to share my
current state - maybe there's someone (or even the original author of
the patch) who is interested in this margincolumn feature too. Probaby
I just need some vim-source-experienced eyes that discover my mistake(s).
That's what I get when I start vim -u NONE -U NONE and do :set mc=20
Program received signal SIGSEGV, Segmentation fault.
0x000000000053580d in showruler (always=0) at screen.c:9586
9586 if ((*p_stl != NUL || *curwin->w_p_stl != NUL) &&
#0 0x000000000053580d in showruler (always=0) at screen.c:9586
#1 0x00000000004a52a9 in main_loop (cmdwin=0, noexmode=0) at
#2 0x00000000004a4e85 in main (argc=6, argv=0x7fffffffe058) at
It crashes when dereferencing a NULL pointer (*curwin->w_p_stl) where
w_p_stl is a shortcut for w_onebuf_opt.wo_stl (statusline option I
think). I see no connection between the margincolumn code and the
I am interested in any input.
The hg diff to vim-7.2.351 is attached
- Next post in topic >>