"<David Howells" <[EMAIL PROTECTED]> writes:

> Symptoms:
>
> I'm seeing a problem with Tramp in which when I save a file or revisit it,
> emacs changes its mind on the type of line endings to DOS mode, whether or not
> the file was DOS mode before.
>
> The result of the initial save on disk doesn't contain CR characters, but
> subsequent saves do.

I've tried to reproduce it locally, no success. Even applying your
settings (locale-coding-system: utf-8,
default-enable-multibyte-characters: t) doesn't help.

Could you, please, provide the values of the following (partly local)
variables from the buffer in question: `buffer-file-coding-system',
`save-buffer-coding-system', `last-coding-system-used',
`auto-coding-regexp-alist', `file-coding-system-alist',
`coding-system-for-read', `coding-system-for-write' and
`buffer-file-type'.

> Setting file-precious-flag to nil rather than t seems to stop the problem from
> occurring.

Strange. Tramp doesn't care `file-precious-flag'. So it must belong to
writing a local tempfile. But I don't see (yet) something strange in
the code.

Best regards, Michael.


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to