From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#52605: [PATCH] Add isearch-emoji-by-name Date: Sun, 19 Dec 2021 12:47:48 +0100 Message-ID: References: <83lf0hag05.fsf@gnu.org> <83fsqp9jbk.fsf@gnu.org> Reply-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= 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="33177"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) Cc: 52605@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 19 12:48:32 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 1myug3-0008Tx-8M for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Dec 2021 12:48:31 +0100 Original-Received: from localhost ([::1]:35910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myug1-0004eg-HY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Dec 2021 06:48:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myufa-0004de-Pj for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 06:48:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myufa-0003LX-GZ for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 06:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myufa-0002tf-FT for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 06:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Dec 2021 11:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52605 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52605-submit@debbugs.gnu.org id=B52605.163991448011118 (code B ref 52605); Sun, 19 Dec 2021 11:48:02 +0000 Original-Received: (at 52605) by debbugs.gnu.org; 19 Dec 2021 11:48:00 +0000 Original-Received: from localhost ([127.0.0.1]:44965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myufY-0002tE-0M for submit@debbugs.gnu.org; Sun, 19 Dec 2021 06:48:00 -0500 Original-Received: from sonic309-24.consmr.mail.ir2.yahoo.com ([77.238.179.82]:39460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myufW-0002sQ-Il for 52605@debbugs.gnu.org; Sun, 19 Dec 2021 06:47:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1639914472; bh=JnUu9KVBqHYkrV8WfwzvHp9Q/Yl8wavR6G5Pgcrtm+w=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=eVhu+ngdjqReS5VfLqIhfm4zfsK1B5g4G7A7zonryFqiyfbFIGQtAAdI3KMcREcTELuwxKifjZ5bY5d8IatKkzqo/2dW6H3v0gFmIrC4nKM3rRV0DtBEbRcTW0J4w14jcVO70NoyWcsz8CJY7DscGEhgRd0Cz/wRDXEYOL1rlSqSriEYsZMCmQwrqZ3HKJ8U2WNF/IFtRp8rAGLeMojVhZXwGDkcsBSb+5MZuVEVmLmHgwW1UIwyvUago1G0ePaKtf6M86k1z6hiL6hbLiCHZibOH0HS/iWAzPtwRV07jbMhpu1AmWAy320lL1Gy4t1k2qvSj+HRQw35zUi2dWSY+Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639914472; bh=cVgExwSGnKN4E6Ec6GehMtl0zQ5SohGQeo7yFD8oFF5=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=M05g6a0kh2svxUT9YU9MuIC7/+4Cd5fM0lEjThkNJgukaH5CwJ0Kd/788PGreeEQfXaNXJz69bycZEK02bR3cdkqGU5VYSypc/3GQCI8dmFX4EYjia6Z/DcMeJYt9tkCnLaBPIPywc64iAfcaxyCcZCF80v1gl0TP3IZ4IFSSKBeF67AKyLye8h+wY5gFXPHS4agVY5aeTkFelvAMd3WNTHXzUgXgRdp+FAbipxX1QQO36pSRD1kdZ3hG3Kt93332j1nCULmjfjwtiYRJ5GtWE+kiUAHNZxltCeI3CygS2UZ4E0rWyYOzBuzRUKIGB7MzJrlDyi6Vm5b/hARay1oWg== X-YMail-OSG: NkV5AYYVM1lbkUx3OOE3pKdb2T5aTfyrA.gzloV29fn22KlbHnyKK7jRYAcaDaM 5788PS2wCwERSsFZSqn74GJKcnWnqOaMr6X4Omg6G3ciKZOFKjI0c8SA26XJhrjX5hBHQG1OPalJ ULb7iCSG7Q7mKLO.1Soab3cwzrcvaaNfnJd4uXhjAyeO8JsNYpG8yAT_8mvtybPSax5fwB6M.lYT _8XqGIszXxBVyNaO874eVaS3W4X2huIWFNOL4kEzLlpJCzESH6trMJDLihg4Q_sdOdzyEtfjcbv5 VWQY47a4a5vBTS4cHMXpZmBXxuX5r.rWZa9_tQP1tMX13iionOicANVR4lNY9LQvJB6ObRmsR8K1 NU4S4zZqQ3zZgOo_P9S6miUCLm0WNwYnpdP.0Js5rZVBqnwegps6UfUELLyJN.tjSMogRMeaf.Ji Kg8GjUzIrjn7P_F9R.3DscmzqHxYLi2niOIcV9ezCJwBR_pVBEQMXRTE6s.yUMFG6QvF5cHchrYS Hw3zb96idarxXSZ1Qi0TiOOWOhfJq10C6MqwN1V1L00gxVCvd7OdxAGowCHTLtdGYcvZeiU56kf_ LB2HnOYevroi18egRakbivjD7z6YZVO3npdEQPBCnz48WGk2u7cGq9p6cmsJWn_UzI3i4XXChRgX TkayIeoBuITl0C4qBxLNGb.Tq_ocXnTDp4mVKIT.fvjFWP.GK0lSKI_WIo.S7hm.pnDUEpcD5JOY ZF9KWn7.y6.uJqOqJz6UGUqkY3soHTmfVM1Amzf8Aa13mWB.VSLO2XWvtbB4pRZqXtELUN7xCDsN 425HBqdp.ZXgrdJ2SFaR2EzS0J4Gj4jAwtPU8kZfXi X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ir2.yahoo.com with HTTP; Sun, 19 Dec 2021 11:47:52 +0000 Original-Received: by kubenode519.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 9956c0185c0c3119a1557146aa740fdc; Sun, 19 Dec 2021 11:47:49 +0000 (UTC) In-Reply-To: <83fsqp9jbk.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Dec 2021 08:53:35 +0200") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:222649 Archived-At: Eli Zaretskii writes: >> From: Daniel Mart=C3=ADn >> Cc: 52605@debbugs.gnu.org >> Date: Sun, 19 Dec 2021 01:48:31 +0100 >>=20 >> > Likewise here, the doc string should clarify what kind of names are >> > acceptable. I would also mention that completion is provided while >> > typing the name. >>=20 >> If I'm not mistaken, what the new emoji-search command accepts is >> technically the CLDR short name of an Emoji. As the term is a bit >> obscure, I've added a few examples to the documentation. > > I think examples are good, but they are not enough. We should point > to the document which defines these names somewhere, I guess in the > manual. Where did you see that terminology ("CLDR names"), and what > is the definitive document for it? I took the term from the Unicode website: https://unicode.org/emoji/charts/full-emoji-list.html (last column). Those are the strings that emoji-search autocompletes. > > Btw, the same problem exists in doc strings in emoji.el. I tried to > improve that yesterday, but it sounds like I understood the "name" > part incorrectly, so it will need another round of changes. > I see your point, but I don't know a better term to refer to an "Emoji name". I think people using other platforms with Emoji support, like a mobile phone, are used to type things like "grinning face" in a text box and see the corresponding Emoji suggestion to replace the text with, right in the phone's keyboard. Linking to https://unicode.org/emoji/charts/full-emoji-list.html from the docstring (if the information there is considered stable) might be a good idea.