emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-28 a866674b2a: Fix inaccuracies in "lax search" documentation


From: Juri Linkov
Subject: Re: emacs-28 a866674b2a: Fix inaccuracies in "lax search" documentation
Date: Thu, 01 Sep 2022 10:22:55 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>>> I have one comment: using `read-char-by-name' is kind
>>> of cumbersome when all you want to do is find the equivalents to
>>> e.g. 'a'. Would it make sense to have something similar to
>>> `read-char-by-name' but that accepted single characters *without*
>>> treating those as hex? Youʼd still be able to enter single digit
>>> hex characters by prefixing them with '0'.
>> Wouldn't it be cleaner to use just (read-char-from-minibuffer "Character: ")
>> where you can either type a character directly or use 'C-x 8 RET'
>> to insert a character by its name.
>
> I lost the beginning of this discussion: why can't we unify
> `read-char-from-minibuffer` and `read-char-by-name' into a single function?

Robert sent a patch that does this by adding a new arg ALLOW-SINGLE
to `read-char-by-name'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]