[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I edit UTF-8 encoded files with Emacs?



On 8/11/05, Ryan King <rking@panoptic.com> wrote:
>
> As a public service to all Emacs inflictees, I hereby offer my .vimrc
> services to anyone who might convert.
> 
> Tell me what your ~/.emacs used to do for you, and I'll give you equivalent
> or better solutions, guaranteed.
> 
> I'm serious, too.  Switching from emacs to vim was a thoroughly
> unregrettable experience for me, and I'd like to spread the love.

Ryan, thank you very much for your offer.  Although I'm not yet sure,
whether I can live without Emacs, it can never be wrong to broaden my
horizon.

I'm not an Emacs specialist (are there any on this list at all?), but
I have been using Emacs for writing mails, programming in Perl, Java,
and C++ and general text editing in the last five years.  Also, I'm
not fluent in Lisp, but over the years I have collected and written a
good number of functions that ease my life every day.  And although I
know the basic vim commands I need to edit and save a file, I'm
missing a lot of stuff.  I have a lot of questions, so it would
probably be rude to ask you to answer all of them.

My unicode problem hits me especially when writing mails, so this is
the most important point for me.  I'm using mutt with (maybe soon) vim
as editor.  When I'm replying to a mail, vim does fill the paragraphs
(it calls it "folding", right?) and colours the mail while I'm
writing.  So it must be in some kind of mail-mode. How does it know it
has to enable the mail-mode?

The folding/filling of lines is quite important for me. How can I
enable/disable it manually (corresponding to emacs' auto-fill-mode)? 
How can I adjust the line width (default-fill-column)?

I often use the flyspell-mode in Emacs, together with a function that
switches between german and british spelling on the fly, mapped to
[f8].  Is something like this possible with vim, too?

Thanks a lot, 
Jim



Reply to: