> Op donderdag 8 sep 2011 15:36 CEST schreef Stefan Monnier:
>
>>> I have defined a function to convert a buffer to Windows format. But
>>> when I edit it again I need to remember to run the function again. Is
>>> there a way to edit a file and keep the windows format? (^M^J)
>>
>> Normally, Emacs handles the conversion transparently for you,
>> automatically detecting the format of the file you're editing.
>
> I just opened the file, but when giving enter I do not see the ^M. So
> in my case it is not working.
My experience has been that if you see ^M in the buffer then something
is wrong with the file. Either there is a missing carriage return, or
there is an extra one.
Jason