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: Fri, 17 Feb 2012 07:55:32 -0800 Message-ID: References: <74B14D2A03144E798C9415172D5FE01A@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1329494180 27764 80.91.229.3 (17 Feb 2012 15:56:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2012 15:56:20 +0000 (UTC) To: <9653@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 17 16:56:17 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RyQAT-0004Zk-2S for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2012 16:56:17 +0100 Original-Received: from localhost ([::1]:44421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyQAS-0000w1-FN for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2012 10:56:16 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyQAP-0000vs-FE for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 10:56:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyQAK-0001Vo-4I for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 10:56:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyQAK-0001Vd-2c for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 10:56:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RyQC9-0007bn-MX for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 10:58:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <74B14D2A03144E798C9415172D5FE01A@us.oracle.com> Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Feb 2012 15:58: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.132949426029211 (code B ref 9653); Fri, 17 Feb 2012 15:58:01 +0000 Original-Received: (at 9653) by debbugs.gnu.org; 17 Feb 2012 15:57:40 +0000 Original-Received: from localhost ([127.0.0.1]:43857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RyQBo-0007b6-El for submit@debbugs.gnu.org; Fri, 17 Feb 2012 10:57:40 -0500 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:29873) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RyQBm-0007at-4k for 9653@debbugs.gnu.org; Fri, 17 Feb 2012 10:57:39 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q1HFtbYV002032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <9653@debbugs.gnu.org>; Fri, 17 Feb 2012 15:55:38 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q1HFtaax007778 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <9653@debbugs.gnu.org>; Fri, 17 Feb 2012 15:55:37 GMT Original-Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q1HFta0F007427 for <9653@debbugs.gnu.org>; Fri, 17 Feb 2012 09:55:36 -0600 Original-Received: from dradamslap1 (/10.159.46.227) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 17 Feb 2012 07:55:36 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcztiIRtRbUB7TC9TWOEbEY6VoPOKwAAItTwAAB1khA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-CT-RefId: str=0001.0A090208.4F3E787A.0087,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:56972 Archived-At: Forwarding to 9653@debbugs.gnu.org. Otherwise, it is never sent to that bug list (so I, for one, do not receive it). That is a deficiency in the bug-system design, IMO, and should be fixed. It is not enough that mail to ####-done@debbugs.gnu.org gets added to the bug thread indirectly, so you can see it using HTTP at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=####. Mail sent to ####-done@debbugs.gnu.org should also continue to go to the bug mailing list (####@debbugs.gnu.org), so subscribers following the thread there receive such messages as well. Just because someone closes a bug does not mean that subsequent correspondence about it should be excluded from the bug mailing list by default. When you hit `Reply All' to reply to the bug thread, you expect your reply to be added to that bug thread, i.e., the bug mailing list. Users should not have to think about editing the recipients list to add the bug-thread list (####@debbugs.gnu.org). That address should be present by default. -----Original Message----- Sent: Friday, February 17, 2012 7:40 AM To: 'Stefan Monnier'; 'Kenichi Handa' Cc: '9653-done@debbugs.gnu.org' > >> Could you take a look at this problem and replace the "" > >> with nil for the name of unassigned chars? > > Done. > > Thank you, Thank you for trying to fix this. But I still see the same problem: >> such entries interfere with the possibility of simply >> using `rassq' to look up a char code. Especially since >> the empty entries seem to come _first_, before the non-empty >> entries (why?). >> >> E.g., try to look up (rassq 11967 (ucs-names)). >> >> There is a perfectly good entry for this char code: ("CJK >> RADICAL GRASS TWO" . 11967). But it is _preceded_ by this >> empty-name entry: ("" . 11967), which is of course what >> `rassq' returns. (And those are the only entries for 11967.) IOW, replacing "" by nil _only for unassigned chars_ does not solve the problem, AFAICT. The problem is that there are ("" . ) entries that precede perfectly legitimate, assigned chars. Can you please remove those empty entries as well? emacs -Q M-: (rassq 11967 (ucs-names)) That returns ("" . 11967), which is useless (for me, at least). I expect it to return ("CJK RADICAL GRASS TWO" . 11967), which is usable. If this was fixed after the build I'm testing (the latest Windows binary available, from 2 days ago), then ignore what I just said. But that is anyway what I see in this build: In GNU Emacs 24.0.93.1 (i386-mingw-nt5.1.2600) of 2012-02-15 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include'