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: Robert Pluim
Subject: Re: emacs-28 a866674b2a: Fix inaccuracies in "lax search" documentation
Date: Thu, 01 Sep 2022 10:14:55 +0200

>>>>> On Thu, 01 Sep 2022 10:22:55 +0300, Juri Linkov <juri@linkov.net> said:

    >>>> 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?

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

You still need to hit RET though, unlike `read-char-from-minibuffer'.

Robert
-- 



reply via email to

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