[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#870: Repeatable instance of bug#870
From: |
Juanma Barranquero |
Subject: |
bug#870: Repeatable instance of bug#870 |
Date: |
Mon, 5 Jan 2009 15:28:25 +0100 |
On Mon, Jan 5, 2009 at 14:50, Jason Rumney <jasonr@gnu.org> wrote:
> So
> maybe I am wrong about exactly what happens in that part of the decode
> functions - maybe the CR does get written to the buffer, but the following
> LF is somehow swallowed.
The bug does not happen on encoding (for writing), because it is
already visible after re-decoding (I mean, after desktop.el applies
buffer-file-coding-system, or after the
revert-buffer-with-coding-system call in your example). Once the
buffer has the lone ^M, it's no wonder it ends up in the file after
writing.
I think you're right that the problem is related to decoding a CRLF
when the pair crosses a buffer boundary.
Juanma
bug#870: Repeatable instance of bug#870, Kenichi Handa, 2009/01/06
- bug#870: Repeatable instance of bug#870, Kenichi Handa, 2009/01/07
- bug#870: Repeatable instance of bug#870, martin rudalics, 2009/01/07
- bug#870: Repeatable instance of bug#870, Kenichi Handa, 2009/01/07
- bug#870: Repeatable instance of bug#870, martin rudalics, 2009/01/07
- bug#870: Repeatable instance of bug#870, Kenichi Handa, 2009/01/12
- bug#870: Repeatable instance of bug#870, Eli Zaretskii, 2009/01/12
bug#870: Repeatable instance of bug#870, Juanma Barranquero, 2009/01/07
Message not availableMessage not availablebug#870: Repeatable instance of bug#870, Jason Rumney, 2009/01/07