You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@shindig.apache.org by Henry Saputra <he...@gmail.com> on 2012/03/24 02:29:29 UTC

Do not insert carriage return characters (^M) in Shindig files, Windows users please make sure your editor set properly to not inject carriage return char

Hi All,

Just found out that some of the files such as gadget_site.js you will
see windows carriage return characters (^M) inserted at the end of
each line.

I think we should not use carriage return for end of each line.

For those editing files with Windows please make sure your text editor
does not insert carriage return to the files.


- Henry

Re: Do not insert carriage return characters (^M) in Shindig files, Windows users please make sure your editor set properly to not inject carriage return char

Posted by Paul Lindner <li...@inuus.com>.
This config file is used when you add new files to svn.  That's where the
problem occurs.

On Tue, Mar 27, 2012 at 7:42 AM, Dan Dumont <dd...@us.ibm.com> wrote:

> If everyone uses this config, doesn't that make the editor changes Henry
> suggested unnecessary?
> I thought that was the point of the eol settings in svn, though I'm not
> terribly familiar with the setting and any caveats there are with it.
>
> I'm not particularly fond of carriage returns, but should I be doing both,
> or are the eol settings enough?
>
>
>
> From:   Paul Lindner <li...@inuus.com>
> To:     dev@shindig.apache.org,
> Cc:     users@shindig.apache.org
> Date:   03/23/2012 10:31 PM
> Subject:        Re: Do not insert carriage return characters (^M) in
> Shindig files, Windows users please make sure your editor set properly to
> not inject carriage return char
>
>
>
> Consider using this svn config too:
>
> http://www.apache.org/dev/svn-eol-style.txt
>
>
> On Fri, Mar 23, 2012 at 6:29 PM, Henry Saputra
> <he...@gmail.com>wrote:
>
> > Hi All,
> >
> > Just found out that some of the files such as gadget_site.js you will
> > see windows carriage return characters (^M) inserted at the end of
> > each line.
> >
> > I think we should not use carriage return for end of each line.
> >
> > For those editing files with Windows please make sure your text editor
> > does not insert carriage return to the files.
> >
> >
> > - Henry
> >
>
>
>
> --
> Paul Lindner -- lindner@inuus.com -- profiles.google.com/pmlindner
>
>


-- 
Paul Lindner -- lindner@inuus.com -- profiles.google.com/pmlindner

Re: Do not insert carriage return characters (^M) in Shindig files, Windows users please make sure your editor set properly to not inject carriage return char

Posted by Dan Dumont <dd...@us.ibm.com>.
If everyone uses this config, doesn't that make the editor changes Henry 
suggested unnecessary?
I thought that was the point of the eol settings in svn, though I'm not 
terribly familiar with the setting and any caveats there are with it.

I'm not particularly fond of carriage returns, but should I be doing both, 
or are the eol settings enough?



From:   Paul Lindner <li...@inuus.com>
To:     dev@shindig.apache.org, 
Cc:     users@shindig.apache.org
Date:   03/23/2012 10:31 PM
Subject:        Re: Do not insert carriage return characters (^M) in 
Shindig files, Windows users please make sure your editor set properly to 
not inject carriage return char



Consider using this svn config too:

http://www.apache.org/dev/svn-eol-style.txt


On Fri, Mar 23, 2012 at 6:29 PM, Henry Saputra 
<he...@gmail.com>wrote:

> Hi All,
>
> Just found out that some of the files such as gadget_site.js you will
> see windows carriage return characters (^M) inserted at the end of
> each line.
>
> I think we should not use carriage return for end of each line.
>
> For those editing files with Windows please make sure your text editor
> does not insert carriage return to the files.
>
>
> - Henry
>



-- 
Paul Lindner -- lindner@inuus.com -- profiles.google.com/pmlindner


Re: Do not insert carriage return characters (^M) in Shindig files, Windows users please make sure your editor set properly to not inject carriage return char

Posted by Paul Lindner <li...@inuus.com>.
Consider using this svn config too:

http://www.apache.org/dev/svn-eol-style.txt


On Fri, Mar 23, 2012 at 6:29 PM, Henry Saputra <he...@gmail.com>wrote:

> Hi All,
>
> Just found out that some of the files such as gadget_site.js you will
> see windows carriage return characters (^M) inserted at the end of
> each line.
>
> I think we should not use carriage return for end of each line.
>
> For those editing files with Windows please make sure your text editor
> does not insert carriage return to the files.
>
>
> - Henry
>



-- 
Paul Lindner -- lindner@inuus.com -- profiles.google.com/pmlindner

Re: Do not insert carriage return characters (^M) in Shindig files, Windows users please make sure your editor set properly to not inject carriage return char

Posted by Paul Lindner <li...@inuus.com>.
Consider using this svn config too:

http://www.apache.org/dev/svn-eol-style.txt


On Fri, Mar 23, 2012 at 6:29 PM, Henry Saputra <he...@gmail.com>wrote:

> Hi All,
>
> Just found out that some of the files such as gadget_site.js you will
> see windows carriage return characters (^M) inserted at the end of
> each line.
>
> I think we should not use carriage return for end of each line.
>
> For those editing files with Windows please make sure your text editor
> does not insert carriage return to the files.
>
>
> - Henry
>



-- 
Paul Lindner -- lindner@inuus.com -- profiles.google.com/pmlindner