Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion New line not recognized
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marco  
View profile  
 More options Nov 16 2012, 10:55 am
From: Marco <net...@lavabit.com>
Date: Fri, 16 Nov 2012 16:54:49 +0100
Local: Fri, Nov 16 2012 10:54 am
Subject: Re: New line not recognized
2012-11-16 Salman Halim:

> > on Debian Linux

> Different operating systems use different line endings for text files. From
> :help 'ff':

> dos  <CR><NL>
> unix  <NL>
> mac  <CR>

> What OS are you opening the file in?
> > on Debian Linux
> Next time you open the offending file,
> try ":set ff?" (without the quotes) to see what it says.

unix

> My Windows GVim opened the file exactly as you described: one long line.
> However, by using ":e ++ff=mac" (again, no quotes) I was able to reload the
> file correctly.

Thanks a lot, that works. Can I automate this somehow, so that vim
opens <CR> (mac) files automatically with the ff=mac setting?

Marco


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.