From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#52860: Wishlist: Alternative keywords for emoji Date: Sat, 15 Jan 2022 11:56:38 +0100 Message-ID: <87r199uv15.fsf@gnus.org> References: <7aef38f0-c98f-a73f-0785-b18dcf35dff6@ntnu.no> 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="19479"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 52860@debbugs.gnu.org To: Tor Kringeland Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 15 11:58:19 2022 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 1n8glG-0004ql-S3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 11:58:18 +0100 Original-Received: from localhost ([::1]:46094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8glF-0007L6-LX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 05:58:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8gkB-0006eH-8u for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 05:57:11 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8gk2-0004dU-GZ for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 05:57:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8gk2-0002Rw-Em for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 05:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jan 2022 10:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52860 X-GNU-PR-Package: emacs Original-Received: via spool by 52860-submit@debbugs.gnu.org id=B52860.16422442149388 (code B ref 52860); Sat, 15 Jan 2022 10:57:02 +0000 Original-Received: (at 52860) by debbugs.gnu.org; 15 Jan 2022 10:56:54 +0000 Original-Received: from localhost ([127.0.0.1]:39193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8gju-0002RM-IS for submit@debbugs.gnu.org; Sat, 15 Jan 2022 05:56:54 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:48082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8gjq-0002R3-Bl for 52860@debbugs.gnu.org; Sat, 15 Jan 2022 05:56:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=4KRMJjuO9ZUqDPif1vCAnAsJ66Jcrh2Ywr5rJ3S14DA=; b=pFe3GeX2pdQL5CVQuTGQ9ri3w3 pxdE/SfrycESYI94zkXZz8OPLYtxntdd4o2r44ZUo9JgLep8GVkYVkg8/g+aXAsZRCHJ8m9/+gGSN 7JnGUa2IsN7g+yNmCThgiGFd0s/MPwVOLxe1VMCPxwFTHFdLoAEEu/dsVilee9/k/1bU=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8gjh-0003iE-7f; Sat, 15 Jan 2022 11:56:43 +0100 X-Now-Playing: Joni Mitchell's _Archives: The Early Years (5)_: "Songs To Aging Children Come" In-Reply-To: <7aef38f0-c98f-a73f-0785-b18dcf35dff6@ntnu.no> (Tor Kringeland's message of "Tue, 28 Dec 2021 22:30:41 +0100") 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:224286 Archived-At: Tor Kringeland writes: > It would be nice if Emacs had an option to specify an a-list > containing alternative keywords for given emoji. The car of an entry > would be an emoji and the cdr would be a list of alternative keywords. > Then these could been included when running `emoji-search' or in > possible future input methods. As an example, it could look like > > '(("=F0=9F=A4=97" "hug" "hugging" "kind")) > > The keywords need not be unique for the given emoji. I started implementing this, but the Emacs completion machinery really doesn't like having many completion alternatives that are "the same". I thought the Emacs completion machinery had grown support for this, but poking around, I can't find anything. So I've changed the completion to use "name\tglyph" when doing completion when emoji-alternate-names is non-nil, which is a bit clunkier, but... --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no