unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Pierre-Henry F." <contact@phfrohring.com>
To: Damien Collard <damien.collard@distfp.net>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: "ctrl+shift+u codepoint enter"
Date: Mon, 29 Apr 2019 20:06:44 +0000	[thread overview]
Message-ID: <1guL2gFxB5d54ZtNNMcNqUAy0yb8UpYU8516KsWd3e36dJf0T4U6fUCKX6Mml7nDh3i6K0u4dHG9IpochTHXuyQm68vZ7jsf8TLKkghJqJQ=@phfrohring.com> (raw)
In-Reply-To: <m2v9ywd3kw.fsf@gandi.net>

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, April 29, 2019 9:16 PM, Damien Collard <damien.collard@distfp.net> 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 code,
> > > > > but you can also start typing "smi" and TAB and you are offered all
> > > > > the codes whose Unicode name starts with SMI, from "SMILE" through
> > > > > "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 names
> >
> > 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_keycode/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...










  reply	other threads:[~2019-04-29 20:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-28 21:35 "ctrl+shift+u codepoint enter" Pierre-Henry F.
2019-04-28 23:24 ` Noam Postavsky
2019-04-29  7:25   ` tomas
2019-04-29  7:31     ` Pierre-Henry F.
2019-04-29  8:00     ` Damien Collard
2019-04-29  9:06       ` Joost Kremers
2019-04-29 17:58       ` Stefan Monnier
2019-04-29 18:13         ` Noam Postavsky
2019-04-29 18:29           ` Stefan Monnier
2019-04-29 19:16         ` Damien Collard
2019-04-29 20:06           ` Pierre-Henry F. [this message]
2019-05-06  3:47 ` Dan Sommers

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='1guL2gFxB5d54ZtNNMcNqUAy0yb8UpYU8516KsWd3e36dJf0T4U6fUCKX6Mml7nDh3i6K0u4dHG9IpochTHXuyQm68vZ7jsf8TLKkghJqJQ=@phfrohring.com' \
    --to=contact@phfrohring.com \
    --cc=damien.collard@distfp.net \
    --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.
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).