David,

Thank you for your kind series of notes.  Since I have lived with unix or its 
variants for a long time (my first windows98 machine was taken over by Linux in 
a week), I've never set file format explicitly to send emails to the list.  Now 
I'm using MacOS X 10.8.3 and find myself in trouble I've never met with 10.6.7. 
 Since my vim replies fileformat=unix to the question :set fileformat, I guess 
the cause of the trouble mainly lies in my mailer.

I"ll read your instructions carefully and train the beast.  Till then, I humbly 
ask all your patience :-)

Thank you again,
KK

On Jun 5, 2013, at 5:30 AM, David Fishburn <[email protected]> wrote:

> ...
> 
> > Yes the update fixed the problems. You saved it with Windows line endings 
> > again though.
> 
> I apologize to you for getting you into trouble again.  Though the file 
> itself is in unix format and I double-checked not to send window-friendly 
> attachments, my Mail did something unnecessary.
> 
> 
> Kazunobu,
> 
> What do you have in your .vimrc for this setting:
> fileformats
> 
> You might want to try:
>     set fileformats=unix,dos,mac      " Leave files in Unix format first
> 
> That way, if the file is already in unix format, leave it that way.  It 
> allows you to open up any of those fileformats without forcing a change when 
> you save them.
> This means when you create a new file, it will be in Unix format first.
> 
> If you primarily work on Windows, then you might want to try this:
> 
> if has('win32') || has('win64') || has('win16') || has('win95')
>     set fileformats=dos,unix,mac      " Leave files in DOS format first
> elseif has('mac')
>     set fileformats=mac,unix,dos      " Leave files in Mac format first
> else
>     set fileformats=unix,dos,mac      " Leave files in Unix format first
> endif
> 
> But then, when you create a file for Bram, make sure you change the ff=unix 
> once.  There after, you should never have to worry about the format changing 
> with the above setting.
> 
> People may have other suggestions, but this works for me.
> 
> HTH,
> David
> 
> 
> -- 
> -- 
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui