From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#43866: 26.3; italian postfix additions Date: Wed, 21 Oct 2020 10:11:55 +0200 Message-ID: References: <83tuv47vkn.fsf@gnu.org> <87ft6igdzi.fsf@mail.linkov.net> <837drt1qta.fsf@gnu.org> <874kmx443u.fsf@mail.linkov.net> <83k0vszw0e.fsf@gnu.org> <87d01kvbnj.fsf@mail.linkov.net> <83wnzsxln9.fsf@gnu.org> <87wnzmgd1f.fsf@mail.linkov.net> <83mu0hng0d.fsf@gnu.org> <87a6wgadx8.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20639"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43866@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 21 10:13:31 2020 Return-path: Envelope-to: geb-bug-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 1kV9FS-0005HG-Pq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Oct 2020 10:13:30 +0200 Original-Received: from localhost ([::1]:41994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kV9FR-0000zL-Sd for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Oct 2020 04:13:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kV9F1-0000wq-8J for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 04:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kV9F0-0001hf-VL for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 04:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kV9F0-0001Hf-R5 for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 04:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Oct 2020 08:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43866 X-GNU-PR-Package: emacs Original-Received: via spool by 43866-submit@debbugs.gnu.org id=B43866.16032679254828 (code B ref 43866); Wed, 21 Oct 2020 08:13:02 +0000 Original-Received: (at 43866) by debbugs.gnu.org; 21 Oct 2020 08:12:05 +0000 Original-Received: from localhost ([127.0.0.1]:47768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kV9E5-0001Fn-49 for submit@debbugs.gnu.org; Wed, 21 Oct 2020 04:12:05 -0400 Original-Received: from mail-wr1-f53.google.com ([209.85.221.53]:38478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kV9E3-0001FD-EF for 43866@debbugs.gnu.org; Wed, 21 Oct 2020 04:12:03 -0400 Original-Received: by mail-wr1-f53.google.com with SMTP id n18so1939771wrs.5 for <43866@debbugs.gnu.org>; Wed, 21 Oct 2020 01:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=dntPjUKvq+Z1ZLN2LDxSPvrXTwpRQQA4hHhodat5DMY=; b=Q8tTVUyJqq2h6ZU5l+9n7X3N+SzqA4wVY8OtHUYkGpAtd8BbQuJ0eFR3F0511FwdAP ByD0LBN46gUu3cNS/7k1goKUOEdSLiO4K3YuXI8zsUDWKS1yF2oqip9bTIEZkahRRifB vKmbGE9tueRQkyKBESEKZv+LSjFpUdu+kq87cUeqylhvvkvzzlFhAkKr5A1CJ6q0vwLG dUBEAyHo2sy01YtUPYWdst6LI0x3jp/JsSrmMeytpEPEpRx2XzixZSQediwzXsviCTuZ W+ypuFN301kLEMEEXCZhyabPmInH+tdw9jA/MO87+Zv1WxCCVveVB3G4vq1Mxi1QV0wx 4P9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=dntPjUKvq+Z1ZLN2LDxSPvrXTwpRQQA4hHhodat5DMY=; b=pCmODMRdug2ZaRkZ8/BSZNXq/Wrgx49e2gjKPZ36OO1FykvNwC9YjktmxuY4F1vpAo TYKBX1OyZABx1RciJBBpiwj8Uhib0txvtr0+EVpW6/4Z9o3faqHHGH3se0pK91v+iWhQ sZGS+SnybsLJKVovHCfCaZHC7FjVlt73b9NMKxIsYPw24XUfTG8b2zbHMSVSG2jMovN2 XoZ/GcaZg6+sNwXdGaV6mZ/swkPnA7rg326gSKzUdmUaDEG+Jqpf8pLXsSDqD8WuUuvr Dv1/p2M1uMqk9l3EGSh+eq6mE7D2G9rsdI0zTZrFbp4vQRfyJuEiut9UjDmCqPUuni5v 7Gtg== X-Gm-Message-State: AOAM531Dwo1yWfkDa+4XZLjTBSJRsDkgTwbBR1z02SdkMIzlf2rSjLsL aAGIybiTbdKnLcOqM6mBGABxfeqJaHk= X-Google-Smtp-Source: ABdhPJxjUzW7pEZgWuy3IGohMZ3PN4DaAr35hTvsA/SgBhKqv/CLQyCNyvWxRwOu1qM83OMNfQv9gQ== X-Received: by 2002:a5d:4c8d:: with SMTP id z13mr3207827wrs.412.1603267917141; Wed, 21 Oct 2020 01:11:57 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:809c:499f:bf60:772e]) by smtp.gmail.com with ESMTPSA id u195sm2109271wmu.18.2020.10.21.01.11.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 01:11:56 -0700 (PDT) In-Reply-To: <87a6wgadx8.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 20 Oct 2020 22:05:31 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191148 Archived-At: >>>>> On Tue, 20 Oct 2020 22:05:31 +0300, Juri Linkov sai= d: >> The implementation seems to rely on a file in the /usr/include tree >> that might not be there. This is a significant disadvantage, IMO. = It >> means that, unlike all other similar facilities in Emacs, this one is >> not self-contained. >>=20 >> Is it possible to lift this limitation? Juri> Yes, this is easy to do. But I have one problem: Juri> /usr/share/X11/locale/en_US.UTF-8/Compose contains 83 lines Juri> where a key sequence maps to 2 characters, not to 1 character, e.= g. Juri> : "=D1=83=CC=81" # CYRILLIC SM= ALL LETTER U WITH COMBINING ACUTE ACCENT Juri> where "=D1=83=CC=81" is 2 characters: CYRILLIC SMALL LETTER U and= COMBINING ACUTE ACCENT. Juri> iso-transl.el maps a key sequence to a single character only using Juri> (define-key map (apply 'vector '(?' ?=D1=83)) (vector ?=D1=83)) Juri> I don't know how to map a key sequence to 2 characters. Juri> When trying to map to 2 characters ?=D1=83 and ?=CC=81 : Juri> (define-key map (apply 'vector '(?' ?=D1=83)) (vector ?=D1=83 ?= =CC=81 )) Juri> typing 'y inserts only the last character ?=CC=81 , not both ?=D1= =83 and ?=CC=81 . Can=CA=BCt you pass a string containing ?y and ?=CC=81 as the last argument= to define-key? (although you might want to use the ?\N{NAME} or ?\uXXXX syntax to stop Emacs combining that U+0301 with the question mark) Robert --=20