all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: C-= ?
Date: Sun, 19 Jul 2015 15:15:04 +0600	[thread overview]
Message-ID: <CAP_d_8WAAzHf+dWiuj+QinXdAqxcrORuoqSP2yjD6yKM4yvDTg@mail.gmail.com> (raw)
In-Reply-To: <87mvysva7p.fsf@nl106-137-147.student.uu.se>

On Sun, Jul 19, 2015 at 2:10 PM, Emanuel Berg <embe8573@student.uu.se> wrote:

>     control keycode 11 = U+0110
>
> This syntax reads: assign the shortcut C-0 (in Emacs
> notation; remember showkey has told us '0 = 11') so
> that when pressed, insert the char which has Unicode
> U+0110. (That char turns out a diamond in the ttys, so
> it must be something fancy that we will never need for
> anything else.)
>
> The Unicode (the particular code, i.e. U+0110) is
> arbitrary in the sense it doesn't matter what it is as
> long as the char isn't in use already. Make it exotic.
> When you have found one exotic char, it is easy to
> find more just by adding or subtracting one for each
> shortcut you add. It is the hexadecimal system.

If you are going to recommend people to hijack arbitrary Unicode
characters for extended keycodes, at least tell them to pick codes
from the Private Use Area (U+E000 up to and including U+F8FF). It’s
the Unicode equivalent of RFC 1918 IP addresses — guaranteed to never
have an official meaning.

You personally might not have any use for the Latin capital letter D
with stroke. But when someone from Vietnam comes around and complains
“My Đ key suddenly stopped working and instead of inserting the letter
as it’s supposed to, it throws me into a different buffer”…


Better yet, design a complete, unambiguous, international-friendly and
backward-compatible keycode system and lobby for its support
out-of-the-box in the Linux tty and Xterm.



  reply	other threads:[~2015-07-19  9:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-18 18:32 C-= ? Sharon Kimble
2015-07-18 19:28 ` Emanuel Berg
2015-07-18 19:33 ` Dmitry Gutov
2015-07-19  1:26 ` Ian Zimmerman
2015-07-19  8:10   ` Emanuel Berg
2015-07-19  9:15     ` Yuri Khan [this message]
2015-07-19 23:14       ` Emanuel Berg
     [not found]       ` <mailman.7163.1437348015.904.help-gnu-emacs@gnu.org>
2015-07-20  2:47         ` Rusi
2015-07-19  3:37 ` Vaidheeswaran C

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP_d_8WAAzHf+dWiuj+QinXdAqxcrORuoqSP2yjD6yKM4yvDTg@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.