all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Repeatable instance of bug#870
@ 2009-01-05  5:03 Juanma Barranquero
  2009-01-05  5:05 ` Juanma Barranquero
                   ` (2 more replies)
  0 siblings, 3 replies; 44+ messages in thread
From: Juanma Barranquero @ 2009-01-05  5:03 UTC (permalink / raw)
  To: Emacs Devel; +Cc: 870

[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]

Today, I've been finally able to create a repeatable test case for
bug#870, "Missing ^J in ChangeLog".

The bug manifests itself as one or more ^J chars missing when reading
a text file. AFAIK, it has only happened with ChangeLogs, and just to
a few Windows users (not unexpectedly, as we typically handle much
more CRLF files than people on other systems).

On my setup, the bug can be repeated at will by doing:

   emacs -Q --eval "(desktop-save-mode 1)" ChangeLog.870
   C-x C-f
   y <RET>    ; to save the desktop when asked
   emacs -Q --eval "(desktop-read)"
   C-s C-q C-M

After that, the cursor will be over a ^M char, the remnant of a CRLF
pair whose ^J has disappeared.

If before restarting Emacs you edit .emacs.desktop and remove
"(buffer-file-coding-system . utf-8-dos)" from the ChangeLog.870
entry, the bug does not happen.

The missing ^J is exactly at position #x8000 of the ChangeLog.870
file. If you do remove a character from the file and repeat the test,
the problem does not happen at position #x8000, but another instance
of the same bug does happen at position #x38007. That seems to
indicate some kind of trouble with a 32 KiB buffer.

I'm attaching a bzipped copy of ChangeLog.870.

Any help in debugging this bug (or even a patch fixing it ;-) will be
much appreciated.

    Juanma

[-- Attachment #2: ChangeLog.870.bz2 --]
[-- Type: application/x-bzip2, Size: 123313 bytes --]

^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2009-01-13  4:06 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05  5:03 Repeatable instance of bug#870 Juanma Barranquero
2009-01-05  5:05 ` Juanma Barranquero
2009-01-05 10:59 ` bug#870: " Jason Rumney
2009-01-05 11:12   ` Juanma Barranquero
2009-01-05 11:12   ` Juanma Barranquero
2009-01-05 11:22     ` Jason Rumney
2009-01-05 11:31       ` Juanma Barranquero
2009-01-05 11:31       ` Juanma Barranquero
2009-01-05 13:50         ` Jason Rumney
2009-01-05 14:28           ` Juanma Barranquero
2009-01-05 14:28           ` Juanma Barranquero
2009-01-05 13:50         ` Jason Rumney
2009-01-05 11:22     ` Jason Rumney
2009-01-07  1:07   ` Kenichi Handa
2009-01-07  6:53     ` Kenichi Handa
2009-01-07  8:19       ` martin rudalics
2009-01-07 12:29         ` Kenichi Handa
2009-01-07 15:33           ` martin rudalics
2009-01-13  2:30             ` Kenichi Handa
2009-01-13  4:06               ` Eli Zaretskii
2009-01-07  9:43       ` Juanma Barranquero
     [not found]         ` <496489D2.8030902@gnu.org>
2008-09-03 11:03           ` bug#870: Missing ^J in ChangeLog Juanma Barranquero
2008-09-03 12:50             ` martin rudalics
2008-09-03 15:20               ` Juanma Barranquero
2008-10-22 15:14                 ` Juanma Barranquero
2008-10-22 19:45                   ` Eli Zaretskii
2008-10-22 20:15                     ` Lennart Borgman (gmail)
2008-10-22 21:08                       ` Eli Zaretskii
2008-10-22 21:22                         ` Lennart Borgman (gmail)
2008-10-22 22:06                           ` Eli Zaretskii
2008-10-22 22:26                       ` Lennart Borgman
2008-10-22 23:10                         ` Lennart Borgman
2008-10-22 21:58                     ` Juanma Barranquero
2008-10-22 22:17                       ` Eli Zaretskii
2008-10-22 23:32                         ` Juanma Barranquero
2008-10-22 23:41                           ` Juanma Barranquero
2008-10-23  0:39                             ` Lennart Borgman
2008-10-23 13:34                               ` Juanma Barranquero
2009-01-07 11:00             ` bug#870: marked as done (Missing ^J in ChangeLog) Emacs bug Tracking System
     [not found]           ` <f7ccd24b0901070301t221f906atf75f8632dcf1c41@mail.gmail.com>
2009-01-07 11:10             ` bug#870: Repeatable instance of bug#870 Jason Rumney
2009-01-07  9:43       ` Juanma Barranquero
2009-01-07  6:53     ` Kenichi Handa
2009-01-07  1:07   ` Kenichi Handa
2009-01-05 10:59 ` Jason Rumney

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.