From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; utf7-decode failed with non latin-1 charactor Date: Wed, 07 Nov 2007 12:12:57 +0000 Message-ID: <4731ABC9.4080604@gnu.org> References: <87k5p1ho29.wl%topia@clovery.jp> <472B1AD5.3090006@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194437625 8440 80.91.229.12 (7 Nov 2007 12:13:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Nov 2007 12:13:45 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, topia@clovery.jp To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 07 13:13:49 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ipjmy-0007Dk-Ah for ged-emacs-devel@m.gmane.org; Wed, 07 Nov 2007 13:13:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ipjmm-0004ar-Tx for ged-emacs-devel@m.gmane.org; Wed, 07 Nov 2007 07:13:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ipjmi-0004aB-Jv for emacs-devel@gnu.org; Wed, 07 Nov 2007 07:13:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ipjmh-0004Zz-70 for emacs-devel@gnu.org; Wed, 07 Nov 2007 07:13:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ipjmh-0004Zw-4X for emacs-devel@gnu.org; Wed, 07 Nov 2007 07:13:27 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ipjmg-00077a-RO for emacs-devel@gnu.org; Wed, 07 Nov 2007 07:13:26 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ipjmg-0002lz-LN for emacs-pretest-bug@gnu.org; Wed, 07 Nov 2007 07:13:26 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ipjmd-00076z-8n for emacs-pretest-bug@gnu.org; Wed, 07 Nov 2007 07:13:26 -0500 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ipjmc-00076s-Su for emacs-pretest-bug@gnu.org; Wed, 07 Nov 2007 07:13:23 -0500 Original-Received: from [127.0.0.1] (host81-149-25-51.in-addr.btopenworld.com [81.149.25.51]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 5FEC15195F; Wed, 7 Nov 2007 12:13:00 +0000 (GMT) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82726 gmane.emacs.pretest.bugs:20250 Archived-At: Kenichi Handa wrote: > It seems that fucntions utf-7-decode and utf-7-encode are > designed to be called only as pre-write/post-read functions > of a coding system utf-7 (and commented out coding system > utf-7-imap) in lisp/international/utf-7.el. > Is it a requirement for such functions to return nil? If not, can we return the encoded string instead of nil, to make the undocumented string FROM argument useful (as a drop in replacement for the gnus utf7-encode).