[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: saveplace: don't ask for coding system

From: Eli Zaretskii
Subject: Re: saveplace: don't ask for coding system
Date: Wed, 05 Dec 2007 06:52:26 +0200

> From: Stefan Monnier <address@hidden>
> Date: Tue, 04 Dec 2007 17:24:52 -0500
> Cc: Juanma Barranquero <address@hidden>, address@hidden
> You're right that the most important part is to specify the EOL in the
> coding cookie.  But I also think that it should always use `unix' EOL
> when writing the file, because that's the only coding-system that's
> safe: both the `dos' and the `mac' EOLs can result in data loss when the
> text being saved includes ^M and ^J characters.  It's minor, but if
> we're going to insist on emacs-mule in place of utf-8, then we should
> insist on `unix' in place of `dos' or `mac' style EOL.

I'm fine with -unix, but I won't recommend changing that on the Emacs
22 branch, as there's no bug we are fixing here.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]