all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: mule-ja@m17n.org, emacs-devel@gnu.org
Subject: Re: problem with system_eol_type
Date: Mon, 31 Jul 2006 12:30:26 -0400	[thread overview]
Message-ID: <jwvfyghn3i7.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <v9bqr6m7ih.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Mon, 31 Jul 2006 11:46:30 +0200")

>>>>> "Reiner" == Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Mon, Jul 31 2006, Kenichi Handa wrote:
>> I've got several complaints about the change I made a few
>> months ago regarding the handling of the default eol-type.
>> 
>> Previously, when a coding system without explicit eol-type
>> (e.g. iso-latin-1) was specified for encoding, Unix-like
>> eol-type is selected on any platform.
>> 
>> The change I made was to use an eol-type set to
>> system_eol_type (CRLF on Windows, LF otherwise) in such a
>> case.  To me, that change was just a bug fix.
>> 
>> But, the bug-reports say that there are many codes that
>> assumes the previous behaviour, and some of them now don't
>> work well on Windows.

I'd argue that those pieces of code had bugs: if your code depends on a Unix
style EOL, it should say so explicitly.

> FWIW, two examples in Gnus where that doubled newlines appeared in
> mail messages and NOV (overview) files weren't read/written correctly
> anymore, see this discussion on the Gnus list:
> <http://thread.gmane.org/gmane.emacs.gnus.general/63496/focus=63502>

Is there any good reason why Gnus uses coding systems of the form `foo'
rather than `foo-unix'?

This said, there's clearly a problem of backward compatibility since the
"buggy" code worked in Emacs-21.


        Stefan

  reply	other threads:[~2006-07-31 16:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-31  6:04 problem with system_eol_type Kenichi Handa
2006-07-31  9:46 ` Reiner Steib
2006-07-31 16:30   ` Stefan Monnier [this message]
2006-07-31 17:00     ` Jason Rumney
2006-07-31 17:28       ` Eli Zaretskii
2006-07-31 17:28     ` Eli Zaretskii
2006-07-31 17:52     ` Stefan Monnier
2006-07-31 17:27 ` Eli Zaretskii
2006-07-31 22:16 ` Richard Stallman
2006-08-01  2:03   ` Katsumi Yamaoka
2006-08-01  3:19     ` Stefan Monnier
2006-08-01  6:10       ` Katsumi Yamaoka
2006-08-09 10:35     ` Katsumi Yamaoka
2006-08-09 12:27       ` Stefan Monnier
2006-08-09 22:07         ` Katsumi Yamaoka
2006-08-10  1:13       ` Richard Stallman
2006-08-10  7:35         ` Reiner Steib

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=jwvfyghn3i7.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=mule-ja@m17n.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.