From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tor Kringeland Newsgroups: gmane.emacs.bugs Subject: bug#52860: Wishlist: Alternative keywords for emoji Date: Tue, 28 Dec 2021 22:30:41 +0100 Message-ID: <7aef38f0-c98f-a73f-0785-b18dcf35dff6@ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28995"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 To: 52860@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 28 22:32:16 2021 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 1n2K4s-0007Pj-Ue for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Dec 2021 22:32:15 +0100 Original-Received: from localhost ([::1]:54180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2K4r-0004Yj-VZ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Dec 2021 16:32:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2K4g-0004Yb-MN for bug-gnu-emacs@gnu.org; Tue, 28 Dec 2021 16:32:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2K4g-0001yq-CO for bug-gnu-emacs@gnu.org; Tue, 28 Dec 2021 16:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2K4g-0005eb-A6 for bug-gnu-emacs@gnu.org; Tue, 28 Dec 2021 16:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tor Kringeland Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Dec 2021 21:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52860 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164072706621666 (code B ref -1); Tue, 28 Dec 2021 21:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Dec 2021 21:31:06 +0000 Original-Received: from localhost ([127.0.0.1]:47611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2K3l-0005dN-VC for submit@debbugs.gnu.org; Tue, 28 Dec 2021 16:31:06 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:55726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2K3k-0005dG-Ia for submit@debbugs.gnu.org; Tue, 28 Dec 2021 16:31:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2K3h-0004Mg-KX for bug-gnu-emacs@gnu.org; Tue, 28 Dec 2021 16:31:02 -0500 Original-Received: from mailgw101.it.ntnu.no ([129.241.56.177]:39622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2K3e-0001rS-RS for bug-gnu-emacs@gnu.org; Tue, 28 Dec 2021 16:31:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntnu.no; i=@ntnu.no; q=dns/txt; s=s1-1909-ntnu; t=1640727043; h=message-id : date : mime-version : to : from : subject : content-type : content-transfer-encoding : from; bh=U4/aniSz+c6bFpSGH6rAdPjoysxtYqsGiFgi1+ZrGAg=; b=tHDqi7rfxOVVKr6laDpdX6DJqXaTrh7twBfQXAkDxc+MwDFVbNimYmXYQqiKh753dUInf UxG2q5ub9GsRZMMt40O6GTBbLJpBCUycEbgrta/ymQTbincMUbBUGVFZU34PaRHHfOfiy8P Zy6k56MqTXVVybip+Z+hRuDQAFsN3TqBZsW8J78E4SUzwRMVt/IfGdgfNrEA+ZAhsbijtLX ZzFNLAy7Wr1vSkR2wkTVAMmTqwssUi/M+pxwEwCzIlM/sHnMFECd6oARc0/Wd93JfpGdXLa JkxdSlwXIhb4L/qSXOAizVT7DabqDCQdfvn1n9wLWvSxOmug0paouKgfDBZg== Original-Received: from localhost (localhost [127.0.0.1]) by mailgw101.it.ntnu.no (Postfix) with ESMTP id 496201DE3A3D for ; Tue, 28 Dec 2021 22:30:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw101.it.ntnu.no Original-Received: from mailgw101.it.ntnu.no ([127.0.0.1]) by localhost (mailgw101.it.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vFPHxGTAor7r for ; Tue, 28 Dec 2021 22:30:43 +0100 (CET) Original-Received: from [10.1.1.216] (unknown [91.219.215.154]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: takringe) by mailgw101.it.ntnu.no (Postfix) with ESMTPSA id C5D661DE3A2D for ; Tue, 28 Dec 2021 22:30:42 +0100 (CET) Content-Language: nn-NO Received-SPF: pass client-ip=129.241.56.177; envelope-from=tor.a.s.kringeland@ntnu.no; helo=mailgw101.it.ntnu.no X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:223289 Archived-At: Since the default emoji names are rather bland, it's common for platforms to implicitly include alternative keywords for popular emoji. For example, the name of 🤗 is "smiling face with open hands", but something like "hug" makes more sense when searching for it. 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 '(("🤗" "hug" "hugging" "kind")) The keywords need not be unique for the given emoji. There are some efforts to crowdsource keywords for emoji. One is [1] (see also raw file [2]). I think it makes more sense to only have an option and let the user specify the keywords he wants. - [1] https://github.com/muan/emojilib - [2] https://raw.githubusercontent.com/muan/emojilib/main/dist/emoji-en-US.json