From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: "ctrl+shift+u codepoint enter" Date: Mon, 29 Apr 2019 09:25:25 +0200 Message-ID: <20190429072525.GC31993@tuxteam.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="228512"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 29 09:26:00 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 1hL0fj-000xAO-Fx for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Apr 2019 09:25:55 +0200 Original-Received: from localhost ([127.0.0.1]:53402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hL0fi-0005Rd-G2 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Apr 2019 03:25:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hL0fU-0005Kq-Ur for help-gnu-emacs@gnu.org; Mon, 29 Apr 2019 03:25:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hL0fR-0005pJ-6s for help-gnu-emacs@gnu.org; Mon, 29 Apr 2019 03:25:40 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:57138) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hL0fP-0005kz-NR for help-gnu-emacs@gnu.org; Mon, 29 Apr 2019 03:25:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=YpjIQu77O6Et/9tJMxgKw+YMzENRLJmOe4vn0Atno/s=; b=jG/dV4IKNa27hUfDSdxQXxrlgflCAIKsQMgKI/uT0NHR9USa3GBfuD6YIC3Ven+bFIoaldsYJeeilzWvew31WL2dC/Ba4CHYiq4+DCIuSEPrrv3/5UWCF1pBAJU+5lJxD0ituyZCxK9fUBUTMNQoyyLJOt5iJFpoSxeNX8HlQ3eiznglu/c4bFXiIJ/vsSzyeXDvUVlqj+AXd5nDPAvysTUwQdIaK/EXPF/XTQr9Ns14loXa+jHKbKPaiV2+4GZ9moHnO1R57cGXsVum6snjV6tpAmLDJ5DGvtz2CBeV46+YzdihHts7tAMO1MbBRvZCWNMXihc+ThTtbaX7cPwHGA==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1hL0fF-0008Sr-BD for help-gnu-emacs@gnu.org; Mon, 29 Apr 2019 09:25:25 +0200 Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 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:120093 Archived-At: --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 28, 2019 at 07:24:29PM -0400, Noam Postavsky wrote: > On Sun, 28 Apr 2019 at 17:46, Pierre-Henry F. wr= ote: >=20 > > Is there a way to make Emacs accept utf8 characters as other applicatio= ns do on linux using IBus? > > For example, `ctrl+shift+u 1642 enter` should be interpreted as the cha= racter `=E1=99=82` but is does not. > > How to make this happen? >=20 > Not sure about IBus, but you could try >=20 > (define-key global-map (kbd "C-S-u") 'insert-char) >=20 > (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". Can IBus do that? Cheers -- t --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlzGpuUACgkQBcgs9XrR2kaFuwCfTA/+w0BPB2lkb0QDyaalWjUE ns0An2zOyWyZPEx1uX/ncrpE/3Pd/3iJ =K0SL -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5--