emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40519: closed (28.0.50; decode-coding-string fails EOL conversion of


From: GNU bug Tracking System
Subject: bug#40519: closed (28.0.50; decode-coding-string fails EOL conversion of ASCII string)
Date: Thu, 16 Apr 2020 10:45:02 +0000

Your message dated Thu, 16 Apr 2020 12:44:06 +0200
with message-id <address@hidden>
and subject line Re: bug#40519: 28.0.50; decode-coding-string fails EOL 
conversion of ASCII string
has caused the debbugs.gnu.org bug report #40519,
regarding 28.0.50; decode-coding-string fails EOL conversion of ASCII string
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
40519: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40519
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 28.0.50; decode-coding-string fails EOL conversion of ASCII string Date: Thu, 09 Apr 2020 17:26:05 +0900 User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/28.0 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO)
Since commit 4ed39549e3f9dbfeb2aea0e2674a7701dbc0e5ea (Avoid expensive
recoding for ASCII identity cases (bug#40407)), below code returns
unexpected result.

(let ((string "ABCD\x0d\nEFG")
      inhibit-eol-conversion)
  (decode-coding-string string 'raw-text-dos))

-> "ABCD^M
EFG"

expected result is 
-> "ABCD
EFG"

It seems that the committed code does not take care of EOL conversion.

-- 
Kazuhiro Ito



--- End Message ---
--- Begin Message --- Subject: Re: bug#40519: 28.0.50; decode-coding-string fails EOL conversion of ASCII string Date: Thu, 16 Apr 2020 12:44:06 +0200
This was fixed as part of bug#40407 (e18c24b35a).



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]