On Wed, Jun 27, 2012 at 12:18 PM, SKempf <
severi...@gmail.com> wrote:
> I am a bit new to vimscript, but I gave a go at trying to narrow done where
> the problem is. Anytime ToggleColumnView is run from the dash board (e.g.
> with 't' or 'r' or '0'), when it splits the window for the ColHeadBuffer
> inside ColHeadWindow (around line 6523), it no longer has the
> "org_columns_show_headings" key in the b:v dictionary (OrgColumnsDashboard
I still have no idea what's causing this, haven't had this problem and
nobody else has reported it. If I can't reproduce it on my machine I
don't know how I can solve it. I tend to doubt that it's a Vim
version issue, more likely something in your vimrc or particular
setup.
As a longshot you might see what happens when you comment out the call
to s:ColHeadWindow in the ToggleColumnView function:
------------------------------------
else
call s:OrgSetColumnList(line('.'),a:master_head,a:col_spec)
"call s:ColHeadWindow(w:v.org_column_item_head)
let w:v.columnview = 1
endif
------------------------------------
>
> My example outline looks like this (except for the numbers):
> 1
> 2* Outline
> 3** heading 1
> 4 :buy:work:
> 5** heading 2
> 6 :work:
> 7*** sub heading
> 8 :mytag:
Looks fine, minus the numbers. And I assume all the folding,
highlighting, tag editing, and other VimOrg stuff work okay?
>
> Although not related, I saw you had a patch for 7.3.46 for color folding.
> That patch cannot be applied directly because there have been some changes
> in 7.3.429. I briefly browsed the patch list to see if perhaps something
> with buffers was changed, but nothing really popped out at me. (ref
>
ftp://ftp.vim.org/pub/vim/patches/7.3/README).
Yeah, I don't think this is related. Someone just reported that most
recent patch works with the latest Vim version available at googlecode
(7.3.566). I think the patch utility does have some intelligence so
it can do proper patch even if some minor changes have been made.
Otherwise there are few enough lines that it's generally easy to
modify yourself.
-- Herb