I observe strange behaviour related to 'set shortmess+=T' . Sometimes
this 'T' flag shortens long messages, sometimes it does not.
To see:
1.
vim -u NONE
2.
:set nocp shortmess=aT
:nmap ZB :echomsg repeat('a',&co+10)<cr>
3.
Press ZB. You get long message and 'Press Enter' prompt.
4.
Type
:norm ZB<cr>
You get shortened message, and no ''Press Enter' prompt.
5.
Type
:echomsg repeat('a',&co+10)<cr>
This behaves like (3), not like (4).

I don't understand why (3),(4), and (5) behave differently.
I think (4) is correct and (3) and (5) are bugs ?

Yakov

Reply via email to