Mike's editor

classic Classic list List threaded Threaded
3 messages Options
Dado Sutter Dado Sutter
Reply | Threaded
Open this post in threaded view
|

Mike's editor

Mike, I don't know what editor you have used for the STM32 code but for me
(in Joe) your lines end with an "M" and maybe some other hidden char.
Not a big problem, as all the rest is clearly readable and I don't plan to
touch the STM32 code anytime soon. But it is nice to check it, as you'll
probably be editing other mainstream files.

Best
Dado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20081201/6b844e2d/attachment.html 

Mike Panetta Mike Panetta
Reply | Threaded
Open this post in threaded view
|

Mike's editor

I was using both vi and Raisonances RIDE.  RIDE converts files to dos format
(very annoyingly) which I did not realize at first.  All the files I checked
in with the exception of the ST provided libraries need to have indent run
on them with Bogdan's coding rules.

Mike

On Mon, Dec 1, 2008 at 8:50 AM, Dado Sutter <dadosutter at gmail.com> wrote:

> Mike, I don't know what editor you have used for the STM32 code but for me
> (in Joe) your lines end with an "M" and maybe some other hidden char.
> Not a big problem, as all the rest is clearly readable and I don't plan to
> touch the STM32 code anytime soon. But it is nice to check it, as you'll
> probably be editing other mainstream files.
>
> Best
> Dado
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20081201/9dd8323c/attachment.html 

BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Mike's editor

Not really a problem. From the base directory of the eLua source tree, do
this:

$ sudo apt-get install flip
$ find . -name "*.[ch]" | xargs flip -u

And BAM! all your source files are automagically converted to UNIX line
endings :)

Best,
Bogdan

On Tue, Dec 2, 2008 at 2:12 AM, Mike Panetta <panetta.mike at gmail.com> wrote:

> I was using both vi and Raisonances RIDE.  RIDE converts files to dos
> format (very annoyingly) which I did not realize at first.  All the files I
> checked in with the exception of the ST provided libraries need to have
> indent run on them with Bogdan's coding rules.
>
> Mike
>
> On Mon, Dec 1, 2008 at 8:50 AM, Dado Sutter <dadosutter at gmail.com> wrote:
>
>> Mike, I don't know what editor you have used for the STM32 code but for me
>> (in Joe) your lines end with an "M" and maybe some other hidden char.
>> Not a big problem, as all the rest is clearly readable and I don't plan to
>> touch the STM32 code anytime soon. But it is nice to check it, as you'll
>> probably be editing other mainstream files.
>>
>> Best
>> Dado
>>
>>
>> _______________________________________________
>> Elua-dev mailing list
>> Elua-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>>
>>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20081202/3244ef87/attachment.html