kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #03827
Re: Re: We should decide a quoting convention...
--00032555aa76d42a07047b60c61c Content-Type: text/plain; charset=UTF-8
2009/12/23 Lorenzo <lomarcan@...>
>
>
>
>
> --- In kicad-devel@xxxxxxxxxxxxxxx <kicad-devel%40yahoogroups.com>, Alain
> Mouette <alainm@...> wrote:
> > would become
> >
> > "He said:\n\"go away!\""
>
> I specified "let's say in hex", it was a ready made example... of course
> you can go C quoting style, but hex is immediate to implement:P
>
>
> > It would be nice to hace as few as possible escapes, as it helps
> > readability. I just think that some ideas here were too complex to read,
> > and to implement too.
>
> Fully agree!
>
>
> > Note that a rule for CR and LF inside quotes is needed too.
>
> I'd go with LF only, please :D just say \n or \0A or whatever. I you REALLY
> want to specify CR (but what's its semantic, them?) you always have \r or
> \0C
>
> __._
>
New line should have loose convention, you may write \n into file, but
remember about ignoring \r - that is for platform to platform compatibility.
This should work then even under Mac (Does Mac OS X change the convention to
unix? Or does Apple left the \r as their basic new-line marker in text
files?).
--
Manveru
jabber: manveru@...
gg: 1624001
http://www.manveru.pl
--00032555aa76d42a07047b60c61c Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<br><br><div class=3D"gmail_quote">2009/12/23 Lorenzo <span dir=3D"ltr"><=
;<a href=3D"mailto:lomarcan@...">lomarcan@...</a>></span><br><bloc=
kquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, =
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=3D"background-color: rgb(255, 255, 255);">
<span>=C2=A0</span>
<div>
<div>
<div>
=20=20=20=20=20=20
=20=20=20=20=20=20
<p></p><div class=3D"im"><br>
<br>
--- In <a href=3D"mailto:kicad-devel%40yahoogroups.com" target=3D"_blank">k=
icad-devel@xxxxxxxxxxxxxxx</a>, Alain Mouette <alainm@...> wrote:<br>
> would become<br>
> <br>
> "He said:\n\"go away!\""<br>
<br></div>
I specified "let's say in hex", it was a ready made example..=
. of course you can go C quoting style, but hex is immediate to implement:P=
<div class=3D"im"><br>
<br>
> It would be nice to hace as few as possible escapes, as it helps <br>
> readability. I just think that some ideas here were too complex to rea=
d, <br>
> and to implement too.<br>
<br></div>
Fully agree!<div class=3D"im"><br>
<br>
> Note that a rule for CR and LF inside quotes is needed too.<br>
<br></div>
I'd go with LF only, please :D just say \n or \0A or whatever. I you RE=
ALLY want to specify CR (but what's its semantic, them?) you always hav=
e \r or \0C<br>
<br>
</div>
=20=20=20=20=20
=20=20=20=20
<div style=3D"color: rgb(255, 255, 255); min-height: 0pt;">__._<br></di=
v></div></div></div></blockquote></div><br>New line should have loose conve=
ntion, you may write \n into file, but remember about ignoring \r - that is=
for platform to platform compatibility. This should work then even under M=
ac (Does Mac OS X change the convention to unix? Or does Apple left the \r =
as their basic new-line marker in text files?).<br clear=3D"all">
<br>-- <br>Manveru<br>jabber: <a href=3D"mailto:manveru@...">manveru=
@manveru.pl</a><br> =C2=A0 =C2=A0 gg: 1624001<br> =C2=A0 <a href=3D"http://=
www.manveru.pl">http://www.manveru.pl</a><br>
--00032555aa76d42a07047b60c61c--
Follow ups
References