Yakov Lerner wrote:
[...]
I am interested to display message 'converted from [encoding] to [encoding]'
because I occasionally also had unexpected 'converted' message.
Is there autocommand that can show extended conversion message ?

Yakov


I'm not sure. I use the following (with the ":set" statement all on one line: beware beautifying mail clients) to display the 'fileencoding' (and 'bomb') on the status line in addition to what is usually shown there:

if has("statusline")
set statusline=%<%f\ %h%m%r%=%k[%{(&fenc\ ==\ \"\"?&enc:&fenc).(&bomb?\",BOM\":\"\")}]\ %-14.(%l,%c%V%)\ %P
endif


Best regards,
Tony.

Reply via email to