GNU bug report logs - #13177
24.3.50; doc of `read-char-by-name'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 14 Dec 2012 04:03:01 UTC

Severity: minor

Merged with 13195

Found in version 24.3.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 13177 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#13177: 24.3.50; doc of `read-char-by-name'
Date: Sat, 15 Dec 2012 17:18:35 +0200
>>> 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.




This bug report was last modified 12 years and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.