Reply to message «Re: no echo output in command line», 
sent 10:36:13 09 November 2010, Tuesday
by rameo:

> As you've indicated, I removed the silent! flag, removed the exe
> before setlocal..., changed exe matchadd to call matchadd.
> Still no echo output. Changed it to echomsg, but still no output.
Have you checked `:messages'? Even your first version should echo something. 
How 
do you run this function?

> 1) printing
> I cannot print in utf8 format on my printer in VIM.
> Letters as èéà are printed as A' and other string symbols
> I do not have any problem printing in utf8 format in other text
> editors.
Never experienced this problem (but never printed from vim). Opened new file, 
wrote «∭x²y²z²dxdydz» there, got «□x²y²z²dxdydz» in terminal and 
«¿x²y²z²dxdydz» 
on the paper. `enc' is `utf-8', `fenc' also `utf-8'. Did
    $ touch b
    $ vim b
    e ++enc=latin1
    ièéà^[:hardcopy
got `èéà' on paper. What is your system? What gives the output of ``echo 
&printencoding''. (According to the help, `:hardcopy' does not have multibyte 
support. Empty printencoding acts like printencoding=latin1.)

BTW, I never printed from vim before and now won't ever try to print from vim. 
Try built-in `:TOhtml' or mine `formatvim' 
(http://www.vim.org/scripts/script.php?script_id=3113) and print resulting html 
instead.

> 2) opening files
> Vim doesn't detect utf-8 or latin1 well.
> Everything is mixed up.
> Without anything written in the vimrc file,
> all utf8 files are opened in latin1 (with unreadable éòà letters)
> 
> If I put this ":set fileencodings=ucs-bom,utf-8,default,latin1" in my
> vimrc,
> all latin1 files are opened in utf8 format (with unreadable -
> converted- éòà letters)
Try ``set fileencodings=ucs-bom,utf-8,latin1,default''.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to