unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sebastian Urban <mrsebastianurban@gmail.com>
To: Drew Adams <drew.adams@oracle.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 20:59:06 +0200	[thread overview]
Message-ID: <2f469306-98d3-8735-4d0d-61aae53321d0@gmail.com> (raw)
In-Reply-To: <4087f726-f9e7-4bc5-a9b3-7d24d9b7f7c5@default>

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

On the other hand, while TAB searches through names, maybe just write
"alternative TAB", that will search through hex codes, and bind it to,
for example, 'S-TAB'?

> FWIW - For Emacs 23-25, Icicles supports your #1 and #2.

So this libraries somehow can distinguish "ffe" as part of hex code
from part of Unicode name?

> ... 4th kind of completion: You can enter a Unicode char itself
> (...), and you see both its Unicode name and its code point.

Well, there is 'what-cursor-position' and 'describe-char'... also
I would rather see this behaviour with 'describe-char' in a form of
minibuffer prompt, just like 'describe-face/function/variable', where
you can insert char, type RET, and get the description.

The rest of you message is, I think, outside of my beginner scope of
knowledge, so I'm going to leave it alone.


Again, I just wanted to point a way out from "wontfix" to "maybe" for
this request, by proposing an idea of separating Unicode name
completion from code completion.  The former would be for methods 1st
and 2nd, and the latter would be for 3rd method.





  reply	other threads:[~2019-07-15 18:59 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 [this message]
2019-07-15 19:29         ` Drew Adams
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=2f469306-98d3-8735-4d0d-61aae53321d0@gmail.com \
    --to=mrsebastianurban@gmail.com \
    --cc=36454@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=larsi@gnus.org \
    --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).