From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#9653: 24.0.50; `ucs-names' - Why all of the ("" . XXX) entries? Date: Tue, 04 Oct 2011 13:02:05 +0900 Message-ID: References: <74B14D2A03144E798C9415172D5FE01A@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317700974 10482 80.91.229.12 (4 Oct 2011 04:02:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 04:02:54 +0000 (UTC) Cc: 9653@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 06:02:50 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RAwDS-0008Rh-Kx for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 06:02:50 +0200 Original-Received: from localhost ([::1]:40469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAwDM-0003s2-NO for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 00:02:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAwDG-0003rc-Hv for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 00:02:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAwDE-0005ky-Rz for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 00:02:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAwDE-0005kt-PD for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 00:02:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RAwEc-0000m3-SI for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 00:04:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2011 04:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9653 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9653-submit@debbugs.gnu.org id=B9653.13177010262952 (code B ref 9653); Tue, 04 Oct 2011 04:04:02 +0000 Original-Received: (at 9653) by debbugs.gnu.org; 4 Oct 2011 04:03:46 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAwEI-0000lV-Gl for submit@debbugs.gnu.org; Tue, 04 Oct 2011 00:03:44 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAwEC-0000lJ-QK for 9653@debbugs.gnu.org; Tue, 04 Oct 2011 00:03:40 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id p94426Fr000849; Tue, 4 Oct 2011 13:02:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id p94426TN017966; Tue, 4 Oct 2011 13:02:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id p94425gb003481; Tue, 4 Oct 2011 13:02:05 +0900 (JST) env-from (handa@m17n.org) In-Reply-To: (drew.adams@oracle.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 04 Oct 2011 00:04:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52142 Archived-At: In article , "Drew Adams" writes: > > > Is (get-char-code-property c 'name) supposed to return "" > > > when the char has no name or is it supposed to return nil? > > > Either way is fine by me... > > > > It returns "" in such a case in Emacs 24... > > ... the Unicode Name property, the default value is a null string. > I'm following your discussion about this, but I don't see how it relates much to > my question about `ucs-names'. As I don't know how ucs-names is used (I have not known the existence of such a variable), I have no answer to your questions. --- Kenichi Handa handa@m17n.org > `ucs-names' can probably be used for more than just a COLLECTION arg for > completion. But at least in that context I don't see how using nil in place of > "" would help at all (on the contrary, I would think). > The question I had was whether & why we want to keep these nameless entries in > `ucs-names'. I have nothing against it really (I just filter them out), but I > wondered if they were intentional. It sounds like the answer to that is yes, > but I wonder what the reason for keeping them is. That's all. > Is the point in keeping these entries (regardless of whether we use "" or nil) > that we want an entry for each code point, even for the code points that do not > have names? If so, then let's be explicit about that aim (e.g. add it to the > doc string or a comment).