Yakov Lerner wrote:
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.
...but only if you had first cleared the Hit-Enter prompt. If you enter it at the Hit-Enter prompt (instead of hitting Enter or Space) you get long message again, with a fresh Hit-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
I see this behaviour too, with the restriction above, in (g)vim (Huge, GTK2) on SuSE Linux, in both GUI and Console modes.
Best regards, Tony.