From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#9653: 24.0.50; `ucs-names' - Why all of the ("" . XXX) entries? Date: Mon, 3 Oct 2011 19:19:12 -0700 Message-ID: References: (message from Stefan Monnier on Sun, 02 Oct 2011 21:28:57 -0400) NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317694786 10927 80.91.229.12 (4 Oct 2011 02:19:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 02:19:46 +0000 (UTC) Cc: 9653@debbugs.gnu.org To: "'Kenichi Handa'" , "'Stefan Monnier'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 04:19:42 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 1RAube-0003jr-4e for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 04:19:42 +0200 Original-Received: from localhost ([::1]:36083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAubd-0001If-MK for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2011 22:19:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAuba-0001IP-CF for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 22:19:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAubZ-0007oy-2K for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 22:19:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAubY-0007ou-Tk for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 22:19:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RAucw-0006tM-07 for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 22:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2011 02:21:01 +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.131769485426478 (code B ref 9653); Tue, 04 Oct 2011 02:21:01 +0000 Original-Received: (at 9653) by debbugs.gnu.org; 4 Oct 2011 02:20:54 +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 1RAucn-0006t1-S5 for submit@debbugs.gnu.org; Mon, 03 Oct 2011 22:20:54 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAuck-0006ss-OP for 9653@debbugs.gnu.org; Mon, 03 Oct 2011 22:20:51 -0400 Original-Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p942JKpn026822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 Oct 2011 02:19:23 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p942JIDM013824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Oct 2011 02:19:19 GMT Original-Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p942JC3T009664; Mon, 3 Oct 2011 21:19:12 -0500 Original-Received: from dradamslap1 (/10.159.58.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 03 Oct 2011 19:19:12 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcyBhFZGw0SATGKZQvCxITE94ixtkwAtfUrQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090205.4E8A6D2B.0054,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 03 Oct 2011 22:21: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:52140 Archived-At: > > 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'. `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).