GNU bug report logs - #4924
Emacs No Longer Reads Mac Text Files

Previous Next

Package: emacs;

Reported by: Leif Strand <leif <at> geodynamics.org>

Date: Sat, 14 Nov 2009 01:45:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 4924 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Leif Strand <leif <at> geodynamics.org>
To: Kenichi Handa <handa <at> m17n.org>
Cc: 4924 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#4924: Emacs No Longer Reads Mac Text Files
Date: Mon, 16 Nov 2009 12:07:24 -0800
[Message part 1 (text/plain, inline)]
Kenichi,

Glad to hear that CR support is still there.  Indeed, I've played with 
it a bit more, and it seems that trivial examples do work.

I can't figure out what algorithm Emacs is using to guess the kind of 
text file.  So anyway, I've attached a tarball containing two files:

* ozymandias.txt:  This a trivial example which does work.  It was 
created in BBEdit 4.5.

* SqueakV1-18.sources:  This is the file that triggered my complaint. 
Emacs 21 correctly identified this as a Mac file.  In Emacs v23.1.50.1, 
I see one long line with a bunch of ^M characters.

--Leif



Kenichi Handa wrote:
> In article <4AFE0A0E.4050709 <at> geodynamics.org>, Leif Strand <leif <at> geodynamics.org> writes:
> 
>> Why is it that my new version of Emacs (v23.1.50.1) no longer 
>> understands Mac-format (CR) text files?  It still reads DOS (CRLF) files 
>> just fine.  Why remove support for one but not the other?
> 
> We didn't remove that support at least by intention.  I
> can't reproduce that kind of bug.  Please give us an example
> file of Mac-format that can't be recognized as Mac-format.
> 
> ---
> Kenichi Handa
> handa <at> m17n.org
> 
> 
[bug4924.tar.gz (application/x-gzip, inline)]

This bug report was last modified 15 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.