From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How to extend the ctl-x 8 map? Date: Mon, 02 Jan 2023 05:24:19 +0200 Message-ID: <83fsct39gc.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18786"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 02 04:24:58 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pCBRZ-0004fP-M0 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 02 Jan 2023 04:24:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCBQt-0005Ej-JV; Sun, 01 Jan 2023 22:24:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCBQs-0005EN-FG for help-gnu-emacs@gnu.org; Sun, 01 Jan 2023 22:24:14 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCBQs-0000n3-7A for help-gnu-emacs@gnu.org; Sun, 01 Jan 2023 22:24:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=UWzq/eOGfxkmErbBd4sbN4fViaRm7tZmWEPOYPcqXXk=; b=OW/dlT3YTYwUr+cBgYOy IauUpvSWlrmjueJrm2abubBofmIFLVb3QxOcw2pPh/PBSpN4RAhCIf6tDS3kvpvIVDsWzvcjI8Gxt F02uQKUe4OFkDwRQJSmPly4D3GLT+3E/qlOIEahgwyoALFmqzYTH/r4uxZnekzeQQLSqgnzLXZD44 aiwj3fUmFVF6N+Rh2daAmNzxJ29y4gkfHlHjfWIEzfsExq1q16SemWy7/JbCuRhToWhoKlBX39Yoo /sdi7ppLe+4QkeIiuOm8FNK5oDHXgX3rIIhauadDbTf48hWtW57WqEI0MCVNsb8h7DYtuKyjLF2iN wCPKm9rd8NcAyQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCBQr-0007z6-Fm for help-gnu-emacs@gnu.org; Sun, 01 Jan 2023 22:24:13 -0500 In-Reply-To: (message from Skip Montanaro on Sun, 1 Jan 2023 14:34:39 -0600) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142089 Archived-At: > From: Skip Montanaro > Date: Sun, 1 Jan 2023 14:34:39 -0600 > > > I found myself at a loss to type Ł characters in an email today. I realize > > I can type CTL-X 8 RET and enter the Unicode phrase corresponding to that > > letter (which I didn't know), but would like something a bit less > > verbose, like CTL-X 8 / L. I see an iso-spanish function in iso-cvt.el and > > corresponding translation table, but don't understand how it's involved (if > > at all) with the CTL-X 8 keymap stuff. Does someone have an example of > > extending the reach of that keymap? > > > > After a bit more reading, I think I figured it out. iso-cvt.el isn't > involved at all, but iso-transl.el is. I came up with the following in my > init.el file: I'm not sure I understand why you need this in your init.el. I can type "C-x 8 / l" and get ł without any customization. What version of Emacs are you using?