From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Pierre-Henry F." Newsgroups: gmane.emacs.help Subject: Re: "ctrl+shift+u codepoint enter" Date: Mon, 29 Apr 2019 20:06:44 +0000 Message-ID: <1guL2gFxB5d54ZtNNMcNqUAy0yb8UpYU8516KsWd3e36dJf0T4U6fUCKX6Mml7nDh3i6K0u4dHG9IpochTHXuyQm68vZ7jsf8TLKkghJqJQ=@phfrohring.com> References: <20190429072525.GC31993@tuxteam.de> Reply-To: "Pierre-Henry F." Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="128598"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "help-gnu-emacs@gnu.org" To: Damien Collard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 29 22:07:16 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hLCYW-000XKM-Aa for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Apr 2019 22:07:16 +0200 Original-Received: from localhost ([127.0.0.1]:34626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLCYV-0004up-7T for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Apr 2019 16:07:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLCY9-0004r2-H9 for help-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:06:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLCY8-00041u-FM for help-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:06:53 -0400 Original-Received: from mail1.protonmail.ch ([185.70.40.18]:34867) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hLCY7-00040o-Qx for help-gnu-emacs@gnu.org; Mon, 29 Apr 2019 16:06:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=protonmail; t=1556568409; bh=yhbls/QUx2aEQi8E/3HRUhRGOgJwv/gUU2T7tgsLWOA=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=hiPqgRiokhj0L1PwhFbi+GPSzdBKn9nvkWI6nx6qujAncU9FMTwv5BBfhSPeP//Lz mMeUYYvIB4OSOzqwEpO52Vw+zKL80gO4Xa0veWL5lcfmtYhWbbZmKLS+qA/l/nEiY/ JQdALvvENKxV2mjm37cVnrhUkOhWAJdpaV1z4BFU= In-Reply-To: Feedback-ID: _Lzes_iSzZ2LRVk_xyMx5xWw6ZoLt3IRHdljQsfgVkS4yMZOs71k44UMZewjpLINubKYQs_6ZkJ2RoefKLrkdA==:Ext:ProtonMail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.70.40.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:120104 Archived-At: =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Monday, April 29, 2019 9:16 PM, Damien Collard wrote: > On Lun, avr 29 2019, Stefan Monnier wrote: > > > > > > (Emacs' default binding for insert-char is C-x 8 RET). > > > > > With the neat feature that you don't have to hammer in the hex co= de, > > > > > but you can also start typing "smi" and TAB and you are offered a= ll > > > > > the codes whose Unicode name starts with SMI, from "SMILE" throug= h > > > > > "SMILING CAT FACE WITH HEART-SHAPED EYES" up to "SMIRKING FACE". > > > > > And if you use Helm, C-c h 8 (bound to `helm-ucs`) is like C-x 8 = RET but > > > > > also shows the characters themselves, not just their unicode name= s > > > > AFAIK `C-x 8 RET` also shows the characters themselves (next to their > > name). > > I stand corrected. On my config C-x 8 RET is handled by Helm too and > doesn't show the characters, I had forgotten the vanilla C-x 8 RET does. > > Damien Thank you all for your kind messages. So, here is where I got: (define-key global-map (kbd "C-S-u") 'insert-char) ;; Thanks for that! $ setxkbmap us at: https://github.com/qmk/qmk_firmware/blob/master/quantum/process_key= code/process_unicode_common.c#L109#L124 replace: `tap_code(KC_SPC);` with: `tap_code(KC_ENTER);` Compile & flash the thing; It works! Problem: I need `$ setxkbmap fr`. With `fr` everything breaks again...