From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#13177: 24.3.50; doc of `read-char-by-name' Date: Sat, 15 Dec 2012 17:18:35 +0200 Organization: JURTA Message-ID: <87r4mrl4gq.fsf@mail.jurta.org> References: <4AF22BD1F38E4AF2A650D1F537B47069@us.oracle.com> <8762431shy.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355585765 30052 80.91.229.3 (15 Dec 2012 15:36:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Dec 2012 15:36:05 +0000 (UTC) Cc: 13177@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 15 16:36:19 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tjtmk-0003QO-JV for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Dec 2012 16:36:18 +0100 Original-Received: from localhost ([::1]:42602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjtmX-0007Xy-Gm for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Dec 2012 10:36:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjtmU-0007Uw-BG for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 10:36:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjtmR-0007Mc-L3 for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 10:36:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjtmR-0007MY-Hd for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 10:35:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TjtnT-0007uU-1Q for bug-gnu-emacs@gnu.org; Sat, 15 Dec 2012 10:37:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Dec 2012 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13177 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13177-submit@debbugs.gnu.org id=B13177.135558580730373 (code B ref 13177); Sat, 15 Dec 2012 15:37:02 +0000 Original-Received: (at 13177) by debbugs.gnu.org; 15 Dec 2012 15:36:47 +0000 Original-Received: from localhost ([127.0.0.1]:44212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjtnB-0007tk-JR for submit@debbugs.gnu.org; Sat, 15 Dec 2012 10:36:46 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:57149 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tjtn5-0007tW-H6 for 13177@debbugs.gnu.org; Sat, 15 Dec 2012 10:36:42 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 5C2EB451CD0B; Sat, 15 Dec 2012 07:35:33 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Sat, 15 Dec 2012 09:54:21 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) 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.x 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:68562 Archived-At: >>> Dunno just what the intention was for this function. If it really >>> was to return a recognized Unicode character then this is a product >>> bug and reading should not end until the user enters matching input >>> (or hits `C-g'). >> As its docstring says, it also accepts a hexadecimal number >> of Unicode code whose input can't use completion. > > That does not preclude using require-match. I guess you mean adding a predicate that will check input for a valid hex number? It could act as an union of character name completions and a predicate to check hex numbers. But I don't imagine how to combine them without adding a large list of all possible hex numbers to the completion list.