GNU bug report logs - #36657
All CRLF XML files are not recognized as CRLF, so flood with ^M's

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 14 Jul 2019 20:23:02 UTC

Severity: wishlist

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 36657 <at> debbugs.gnu.org
Subject: bug#36657: All CRLF XML files are not recognized as CRLF, so flood with ^M's
Date: Wed, 17 Jul 2019 10:51:59 +0100
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> All CRLF XML files will end up looking like this in your buffer,
>
> $ cat -v l.gpx
> <?xml version="1.0" encoding="utf-8"?>^M
> <a></a>^M
>
> See those ^M's?
> That's because that
>    <?xml version="1.0" encoding="utf-8"?>
> line causes emacs to screw up recognizing
> the CRLFs! See (info "(emacs) Coding Systems").

This looks like a duplicate of bug#34704[1], which was fixed in Emacs
26.2.  Can you confirm that it works for you in 26.2?

[1]: https://debbugs.gnu.org/34704

> emacs-version "26.1"

This is not enough information for debugging issues in general.  Please
always report bugs using M-x report-emacs-bug, or copy the information
collected by report-emacs-bug into your bug report.
          
> See also bug#20623.

That bug is also marked as fixed in Emacs 26.2.

Thanks,

-- 
Basil




This bug report was last modified 5 years and 308 days ago.

Previous Next


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