'colorcolumn' highlight remains after :new . Is it intentional?

27 views
Skip to first unread message

tyru

unread,
Nov 15, 2010, 9:00:38 AM11/15/10
to vim...@googlegroups.com
Hi list.

$ vim --noplugin -u NONE -i NONE -N
and
" open a file
:e $MYVIMRC
:setl tw=78 cc=+1
:new

At this time, highlight remains.
But :setl cc? echoes empty value.
Is it intentional?

Bram Moolenaar

unread,
Nov 16, 2010, 7:07:33 AM11/16/10
to tyru, vim...@googlegroups.com

Tyru wrote:

That's wrong, the value of 'cursorcolumn' should have been copied to the
new window.

--
"Software is like sex... it's better when it's free."
-- Linus Torvalds, initiator of the free Linux OS
Makes me wonder what FSF stands for...?

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

tyru

unread,
Nov 16, 2010, 10:45:30 AM11/16/10
to vim_dev
> That's wrong, the value of 'cursorcolumn' should have been copied to the
> new window.
hmm, so why setl cc? prints empty value?
and, for e.g., 'number' is not copied to another window.

On Nov 16, 9:07 pm, Bram Moolenaar <B...@Moolenaar.net> wrote:
> Tyru wrote:
> > Hi list.
>
> > $ vim --noplugin -u NONE -i NONE -N
> > and
> > " open a file
> > :e $MYVIMRC
> > :setl tw=78 cc=+1
> > :new
>
> > At this time, highlight remains.
> > But :setl cc? echoes empty value.
> > Is it intentional?
>
> That's wrong, the value of 'cursorcolumn' should have been copied to the
> new window.
>
> --
> "Software is like sex... it's better when it's free."
>                 -- Linus Torvalds, initiator of the free Linux OS
> Makes me wonder what FSF stands for...?
>
>  /// Bram Moolenaar -- B...@Moolenaar.net --http://www.Moolenaar.net  \\\
> ///        sponsor Vim, vote for features --http://www.Vim.org/sponsor/\\\
> \\\  an exciting new programming language --http://www.Zimbu.org       ///

tyru

unread,
Nov 16, 2010, 10:50:47 AM11/16/10
to vim_dev
ah sorry.
I mistook your words...
I'll wait for the fix.

On Nov 16, 9:07 pm, Bram Moolenaar <B...@Moolenaar.net> wrote:
> Tyru wrote:
> > Hi list.
>
> > $ vim --noplugin -u NONE -i NONE -N
> > and
> > " open a file
> > :e $MYVIMRC
> > :setl tw=78 cc=+1
> > :new
>
> > At this time, highlight remains.
> > But :setl cc? echoes empty value.
> > Is it intentional?
>
> That's wrong, the value of 'cursorcolumn' should have been copied to the
> new window.
>
> --
> "Software is like sex... it's better when it's free."
>                 -- Linus Torvalds, initiator of the free Linux OS
> Makes me wonder what FSF stands for...?
>
>  /// Bram Moolenaar -- B...@Moolenaar.net --http://www.Moolenaar.net  \\\
> ///        sponsor Vim, vote for features --http://www.Vim.org/sponsor/\\\
> \\\  an exciting new programming language --http://www.Zimbu.org       ///
Reply all
Reply to author
Forward
0 new messages