From: Drew Adams <drew.adams@oracle.com>
To: Sebastian Urban <mrsebastianurban@gmail.com>,
Lars Ingebrigtsen <larsi@gnus.org>, VanL <van@scratch.space>
Cc: 36454@debbugs.gnu.org
Subject: bug#36454: 26.2.90; feature request - Insert char by hex tab completion or C-x 8 RET ffe <TAB>
Date: Wed, 17 Jul 2019 21:34:36 +0000 (UTC) [thread overview]
Message-ID: <1981011f-2e19-4f4b-a7ac-8ccd15298b1a@default> (raw)
In-Reply-To: <27479297-ab97-106b-7325-5ac6ef5d0b92@gmail.com>
> > You don't need to distinguish them. You don't
> > care which part matches "ffe" or "20". You
> > don't even care if both name and code point
> > should happen to match the same pattern. All
> > you care about is being able to match the info
> > about the char: its name or code point.
>
> So, after I type "ffe" and press TAB, it should look through names and
> codes at the same time, and present completion candidates for both at
> the same time, for example I'll get "↑ ffea" and "GIRAFFE FACE" in the
> same window above?
>
> Because, if yes, then user may get a lot of results, as it was pointed
> out before.
Have you tried it?
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.
Completion of `ffe' gives this (using Emacs 23 for this;
no GIRAFFE):
____
DIFFERENCE BETWEEN 224F ≏
FULLWIDTH BROKEN BAR FFE4 ¦
FULLWIDTH BROKEN VERTICAL BAR FFE4 ¦
FULLWIDTH CENT SIGN FFE0 ¢
FULLWIDTH MACRON FFE3  ̄
FULLWIDTH NOT SIGN FFE2 ¬
FULLWIDTH POUND SIGN FFE1 £
FULLWIDTH SPACING MACRON FFE3  ̄
FULLWIDTH WON SIGN FFE6 ₩
FULLWIDTH YEN SIGN FFE5 ¥
GREEK DASIA 1FFE ῾
HALFWIDTH BLACK SQUARE FFED ■
HALFWIDTH DOWNWARDS ARROW FFEC ↓
HALFWIDTH FORMS LIGHT VERTICAL FFE8 │
HALFWIDTH LEFTWARDS ARROW FFE9 ←
HALFWIDTH RIGHTWARDS ARROW FFEB →
HALFWIDTH UPWARDS ARROW FFEA ↑
HALFWIDTH WHITE CIRCLE FFEE ○
HANGUL SYLLABLE BBWEOJ BFFE 뿾
HANGUL SYLLABLE GGWELP AFFE 꿾
HANGUL SYLLABLE KWEOGG CFFE 쿾
MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL 1D74F 𝝏
MATHEMATICAL BOLD PARTIAL DIFFERENTIAL 1D6DB 𝛛
MATHEMATICAL ITALIC PARTIAL DIFFERENTIAL 1D715 𝜕
MATHEMATICAL SANS-SERIF BOLD ITALIC PARTIAL DIFFERENTIAL 1D7C3 𝟃
MATHEMATICAL SANS-SERIF BOLD PARTIAL DIFFERENTIAL 1D789 𝞉
PARTIAL DIFFERENTIAL 2202 ∂
____
The overlaps are for 7 char names and 20 code points.
If you were completing _separately_ against only char
names you would still have 7 candidates. If against
only code points you would still have 20 candidates.
With both together you have 27.
If you typed `iffe' you'd get just 6 (char-name)
candidates. If you typed `ffea' you'd get just the
char named `HALFWIDTH UPWARDS ARROW'.
[If you typed `[0-9a-f]ffe\|ffe[0-9a-f]' (with
regexp matching) you'd get only the 20 code-point
matches.]
Most char-name chars are not hex chars. And most
hex-char combinations don't occur in char names.
And those that do occur in both typically don't
occur in many char names.
____
Of course it helps if you can match against multiple
regexps, progressively, as you see the results of
each match, to narrow the set incrementally. Seeing
the 27 initial matches, typing another (separate)
pattern of, say, `bet' would immediately get you
only candidate `DIFFERENCE BETWEEN 224F ≏'.
____
https://www.emacswiki.org/emacs/Icicles_-_Progressive_Completion
next prev parent reply other threads:[~2019-07-17 21:34 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-01 2:39 bug#36454: 26.2.90; feature request - Insert char by hex tab completion or C-x 8 RET ffe <TAB> VanL
2019-07-08 22:45 ` Lars Ingebrigtsen
2019-07-15 8:34 ` Sebastian Urban
2019-07-15 16:03 ` Drew Adams
2019-07-15 18:59 ` Sebastian Urban
2019-07-15 19:29 ` Drew Adams
2019-07-17 17:20 ` Sebastian Urban
2019-07-17 21:34 ` Drew Adams [this message]
2019-07-18 9:50 ` Eli Zaretskii
[not found] <<m2o92elbqy.fsf@scratch.space>
[not found] ` <<87r27016xo.fsf@mouse.gnus.org>
[not found] ` <<b2238b0a-006f-945e-0eab-4bab7e58378a@gmail.com>
[not found] ` <<4087f726-f9e7-4bc5-a9b3-7d24d9b7f7c5@default>
[not found] ` <<2f469306-98d3-8735-4d0d-61aae53321d0@gmail.com>
[not found] ` <<8a8360df-afe2-4ae8-abac-96e7691f52a6@default>
[not found] ` <<27479297-ab97-106b-7325-5ac6ef5d0b92@gmail.com>
[not found] ` <<1981011f-2e19-4f4b-a7ac-8ccd15298b1a@default>
[not found] ` <<83k1cfy8mp.fsf@gnu.org>
2019-07-18 16:15 ` Drew Adams
2019-07-18 16:53 ` Eli Zaretskii
[not found] <<<m2o92elbqy.fsf@scratch.space>
[not found] ` <<<87r27016xo.fsf@mouse.gnus.org>
[not found] ` <<<b2238b0a-006f-945e-0eab-4bab7e58378a@gmail.com>
[not found] ` <<<4087f726-f9e7-4bc5-a9b3-7d24d9b7f7c5@default>
[not found] ` <<<2f469306-98d3-8735-4d0d-61aae53321d0@gmail.com>
[not found] ` <<<8a8360df-afe2-4ae8-abac-96e7691f52a6@default>
[not found] ` <<<27479297-ab97-106b-7325-5ac6ef5d0b92@gmail.com>
[not found] ` <<<1981011f-2e19-4f4b-a7ac-8ccd15298b1a@default>
[not found] ` <<<83k1cfy8mp.fsf@gnu.org>
[not found] ` <<6251d2e2-5366-4c06-8c42-811d1aa7d5e3@default>
[not found] ` <<831rynwah9.fsf@gnu.org>
2019-07-18 20:44 ` Drew Adams
2019-07-19 6:41 ` Eli Zaretskii
2019-07-19 23:07 ` Richard Stallman
2019-07-20 8:04 ` VanL
[not found] <<<<m2o92elbqy.fsf@scratch.space>
[not found] ` <<<<87r27016xo.fsf@mouse.gnus.org>
[not found] ` <<<<b2238b0a-006f-945e-0eab-4bab7e58378a@gmail.com>
[not found] ` <<<<4087f726-f9e7-4bc5-a9b3-7d24d9b7f7c5@default>
[not found] ` <<<<2f469306-98d3-8735-4d0d-61aae53321d0@gmail.com>
[not found] ` <<<<8a8360df-afe2-4ae8-abac-96e7691f52a6@default>
[not found] ` <<<<27479297-ab97-106b-7325-5ac6ef5d0b92@gmail.com>
[not found] ` <<<<1981011f-2e19-4f4b-a7ac-8ccd15298b1a@default>
[not found] ` <<<<83k1cfy8mp.fsf@gnu.org>
[not found] ` <<<6251d2e2-5366-4c06-8c42-811d1aa7d5e3@default>
[not found] ` <<<831rynwah9.fsf@gnu.org>
[not found] ` <<af7417e0-bf8e-4400-a501-71dcb499565b@default>
[not found] ` <<83wogev83t.fsf@gnu.org>
2019-07-19 14:38 ` Drew Adams
2019-07-19 14:57 ` Eli Zaretskii
[not found] <<<<<m2o92elbqy.fsf@scratch.space>
[not found] ` <<<<<87r27016xo.fsf@mouse.gnus.org>
[not found] ` <<<<<b2238b0a-006f-945e-0eab-4bab7e58378a@gmail.com>
[not found] ` <<<<<4087f726-f9e7-4bc5-a9b3-7d24d9b7f7c5@default>
[not found] ` <<<<<2f469306-98d3-8735-4d0d-61aae53321d0@gmail.com>
[not found] ` <<<<<8a8360df-afe2-4ae8-abac-96e7691f52a6@default>
[not found] ` <<<<<27479297-ab97-106b-7325-5ac6ef5d0b92@gmail.com>
[not found] ` <<<<<1981011f-2e19-4f4b-a7ac-8ccd15298b1a@default>
[not found] ` <<<<<83k1cfy8mp.fsf@gnu.org>
[not found] ` <<<<6251d2e2-5366-4c06-8c42-811d1aa7d5e3@default>
[not found] ` <<<<831rynwah9.fsf@gnu.org>
[not found] ` <<<af7417e0-bf8e-4400-a501-71dcb499565b@default>
[not found] ` <<<83wogev83t.fsf@gnu.org>
[not found] ` <<9ad40946-43b5-440c-958d-35da10ab2669@default>
[not found] ` <<831rymul58.fsf@gnu.org>
2019-07-19 15:30 ` Drew Adams
2019-07-19 20:12 ` Sebastian Urban
2019-07-20 7:10 ` Eli Zaretskii
2019-07-20 13:28 ` Lars Ingebrigtsen
2019-07-20 14:36 ` Sebastian Urban
2019-07-20 15:54 ` Eli Zaretskii
[not found] <<<<<<m2o92elbqy.fsf@scratch.space>
[not found] ` <<<<<<87r27016xo.fsf@mouse.gnus.org>
[not found] ` <<<<<<b2238b0a-006f-945e-0eab-4bab7e58378a@gmail.com>
[not found] ` <<<<<<4087f726-f9e7-4bc5-a9b3-7d24d9b7f7c5@default>
[not found] ` <<<<<<2f469306-98d3-8735-4d0d-61aae53321d0@gmail.com>
[not found] ` <<<<<<8a8360df-afe2-4ae8-abac-96e7691f52a6@default>
[not found] ` <<<<<<27479297-ab97-106b-7325-5ac6ef5d0b92@gmail.com>
[not found] ` <<<<<<1981011f-2e19-4f4b-a7ac-8ccd15298b1a@default>
[not found] ` <<<<<<83k1cfy8mp.fsf@gnu.org>
[not found] ` <<<<<6251d2e2-5366-4c06-8c42-811d1aa7d5e3@default>
[not found] ` <<<<<831rynwah9.fsf@gnu.org>
[not found] ` <<<<af7417e0-bf8e-4400-a501-71dcb499565b@default>
[not found] ` <<<<83wogev83t.fsf@gnu.org>
[not found] ` <<<9ad40946-43b5-440c-958d-35da10ab2669@default>
[not found] ` <<<831rymul58.fsf@gnu.org>
[not found] ` <<d43cf089-0c6d-4525-b29a-d83d50b0c2a1@default>
[not found] ` <<b6ebc36d-10f8-6cde-a4bf-a93876b98bfb@gmail.com>
[not found] ` <<83v9vxtc52.fsf@gnu.org>
2019-07-20 16:35 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1981011f-2e19-4f4b-a7ac-8ccd15298b1a@default \
--to=drew.adams@oracle.com \
--cc=36454@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=mrsebastianurban@gmail.com \
--cc=van@scratch.space \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).