GNU bug report logs - #36454
26.2.90; feature request - Insert char by hex tab completion or C-x 8 RET ffe <TAB>

Previous Next

Package: emacs;

Reported by: VanL <van <at> scratch.space>

Date: Mon, 1 Jul 2019 02:40:02 UTC

Severity: wishlist

Tags: wontfix

Found in version 26.2.90

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: van <at> scratch.space, 36454 <at> debbugs.gnu.org, mrsebastianurban <at> gmail.com, larsi <at> gnus.org
Subject: bug#36454: 26.2.90; feature request - Insert char by hex tab completion or C-x 8 RET ffe <TAB>
Date: Thu, 18 Jul 2019 19:53:06 +0300
> Date: Thu, 18 Jul 2019 16:15:23 +0000 (UTC)
> From: Drew Adams <drew.adams <at> oracle.com>
> Cc: mrsebastianurban <at> gmail.com, larsi <at> gnus.org, van <at> scratch.space,
>         36454 <at> debbugs.gnu.org
> 
> > > No, you won't get lots of results.  There's little overlap
> > > in general, even if you type only a few chars.  Certainly
> > > less than you get with function and variable names,
> > > especially those that have common prefixes.
> > >
> > > You'll typically type little to get to a single candidate.
> > 
> > Try "ff" or "fe" for some perspective.
> [...]
> If you really want to be extreme, try just "f"

You are missing the point.  My point is that your example is somewhat
skewed: Unicode codepoints in hex go from 0 to 1fffff, so the number
of possible matches for the initial "ffe" is quite small, to put it
mildly.  Real-life examples might yield one or even two orders of
magnitude more candidates; e.g. "fe" as substring (not just the
leading substring) will gives you more than 500.  Even replacing "ffe"
with "123" will already give 170 just of those that begin with "123".
I hope we agree that wading through 170 completion candidates, let
alone 500, is not very convenient, yes?

Bottom line: IME completing on digits is rarely useful, unless you
assume that the user will type almost all of the digits, leaving just
one or two for completion.  And how probable is it that the user will
know the codepoint up to 1 or 2 last digits, but will not know the
entire codepoint?




This bug report was last modified 5 years and 311 days ago.

Previous Next


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