Package: vim
Version: 1:7.1.314-3+lenny2
Hi,
Because of #379107 I have this in my vimrc file:
:let &termencoding = &encoding
set encoding=utf-8
au FileType mail setlocal fenc=latin1
However that doesn't seem to work anymore, and the fileencoding
is now set to utf-8 instead of latin1.
I also wanted to set other options for mail now, but it doesn't
seem to have any effect. So my guess was that detections of the
filetype was broken. I use mutt so my files look like
/tmp/mutt-intrepid-1000-28242-16.
But I also just tried "set fenc=latin1" in my vimrc file, but
that doesn't seem to have any effect when editing non-empty files
either, it only seems to have an effect on empty files. If the
file already has ascii text in it, it will always set fenc to
utf-8 it seems.
So I seem to have 2 problems:
- fenc doesn't have any effect on non-empty ascii files
- au FileType mail doesn't seem to do anything.
Kurt
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org