From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: [Unicode-2] `C-h f' error Date: Sun, 25 Nov 2007 21:39:47 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=ISO-2022-JP-2 X-Trace: ger.gmane.org 1195994431 8995 80.91.229.12 (25 Nov 2007 12:40:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2007 12:40:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: bojohan+news@dd.chalmers.se (Johan =?ISO-2022-JP-2?B?Qm9ja2c=?= =?ISO-2022-JP-2?B?GyQoRCspGyhCcmQ=?=) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 25 13:40:39 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 1IwGmo-0001U3-Qh for ged-emacs-devel@m.gmane.org; Sun, 25 Nov 2007 13:40:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwGmZ-0007hn-Qm for ged-emacs-devel@m.gmane.org; Sun, 25 Nov 2007 07:40:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwGmT-0007gI-Ct for emacs-devel@gnu.org; Sun, 25 Nov 2007 07:40:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwGmR-0007fk-S9 for emacs-devel@gnu.org; Sun, 25 Nov 2007 07:40:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwGmR-0007fa-Lb for emacs-devel@gnu.org; Sun, 25 Nov 2007 07:40:11 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IwGmQ-0006hb-Tb for emacs-devel@gnu.org; Sun, 25 Nov 2007 07:40:11 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id lAPCdmSt025962; Sun, 25 Nov 2007 21:39:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id lAPCdm7q006571; Sun, 25 Nov 2007 21:39:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id lAPCdlIf009539; Sun, 25 Nov 2007 21:39:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IwGm3-0004T9-Rf; Sun, 25 Nov 2007 21:39:47 +0900 In-reply-to: (bojohan+news@dd.chalmers.se) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:84111 Archived-At: In article , bojohan+news@dd.chalmers.se (Johan Bockg$(D+)(Brd) writes: > Your change replaced make_symbol with Fmake_symbol (and intern with > Fintern), and make_symbol does > Fmake_symbol ((!NILP (Vpurify_flag) > ? make_pure_string (str, len, len, 0) > : make_string (str, len))); > In the make_symbol/Fmake_symbol pair of functions, the Vpurify_flag > check is in the former (so is not done after the change); but in the > intern/Fintern pair it is in the latter. Isn't this the problem? Ah! Good point! Perhaps you are right. But, I don't understand the reason of calling make_pure_string always with the last arg multibyte as 0. It isn't consistent with the case of Vpurify_flag is nil (letting make_string determine the multibyteness). Richard, don't you remember anything? It seems that this part was lastly modified by you about 10 years ago. --- Kenichi Handa handa@ni.aist.go.jp