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

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

[Emacs-bug-tracker] bug#8738: closed (23.3.50; encode-coding-string does


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#8738: closed (23.3.50; encode-coding-string does not set last-coding-system-used)
Date: Fri, 01 Jul 2011 11:06:02 +0000

Your message dated Fri, 01 Jul 2011 13:04:42 +0200
with message-id <address@hidden>
and subject line Re: bug#8738: 23.3.50; encode-coding-string does not set 
last-coding-system-used
has caused the GNU bug report #8738,
regarding 23.3.50; encode-coding-string does not set last-coding-system-used
to be marked as done.

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


-- 
8738: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8738
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.3.50; encode-coding-string does not set last-coding-system-used Date: Fri, 27 May 2011 18:50:22 +0900 User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/23.3.50 (i386-mingw-nt6.1.7601) MULE/6.0 (HANACHIRUSATO)
When I start emacs (emacs-23 branch and trunk) with -Q and evaluate
below code, I receive unexpected result.

(list
 (progn
   (decode-coding-string "" 'iso-8859-1)
   last-coding-system-used)
 (progn
   (encode-coding-string "" 'no-conversion)
   last-coding-system-used))

It returns

(iso-8859-1 iso-8859-1)

But I expect below result

(iso-8859-1 no-conversion)

Please see the attached patch.
-- 
Kazuhiro Ito

Attachment: coding.c.diff
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#8738: 23.3.50; encode-coding-string does not set last-coding-system-used Date: Fri, 01 Jul 2011 13:04:42 +0200 User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)
Kazuhiro Ito <address@hidden> writes:

> It returns
>
> (iso-8859-1 iso-8859-1)
>
> But I expect below result
>
> (iso-8859-1 no-conversion)

Thanks; I've applied your patch to Emacs 24.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/


--- End Message ---

reply via email to

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