From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: C-= ? Date: Sun, 19 Jul 2015 15:15:04 +0600 Message-ID: References: <87oaj99v18.fsf@skimble.plus.com> <20150719011508.19549.09878E5B@ahiker.mooo.com> <87mvysva7p.fsf@nl106-137-147.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1437297347 20337 80.91.229.3 (19 Jul 2015 09:15:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jul 2015 09:15:47 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 19 11:15:46 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZGkhF-0002MT-HL for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Jul 2015 11:15:45 +0200 Original-Received: from localhost ([::1]:50837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGkhE-0007rl-Iu for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Jul 2015 05:15:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGkgx-0007rg-Mr for help-gnu-emacs@gnu.org; Sun, 19 Jul 2015 05:15:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZGkgw-0001PX-Hz for help-gnu-emacs@gnu.org; Sun, 19 Jul 2015 05:15:27 -0400 Original-Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]:34035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGkgw-0001P9-7A for help-gnu-emacs@gnu.org; Sun, 19 Jul 2015 05:15:26 -0400 Original-Received: by lbbzr7 with SMTP id zr7so80345898lbb.1 for ; Sun, 19 Jul 2015 02:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=7DrqYVWFMBHxvSUkSndTdAevKKT9N6nXZUYf2vndWfw=; b=y4AZAGL8NAI8J7NoNooULVhgH7cycyD+xypdYw/XjiAhj5cRxGsuUNR8C93XT6MNlX +jgDvvQRFRzkminJnt1ZHfUu+NPaiF8iDw+KgjFUGalazPWDJfz8d36FQNKbgz3AWLrp CsAneMC64BnlFUrvLXrRkUSgxNWhvxSjSnSrIb/YSvD6XGtjg4/L8M9IeHXJmsHS3/Ek X48LuyfuIPx5hSKffMQm994UCySiW1Wt3oLV+FJqzyEvtVdrJ/SpnedB4qIWLs9JH9wg AYaRwcRkJPKTmG0e0wr0x+Y9piVcCj9dca8w6qJDHEZHabeLt627kQ7UxMHlqjSr4QkG aeWA== X-Received: by 10.152.7.7 with SMTP id f7mr22453059laa.106.1437297324336; Sun, 19 Jul 2015 02:15:24 -0700 (PDT) Original-Received: by 10.25.8.202 with HTTP; Sun, 19 Jul 2015 02:15:04 -0700 (PDT) In-Reply-To: <87mvysva7p.fsf@nl106-137-147.student.uu.se> X-Google-Sender-Auth: 35yXeUWPNPrq_I2b9Tt_xMZG2k8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::233 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105843 Archived-At: On Sun, Jul 19, 2015 at 2:10 PM, Emanuel Berg wrot= e: > control keycode 11 =3D U+0110 > > This syntax reads: assign the shortcut C-0 (in Emacs > notation; remember showkey has told us '0 =3D 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=E2=80=99s the Unicode equivalent of RFC 1918 IP addresses =E2=80=94 guaranteed to nev= er 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 =E2=80=9CMy =C4=90 key suddenly stopped working and instead of inserting th= e letter as it=E2=80=99s supposed to, it throws me into a different buffer=E2=80=9D= =E2=80=A6 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.