Gary Johnson wrote:
> > [...] > > > > > Incidentally, in my experimenting I discovered a behavior of t_RV > > > that seems to contradict the documentation under ":help 'ttymouse'". > > > There it says, > > > > > > If you do not want 'ttymouse' to be set to "xterm2" or "sgr" > > > automatically, set t_RV to an empty string: > > > :set t_RV= > > > > > > If I include the line > > > > > > :set t_RV= > > > > > > in my ~/.vimrc, then later query value of t_RV, I see this: > > > > > > :verbose set t_RV? > > > t_RV=^[[>c > > > Last set from ~/.vimrc line 42 > > > > > > So first of all, setting t_RV to an empty string seems to have no > > > effect; v:termresponse is acquired anyway. Secondly, :verbose does > > > not correctly report where it was last set and/or the value it was > > > set to. > > > > Do you perhaps set 'term' after setting t_RV ? > > That is confusing, let's see if I can fix that. > > Yes, I set 't_RV' early in my ~/.vimrc and set 'term' after that. > It makes sense that setting 'term' would set 't_RV'. > > When I check where 't_Co' was last set, for example, > > :verbose set t_Co? > > I'm shown the line number where 'term' was set. It would be nice > if ":verbose set t_RV?" would do that, too. I think that would > clear up the confusion. Patch 8.1.0445 does this. Might not be the complete solution, but at least the obvious things work. -- hundred-and-one symptoms of being an internet addict: 135. You cut classes or miss work so you can stay home and browse the web. /// Bram Moolenaar -- [email protected] -- 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 /// -- -- 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/d/optout.
