On Saturday, August 26, 2006 at 12:54:01 +0200, Kurt Roeckx wrote:
> On Sat, Aug 26, 2006 at 11:47:47AM +0200, Alain Bench wrote:
>> I close this Debian bug as duplicate [of upstream/1317]
> The proper way would be to set it as forwarded, since it's not
> actually solved.
Humm... Really forward it upstream is useless: Would soon be closed
as dupe. Is it usefull to let an upstream wishlist also open in Debian?
When there is no feature patch Debian could adopt first?
> Basicly, I want to store files in UTF-8. I also want to be able to
> edit files that are stored in UTF-8. And I want to do that regardless
> of what the terminal is set up to. I don't want to use iconv on a file
> to convert it from/to utf-8, I want my editor to do that. And I've set
> up vim to do what I want.
OK. You don't need $edit_charset for that. You can just setup or
call Vim so that for Mutt auto-sensing is disabled and files are loaded
and saved in current locale charset. I just tried this works in .vimrc:
| set termencoding=latin1
| set encoding=utf-8
| set fileencodings=latin1
But a Vim guru could better advice how to set fileencodings only
when called from Mutt, keeping "ucs-bom,utf-8,latin1" otherwise. And if
possible get rid of the "latin1" hardcoding so it follows the locale.
Bye! Alain.
--
Give your computer's unused idle processor cycles to a scientific goal:
The [EMAIL PROTECTED] project at <URL:http://folding.stanford.edu/>.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]