GNU bug report logs - #5647
23.1.92; MS950 Charset in Q/B headers

Previous Next

Packages: gnus, emacs;

Reported by: jidanni <at> jidanni.org

Date: Thu, 25 Feb 2010 08:58:02 UTC

Severity: normal

Merged with 5387, 5681

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5647 in the body.
You can then email your comments to 5647 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5647; Package emacs. (Thu, 25 Feb 2010 08:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 25 Feb 2010 08:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Cc: handa <at> etl.go.jp, ding <at> gnus.org
Subject: 23.1.92; MS950 Charset in Q/B headers
Date: Thu, 25 Feb 2010 16:46:36 +0800
Sorry, these still don't work
$ grep -i ms950 mbox
Subject: =?MS950?B?tfmlVaaopVyzcaq+?=
Subject: =?MS950?Q?=B5=F9=A5U=A6=A8=A5\=B3q=AA=BE(TCB_Portal_Regi?=
 =?MS950?Q?stration_Notification)?=
One needs to do
$ sed -n s/ms950/big5/gip mbox > newmbox
Subject: =?big5?B?tfmlVaaopVyzcaq+?=
Subject: =?big5?Q?=B5=F9=A5U=A6=A8=A5\=B3q=AA=BE(TCB_Portal_Regi?=
 =?big5?Q?stration_Notification)?=
to see them correctly in mutt or gnus in emacs-snapshot 1:20100224-1 .





Merged 5387 5647. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 25 Feb 2010 17:44:02 GMT) Full text and rfc822 format available.

bug reassigned from package 'emacs' to 'emacs,gnus'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 02 Mar 2010 19:47:02 GMT) Full text and rfc822 format available.

Merged 5387 5647 5681. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 04 Mar 2010 19:28:01 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5647; Package emacs,gnus. (Mon, 08 Mar 2010 01:12:02 GMT) Full text and rfc822 format available.

Message #14 received at 5647 <at> debbugs.gnu.org (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: jidanni <at> jidanni.org
Cc: 5647 <at> debbugs.gnu.org, ding <at> gnus.org
Subject: Re: bug#5647: 23.1.92; MS950 Charset in Q/B headers
Date: Mon, 08 Mar 2010 10:11:30 +0900
In article <87fx4pn1n7.fsf <at> jidanni.org>, jidanni <at> jidanni.org writes:

> Sorry, these still don't work
> $ grep -i ms950 mbox
> Subject: =?MS950?B?tfmlVaaopVyzcaq+?=
> Subject: =?MS950?Q?=B5=F9=A5U=A6=A8=A5\=B3q=AA=BE(TCB_Portal_Regi?=
>  =?MS950?Q?stration_Notification)?=
> One needs to do
> $ sed -n s/ms950/big5/gip mbox > newmbox
> Subject: =?big5?B?tfmlVaaopVyzcaq+?=
> Subject: =?big5?Q?=B5=F9=A5U=A6=A8=A5\=B3q=AA=BE(TCB_Portal_Regi?=
>  =?big5?Q?stration_Notification)?=
> to see them correctly in mutt or gnus in emacs-snapshot 1:20100224-1 .

In the thread of bug#5387, I wrote this:
K> I've just installed the attached change to accept msXXX.
K> canonicalize-coding-system-name is used by
K> coding-system-from-name, and, at least, rmail uses it.

and you wrote:
> I'll CC the gnus people to make sure they will use it too.

It seems that Gnus is not yet using coding-system-from-name.

---
Kenichi Handa
handa <at> m17n.org




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5647; Package emacs,gnus. (Mon, 08 Mar 2010 04:13:02 GMT) Full text and rfc822 format available.

Message #17 received at 5647 <at> debbugs.gnu.org (full text, mbox):

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: 5647 <at> debbugs.gnu.org
Cc: jidanni <at> jidanni.org, ding <at> gnus.org, Kenichi Handa <handa <at> m17n.org>
Subject: Re: bug#5647: 23.1.92; MS950 Charset in Q/B headers
Date: Mon, 08 Mar 2010 13:11:50 +0900
>>>>> Kenichi Handa wrote:
> It seems that Gnus is not yet using coding-system-from-name.

This will probably work.

--- mm-util.el~	2010-01-13 09:41:40 +0000
+++ mm-util.el	2010-03-08 04:10:44 +0000
@@ -566,6 +566,9 @@
 ;;; 	 (eq charset (coding-system-get charset 'mime-charset))
 	 )
     charset)
+   ;; Use coding system Emacs knows.
+   ((and (fboundp 'coding-system-from-name)
+	 (coding-system-from-name charset)))
    ;; Eval expressions from `mm-charset-eval-alist'
    ((let* ((el (assq charset mm-charset-eval-alist))
 	   (cs (car el))

But I'm not sure it is a bugfix since there're some ways for a user
to tell Gnus that ms950 is cp950 (e.g. `mm-charset-synonym-alist').




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5647; Package emacs,gnus. (Mon, 15 Mar 2010 01:45:02 GMT) Full text and rfc822 format available.

Message #20 received at 5647 <at> debbugs.gnu.org (full text, mbox):

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: 5647 <at> debbugs.gnu.org
Cc: jidanni <at> jidanni.org, ding <at> gnus.org, Kenichi Handa <handa <at> m17n.org>
Subject: Re: bug#5647: 23.1.92; MS950 Charset in Q/B headers
Date: Mon, 15 Mar 2010 10:43:57 +0900
>>>>> Katsumi Yamaoka wrote:
>>>>>> Kenichi Handa wrote:
>> It seems that Gnus is not yet using coding-system-from-name.

> This will probably work.

> --- mm-util.el~	2010-01-13 09:41:40 +0000
> +++ mm-util.el	2010-03-08 04:10:44 +0000
> @@ -566,6 +566,9 @@
>  ;;; 	 (eq charset (coding-system-get charset 'mime-charset))
>  	 )
>      charset)
> +   ;; Use coding system Emacs knows.
> +   ((and (fboundp 'coding-system-from-name)
> +	 (coding-system-from-name charset)))
>     ;; Eval expressions from `mm-charset-eval-alist'
>     ((let* ((el (assq charset mm-charset-eval-alist))
>  	   (cs (car el))

> But I'm not sure it is a bugfix since there're some ways for a user
> to tell Gnus that ms950 is cp950 (e.g. `mm-charset-synonym-alist').

I've installed it in Emacs trunk (i.e. Emacs 24) and Gnus trunk.
This thread should be closed.

P.S. Gnus trunk has been tagged with `emacs_23_2_RC' before sync'ing
with Emacs 24.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Mon, 15 Mar 2010 19:21:02 GMT) Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. (Mon, 15 Mar 2010 19:21:03 GMT) Full text and rfc822 format available.

Message #25 received at 5647-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 5647-done <at> debbugs.gnu.org
Subject: Re: bug#5647: 23.1.92; MS950 Charset in Q/B headers
Date: Mon, 15 Mar 2010 15:20:51 -0400
Katsumi Yamaoka wrote:

> I've installed it in Emacs trunk (i.e. Emacs 24) and Gnus trunk.
> This thread should be closed.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Mon, 15 Mar 2010 19:21:03 GMT) Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. (Mon, 15 Mar 2010 19:21:03 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Mon, 15 Mar 2010 19:21:03 GMT) Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. (Mon, 15 Mar 2010 19:21:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 13 Apr 2010 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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