GNU bug report logs -
#870
Missing ^J in ChangeLog
Previous Next
Full log
View this message in rfc822 format
On Mon, Jan 5, 2009 at 12:22, Jason Rumney <jasonr <at> gnu.org> wrote:
> The CRs are effectively stripped on reading, since they end up in limbo
> between being read and being added to the decoding buffer. I haven't tried
> writing the file, but I think (from memory and from the way the code looks
> to me) the problem is a missing CR, not a missing LF.
That's not what I see.
ChangeLog.870 initially contains:
0000 7ff0 20 74 69 6d 65 2d 73 74 61 6d 70 2e 65 6c 3a 0d time-stamp.el:.
0000 8000 0a 09 2a 20 74 69 6d 65 2e 65 6c 3a 0d 0a 09 2a ..* time.el:...*
After rereading the file, in Emacs it shows as:
* time-stamp.el:^M * time.el:
which I interpret as if, while reading, the ^M was read without ^L and
so taken literally, while the ^L was missing.
Then, if I write it back, the file on disk contains
0000 7ff0 20 74 69 6d 65 2d 73 74 61 6d 70 2e 65 6c 3a 0d time-stamp.el:.
0000 8000 09 2a 20 74 69 6d 65 2e 65 6c 3a 0d 0a 09 2a 20 .* time.el:...*
so a LF has gone missing.
Juanma
This bug report was last modified 16 years and 129 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.