unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Peter De Wachter <pdewacht@gmail.com>
Cc: Chong Yidong <cyd@stupidchicken.com>,
	1039@emacsbugs.donarmstrong.com, Kenichi Handa <handa@m17n.org>
Subject: bug#1039: 23.0.60; emacs forgets EOL convention after revert-buffer
Date: Sun, 12 Oct 2008 20:48:45 +0200	[thread overview]
Message-ID: <48F2468D.3040705@gmx.at> (raw)
In-Reply-To: <20081012001041.116d71e5@tleilaxu>

 > That patch fixes the bug I reported, but it creates a new one:

Are you sure that this worked _before_ my patch?

 > if you
 > change the EOL convention outside of emacs, revert-buffer no longer
 > detects this.

Indeed.  BTW, can you confirm that when you delete the entire buffer
text first reverting works correctly?  Unfortunately, I don't understand
this part of `insert-file-contents' at all.  I suppose Emacs should
redecode when it finds out that the eol-types of the buffer and the part
of the file it has already read differ.  But somehow this doesn't
happen.  Handa-san do you have any ideas?

martin







  reply	other threads:[~2008-10-12 18:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-08 16:15 bug#1039: 23.0.60; emacs forgets EOL convention after revert-buffer Chong Yidong
2008-10-08 18:03 ` martin rudalics
2008-10-11 22:10   ` Peter De Wachter
2008-10-12 18:48     ` martin rudalics [this message]
2008-10-13 19:53       ` Peter De Wachter
  -- strict thread matches above, loose matches on Subject: below --
2009-01-29  4:20 Kenichi Handa
2008-09-27 21:15 Peter De Wachter
2008-09-27 22:12 ` martin rudalics

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=48F2468D.3040705@gmx.at \
    --to=rudalics@gmx.at \
    --cc=1039@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=handa@m17n.org \
    --cc=pdewacht@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).