all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Jason Rumney" <jasonr@gnu.org>
Cc: 870@emacsbugs.donarmstrong.com, Emacs Devel <emacs-devel@gnu.org>
Subject: Re: bug#870: Repeatable instance of bug#870
Date: Mon, 5 Jan 2009 15:28:25 +0100	[thread overview]
Message-ID: <f7ccd24b0901050628n4e4e191er41df7338836130e6@mail.gmail.com> (raw)
In-Reply-To: <4962100E.4060808@gnu.org>

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




  reply	other threads:[~2009-01-05 14:28 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 10:59 ` 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 [this message]
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  1:07   ` Kenichi Handa
2009-01-07  6:53     ` 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
  -- strict thread matches above, loose matches on Subject: below --
2009-01-05  5:03 Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ccd24b0901050628n4e4e191er41df7338836130e6@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=870@emacsbugs.donarmstrong.com \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.