From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36454: 26.2.90; feature request - Insert char by hex tab completion or C-x 8 RET ffe Date: Thu, 18 Jul 2019 19:53:06 +0300 Message-ID: <831rynwah9.fsf@gnu.org> References: <> <<87r27016xo.fsf@mouse.gnus.org>> <> <<4087f726-f9e7-4bc5-a9b3-7d24d9b7f7c5@default>> <<2f469306-98d3-8735-4d0d-61aae53321d0@gmail.com>> <<8a8360df-afe2-4ae8-abac-96e7691f52a6@default>> <<27479297-ab97-106b-7325-5ac6ef5d0b92@gmail.com>> <<1981011f-2e19-4f4b-a7ac-8ccd15298b1a@default>> <<83k1cfy8mp.fsf@gnu.org>> <6251d2e2-5366-4c06-8c42-811d1aa7d5e3@default> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="221146"; mail-complaints-to="usenet@blaine.gmane.org" Cc: van@scratch.space, 36454@debbugs.gnu.org, mrsebastianurban@gmail.com, larsi@gnus.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 18 18:54:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ho9fU-000vO4-1C for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jul 2019 18:54:08 +0200 Original-Received: from localhost ([::1]:39822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho9fS-0008QF-L6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jul 2019 12:54:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44843) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho9fP-0008Q9-Pp for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 12:54:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ho9fO-0007Ef-Oi for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 12:54:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45763) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ho9fO-0007EQ-Kz for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 12:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ho9fO-0001xx-Ed for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 12:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jul 2019 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 36454-submit@debbugs.gnu.org id=B36454.15634688057502 (code B ref 36454); Thu, 18 Jul 2019 16:54:02 +0000 Original-Received: (at 36454) by debbugs.gnu.org; 18 Jul 2019 16:53:25 +0000 Original-Received: from localhost ([127.0.0.1]:54584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ho9en-0001wv-6Z for submit@debbugs.gnu.org; Thu, 18 Jul 2019 12:53:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ho9ek-0001wh-R4 for 36454@debbugs.gnu.org; Thu, 18 Jul 2019 12:53:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ho9ed-0006l7-C2; Thu, 18 Jul 2019 12:53:15 -0400 Original-Received: from [176.228.60.248] (port=4392 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ho9ec-0006SX-RS; Thu, 18 Jul 2019 12:53:15 -0400 In-reply-to: <6251d2e2-5366-4c06-8c42-811d1aa7d5e3@default> (message from Drew Adams on Thu, 18 Jul 2019 16:15:23 +0000 (UTC)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:163320 Archived-At: > Date: Thu, 18 Jul 2019 16:15:23 +0000 (UTC) > From: Drew Adams > Cc: mrsebastianurban@gmail.com, larsi@gnus.org, van@scratch.space, > 36454@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?