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, 09 Jan 2022 22:56:29 +0100 Message-ID: References: <87y24gx32m.fsf@gnus.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="13398"; 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: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 09 22:57:11 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 1n6gBa-0003I5-TC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jan 2022 22:57:11 +0100 Original-Received: from localhost ([::1]:49202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6gBZ-0000oe-5o for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jan 2022 16:57:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6gBS-0000mJ-KI for bug-gnu-emacs@gnu.org; Sun, 09 Jan 2022 16:57:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6gBS-0003vt-BV for bug-gnu-emacs@gnu.org; Sun, 09 Jan 2022 16:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n6gBS-0005Ys-B3 for bug-gnu-emacs@gnu.org; Sun, 09 Jan 2022 16:57: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, 09 Jan 2022 21:57: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.164176540921357 (code B ref 52605); Sun, 09 Jan 2022 21:57:02 +0000 Original-Received: (at 52605) by debbugs.gnu.org; 9 Jan 2022 21:56:49 +0000 Original-Received: from localhost ([127.0.0.1]:51492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6gBF-0005YP-DV for submit@debbugs.gnu.org; Sun, 09 Jan 2022 16:56:49 -0500 Original-Received: from sonic311-31.consmr.mail.ir2.yahoo.com ([77.238.176.163]:44714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6gB9-0005Y4-Je for 52605@debbugs.gnu.org; Sun, 09 Jan 2022 16:56:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1641765396; bh=/HB0CB7BMr82n+x/um1mQZGKPTRFULMyr/HKI5/Mgg8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=R9aTNzm+lpBjG7/97QAjRXJS5YHRXaeh860D+ll00qO58dfSs7hb8INT0biiEsWlEMn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PYUSLG02TkbMbQjNCLeUbltxLfrSLoHM84gfF7xyHHBEoE2k7FfJ.soe7aYf9Nat10SwJRjaF5 YkfoeOddlf1uB_9e_7OJSkeL_d_Qd52o2cXwS9SW0d6EMkpy2kbVv8kz1t3FR2PrJzLualPLsgdT y5y13Erew297CJehgEiouWc1BUJKjeh4KNAAqMKYpybyHVGBF9b1Ra6kUohY_ItpcrUEy6rIo8kA r_pOnMkrEheVTsuNLZxyj.GeShyjstREuXQNKEFGZWzIWvsEnVjlB1gvWCKdicbxfHfYIt.196qK eYkU0okfLW7G_Baoi0fN.pM4cyQJFeGI.6SMHziKiAC5lhYfgYHCeiCuDIQfCrrDNK90njOo9.Xj DKjW4tnP1PJ9hfIK5lnmEQPS4eY4auHmJCK5r4cDRpHA4KhBTfwV4r1UT6Xhg.Aqnk22PDqZGoLb w9DHesEiHZOfqBcXtNb52wUiZnJMp2z4revAm0QC1MwdXxrR3X.XISVjfVrbLjxw0UoytG4_LB3j 3DBbmzjA716gJE.A8K0h62Ys2ofYzID6f1.TKVItjF X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Sun, 9 Jan 2022 21:56:36 +0000 Original-Received: by kubenode519.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c9d181de121ff833731f0402a85851e3; Sun, 09 Jan 2022 21:56:30 +0000 (UTC) In-Reply-To: <87y24gx32m.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 19 Dec 2021 12:10:41 +0100") X-Mailer: WebService/1.1.19551 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:223860 Archived-At: Lars Ingebrigtsen writes: > Daniel Mart=C3=ADn writes: > >> With this patch, during an incremental search, if you press 'C-x 8 e >> RET', it will ask you for an Emoji character by name and insert it into >> the search string. A prefix argument N will insert N copies of the >> character. > > Makes sense to me. > > Eli Zaretskii writes: > >> 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. > > The names are from Unicode, but are from a separate data source than the > "official" ones, if I understand it correctly. See > admin/unidata/emoji-test.txt. > > And I don't think we need to specify what these names are, and we > certainly don't need to mention CLDR. How should I update my patch? It's not clear to me if there is a decision about how to change the wording of the Emoji prompts. Also, I forgot to ask in my original message: Is there a plan to add an Emoji input method to Emacs? If so, the input method could be used during an isearch and this patch won't be necessary, right? Another benefit of the input method is that it will work in other situations as well, like in a query-replace.