On Wed, Jun 12, 2013 at 5:37 PM, Dominique Pellé
<[email protected]>wrote:

> Bram Moolenaar <[email protected]> wrote:
>
> > Axel Bender wrote:
> >
> >> you may as well elimitate the inverted question mark (I just forgot to
> >> replace it in the example - in the base document there are no xs), the
> >> result is the same.
> >> Also, the effect is independent from enc (I tested it with both, utf8
> >> and latin1). In both cases fenc was empty.
> >
> > Well, something must be different, I still can't reproduct it.
> >
> > Can anybody else see the problem?
>
>
> I can reproduce it using Vim-7.2.1182 and the
> "spanish.txt" and "lang.vim" files posted in the
> first message of this thread.
>
> Here is an automated way to reproduce
> which should be easier:
>
> $ vim -f -g -U NONE -u NONE -i NONE --noplugin -N \
>   spanish.txt \
>   -c 'call feedkeys(":set re=1\<CR>:so lang.vim\<CR>GA abc\<Esc>k")'
>
> (notice that "abc" at the end of the last line has orange background)
>
> Now do the same but with re=2:
>
> $ vim -f -g -U NONE -u NONE -i NONE --noplugin -N \
>   spanish.txt \
>   -c 'call feedkeys(:set re=2\<CR>:so lang.vim\<CR>GA abc\<Esc>k")'
>
> (notice that "abc" has now a white background,
> which is different than before,  but press CTRL-L
> and notice that background of "abc" on last line
> becomes orange)
>
> Dominique


Nope.  Orange background for both, MacVim 7.3.1168.  The second shell
command is missing a double-quote right after 'feedkeys('.

If the OP would make lang.vim contain cterm hilighting, we could test with
console vim.

-Manny

>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui