Eli Zaretskii writes: >> Sorry, when :coding 'raw-text-unix didn't work as expected I first try >> >> :coding (if (memq system-type '(ms-dos windows-nt)) >> 'raw-text-dos >> 'raw-text-unix) >> >> then I realized it was equivalent to : >> :coding 'raw-text > > Actually, no: it isn't equivalent. Just raw-text tells Emacs to use > the default on encoding (thus -dos on Windows and -unix on GNU/Linux), > and to _detect_ the EOL format on decoding. But I don't think this is > a problem in this case, is it? > No, it isn't a problem, and on the contrary it's exactly what I want : detect the EOL format for decoding.