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: Tue, 4 Oct 2011 06:43:03 -0700 Message-ID: References: (drew.adams@oracle.com) 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 1317735830 7986 80.91.229.12 (4 Oct 2011 13:43:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 13:43:50 +0000 (UTC) Cc: 9653@debbugs.gnu.org To: "'Kenichi Handa'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 15:43:46 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 1RB5Ha-0006Mz-KO for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 15:43:42 +0200 Original-Received: from localhost ([::1]:58993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB5HZ-0004Y0-HD for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 09:43:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB5HT-0004XH-AZ for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 09:43:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB5HR-00081i-MT for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 09:43:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB5HR-00081c-Kz for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 09:43:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RB5Is-0006UW-8V for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 09:45: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 13:45: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.131773588924913 (code B ref 9653); Tue, 04 Oct 2011 13:45:02 +0000 Original-Received: (at 9653) by debbugs.gnu.org; 4 Oct 2011 13:44:49 +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 1RB5Ie-0006Tl-UJ for submit@debbugs.gnu.org; Tue, 04 Oct 2011 09:44:49 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RB5Ic-0006Te-Lu for 9653@debbugs.gnu.org; Tue, 04 Oct 2011 09:44:47 -0400 Original-Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p94DhDIp028490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 Oct 2011 13:43:16 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p94DhA3e024236 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Oct 2011 13:43:11 GMT Original-Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p94Dh5Pw008472; Tue, 4 Oct 2011 08:43:05 -0500 Original-Received: from dradamslap1 (/10.159.58.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Oct 2011 06:43:04 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcyCSnBKmZ3GAfOkSSCXIEPa58jdSgAUE7+w 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.4E8B0D74.01DA,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 04 Oct 2011 09:45: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:52159 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'. > > 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. I was referring to the function `ucs-names', which "returns an alist of (CHAR-NAME . CHAR-CODE) pairs cached in [variable] `ucs-names'." I was guessing that you wrote that code. In any case, `ucs-names' is called in `read-char-by-name'. It is essentially passed as a COLLECTION argument to `completing-read' (not quite, but the effect is similar). `read-char-by-name' is used by `ucs-insert' to read the character to insert.