Re: Writing files without EOL

2010-11-27 Thread Till Maas
Ben Fritz wrote: > This is slightly off-topic, but do people actually work at a place > where someone would get upset about adding a single invisible > character with no negative impact on anything at all to the end of a > file, when the file is being changed already anyway? I work at a There are

Re: Writing files without EOL

2010-11-25 Thread Lenin Lee
Sorry to reply late. Your solution is pretty cool, Christian, that really solves the problem, thank you very much !!! 2010/11/16 Christian Brabandt > (Please don't top post.) > > On Tue, November 16, 2010 9:35 am, Lenin Lee wrote: > > Yes, Peter has made himself very clear, we do have tried som

Re: Writing files without EOL

2010-11-18 Thread Paul
On Wed, Nov 17, 2010 at 06:22:50AM -0800, Ben Fritz wrote: This is slightly off-topic, but do people actually work at a place where someone would get upset about adding a single invisible character with no negative impact on anything at all to the end of a file, when the file is being changed alr

Re: Writing files without EOL

2010-11-17 Thread Ben Fritz
This is slightly off-topic, but do people actually work at a place where someone would get upset about adding a single invisible character with no negative impact on anything at all to the end of a file, when the file is being changed already anyway? I work at a company with a fairly strict change

Re: Writing files without EOL

2010-11-16 Thread Christian Brabandt
(Please don't top post.) On Tue, November 16, 2010 9:35 am, Lenin Lee wrote: > Yes, Peter has made himself very clear, we do have tried some solutions, > the problem is: Yes, I understand already from your previous request. But if I read the whole thread at http://groups.google.com/group/vim_use/

Re: Writing files without EOL

2010-11-16 Thread Lenin Lee
Yes, Peter has made himself very clear, we do have tried some solutions, the problem is: If we use :set bin :set noeol files in DOS format will be converted to UNIX format. What we want is: 1. Get rid of eol at the end of a file 2. Preserve DOS fileformat 2010/11/16 Christian Brabandt > On

Re: Writing files without EOL

2010-11-16 Thread Christian Brabandt
On Tue, November 16, 2010 9:11 am, Lenin Lee wrote: > I am mad with this problem too, exactly the same with Peter's. > > No one has any solution ? I saw that there were mentioned several solutions. Did you try them? regards, Christian -- You received this message from the "vim_use" maillist. Do

Re: Writing files without EOL

2010-11-16 Thread Lenin Lee
I am mad with this problem too, exactly the same with Peter's. No one has any solution ? 2010/8/16 Peter Hodge > --- On Mon, 16/8/10, Tim Chase wrote: > > > From: Tim Chase > > Subject: Re: Writing files without EOL > > To: vim_use@googlegroups.com > > Cc:

Re: Writing files without EOL -> :set noeol

2010-08-16 Thread Christian Brabandt
Hi Peter! On So, 15 Aug 2010, Peter Hodge wrote: > I certainly don't want to be making sure ^M is at the end of each > line, so I have written a command-line script to erase the last > linebreak and an autocmd to call it when the 'eol' option is off. I > understand the importance of having a newl

Re: Writing files without EOL -> :set noeol

2010-08-15 Thread Peter Hodge
--- On Mon, 16/8/10, Tony Mechelynck wrote: > From: Tony Mechelynck > Subject: Re: Writing files without EOL -> :set noeol > To: vim_use@googlegroups.com > Cc: "Peter Hodge" > Received: Monday, 16 August, 2010, 1:48 PM > On 16/08/10 03:18, Peter Hodge > wr

Re: Writing files without EOL -> :set noeol

2010-08-15 Thread Tony Mechelynck
On 16/08/10 03:18, Peter Hodge wrote: --- On Mon, 16/8/10, Sven Guckes wrote: From: Sven Guckes Subject: Re: Writing files without EOL -> :set noeol To: "vim_use" Received: Monday, 16 August, 2010, 11:13 AM * Peter Hodge [2010-08-16 03:08]: Is there a way to make vim write a f

Re: Writing files without EOL

2010-08-15 Thread Peter Hodge
--- On Mon, 16/8/10, Tim Chase wrote: > From: Tim Chase > Subject: Re: Writing files without EOL > To: vim_use@googlegroups.com > Cc: "Peter Hodge" > Received: Monday, 16 August, 2010, 11:15 AM > > Is there a way to make vim write > a file using dos line endi

Re: Writing files without EOL

2010-08-15 Thread Peter Hodge
--- On Mon, 16/8/10, Stahlman Family wrote: > From: Stahlman Family > Subject: Re: Writing files without EOL > To: vim_use@googlegroups.com > Received: Monday, 16 August, 2010, 11:15 AM > > > Peter Hodge wrote: > > Dear Vimmers, > > > > Is there a way

Re: Writing files without EOL

2010-08-15 Thread Stahlman Family
Stahlman Family wrote: Peter Hodge wrote: Dear Vimmers, Is there a way to make vim write a file using dos line endings ( ) but *without* the EOL at the end? Isn't this just another way of saying "mac format"? Ah. It occurred to me after I'd read Sven's reply that you probably meant "w

Re: Writing files without EOL -> :set noeol

2010-08-15 Thread Peter Hodge
--- On Mon, 16/8/10, Sven Guckes wrote: > From: Sven Guckes > Subject: Re: Writing files without EOL -> :set noeol > To: "vim_use" > Received: Monday, 16 August, 2010, 11:13 AM > * Peter Hodge > [2010-08-16 03:08]: > > Is there a way to make vim writ

Re: Writing files without EOL

2010-08-15 Thread Tim Chase
Is there a way to make vim write a file using dos line endings ( ) but *without* the EOL at the end? Have you experimented with the 'noeol' option? :help 'eol' Currently it seems vim will only let me: A) Add newlines for no good reason It's actually for very good reasons[1] It's one of

Re: Writing files without EOL

2010-08-15 Thread Stahlman Family
Peter Hodge wrote: Dear Vimmers, Is there a way to make vim write a file using dos line endings ( ) but *without* the EOL at the end? Isn't this just another way of saying "mac format"? :set ff=mac :help ff Brett Stahlman Currently it seems vim will only let me: A) Add newlines for no

Re: Writing files without EOL -> :set noeol

2010-08-15 Thread Sven Guckes
* Peter Hodge [2010-08-16 03:08]: > Is there a way to make vim write a file using dos line > endings ( ) but *without* the EOL at the end? yes... use ":set noeol" Sven -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to.

Writing files without EOL

2010-08-15 Thread Peter Hodge
Dear Vimmers, Is there a way to make vim write a file using dos line endings ( ) but *without* the EOL at the end? Currently it seems vim will only let me: A) Add newlines for no good reason B) Convert files to Unix line endings It looks like I will need to write a shell script to strip the E