unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
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: Mon, 15 Jul 2019 12:29:04 -0700 (PDT)	[thread overview]
Message-ID: <8a8360df-afe2-4ae8-abac-96e7691f52a6@default> (raw)
In-Reply-To: <2f469306-98d3-8735-4d0d-61aae53321d0@gmail.com>

> > There's no problem with allowing completion against both char names
> > and hex code points.
> 
> Well I think there may be - how do you distinguish "ffe" as part of
> hex code from Unicode name ("GIRAFFE FACE") or "20" as part of hex
> code from Unicode name "EGYPTIAN HIEROGLYPH A020"?  With method 1. or
> 2., i.e. just typing name or hex code, you can't, and only one type of
> completion can be made - Unicode name, because it's probably more
> reasonable.  And this is why I proposed to make hex (or any other)
> code completion available through 3rd method.

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.

The completion candidates need to be, _in effect_,
the concatenation of the char name and the code point.

(I wrote: "But of course you'll want to use a
substring completion style.")





  reply	other threads:[~2019-07-15 19:29 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 [this message]
2019-07-17 17:20           ` Sebastian Urban
2019-07-17 21:34             ` Drew Adams
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=8a8360df-afe2-4ae8-abac-96e7691f52a6@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).