From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 18 13:55:15 2021 Received: (at submit) by debbugs.gnu.org; 18 Dec 2021 18:55:15 +0000 Received: from localhost ([127.0.0.1]:43828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myerT-0007sR-Bs for submit@debbugs.gnu.org; Sat, 18 Dec 2021 13:55:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:60470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myerR-0007sI-HX for submit@debbugs.gnu.org; Sat, 18 Dec 2021 13:55:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myerR-0008QT-9x for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2021 13:55:13 -0500 Received: from sonic309-25.consmr.mail.ir2.yahoo.com ([77.238.179.83]:42902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myerO-000226-4a for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2021 13:55:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1639853707; bh=RkPMyzOmZn5jMPgG2HHnBufwH9+SOfvQo+6LFs3mTxQ=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=TTvbp0tVwEn8GosCyWRJRV/pMMhVgNiJtmOPH7OLOHcHYx+7L7v3FpBP5QBy7N8NS8ayduU+bneuULTxdIf6Hpuc07HH5zwvyYoSQuTdSYyI8N4BJ1Uv1VJOH0W0YEbqYFoa4LJ3vjnTCuXQzr18V3UVEDykSQ8WNWmR50VfN05JeeoV7KKvh1R/mz5369ONKdfqWBsYtMq73zQgvoKHpGuYYlV8mjNx7eVMu17tiM/pOes0MvHBood/dxDpTgpZcMucdx/I7ght2/90iHtIE23lwxU5OBHy/m2TXjsAdSF0SWarDWNq0GIwCVEtwp9i8W4teQwhkHfhGjUgc4bAoQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639853707; bh=XtlXn0NCcXbt08Bv4rcZLSxkQ2iApTHkzGhWPKq9fRR=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=KehRy2GKUMAMIbkHpXtoS4iKod3qahu9DCzu+Ctdy70px86r+j+omRpTjXATCcdOTRPl1DXsIp4abpSNBhBV0Go2NuS63TOuZoJv8JJ3Qr+EbPBYuiVEEw8xXp8spczOCSPk7X3X/Q2xik3Fv3dvVkjZ/L0YHqEu09h/ANElsn9w21wE+bBR3uhU9/aCswiwZU2xCokugss5F0EuJ2Effi47FpamPdgjHpqWF2gw90lrJg8EQGf1W2RlMgYNXlebkmRURp3yZiuitYF+xe559HQDMAJJiatIxq/rnQDBGtxMQfj4Asve6/mrwYJVgDN6EE0aqwMlcjalKAjJymzUIQ== X-YMail-OSG: EvhX4DkVM1lpt2_h961W_vEFnAy2ZZysI9Y5GJvUtFJ5MF.NVCxMh_siXBHdiH5 B39TeJa1PA7O_lEdpA7E5ZpM_EZa76r_pZH7ALIwSA3_use4CTJka3DTJoC.9Xx3QWyKu1ytQR2j OrJpLqozGmxc_W6kmRbOrfsRaI6f84ctn0Gr0h1W_zbTkcnxgUk0uSuzlStvXDkbKdffSqYTUkEL 43b3HYQV7vch4RRNN6S3AICLI_aT7fvJe5JQIIJ9BxJGfAri6opeBChZGA1cx1nPD0ZIMS1O2UYX Jwj3gUUg4bB48LGYoghacQVfQmLQLWMvsGgNaEXivLf7vkfJIUk2Vn6eDs6.n59MdQ0XfyuTotH. ZQNkRqwJGzOLcgdAk7EKh9Pt4F.hiXOgnBTk44LuaNADYvrZCFRXXRcFl2uEFNJOP28ZNrk5.1nl KQdlxYCmOHPJ7ujhaTgm2hv4huKTe9mdB40PO1U_8RNmSHkflnErO43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TJodTG6ga J1mhmqkKN.h.mRXcXv0o_HA4hirh27UIeFvQOGS74z8x89YXjglLfGmtxsNhTSPUrdZt3Su_96lj bk2LLq10vIby4TVDRf61ejt42rHbldKH432sQp2phmphodE712HQhWHpmAKE_c4ikbFt.JCcS7hH AWPamigO2KDBHidx.GgWlV8hAS3K4VvzOn8a3KTqLcvSeEO_Vc2G7J.wuTkLCij1je5Ek4q45wQJ vhxS6Xpz6jdnQaNOx_liK9T4pf88CIqiReHfFI0IHI.i6SUQZL7n2NFlKZTj1dROV3lTrP56BRUK tER.7ntMu7LBatXQG5nRHZyACRop3_wHTbF9j1s7DBELSq134bUy1_TYFO.PWPoI3cwExBqYeyQI 62yhl6Jiw7hnvWrFqol1KNsLBQ0ufdmEMJ2Lf5tX3vCSeMhFuhD5q.euimAtJaYN2QeuqzYK77C1 nuov994REh5VX2siSyoVwQQoglS1c3wib8IAJCkE4cyucYKrS0_AtpFIQZA88hGkvYEo0FDH8u0o _ZMDULTraZJRMqEJEoLKv7tV2woh6IFNIHnXmzyqnjSPGl6ClCEFpFyLbXcxxMA2ksd4jvlWZew_ qSVEdWFslJbD65wnj0RZ2f5ZorpjSs9lLEqSIBipRVp7yCIkUXNCGGR3Pd.y668PsTtXMzVsiYSC .EzU2rHJsgURtZe1geGtd3JD6cryM3zg0_dFQJqzR X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ir2.yahoo.com with HTTP; Sat, 18 Dec 2021 18:55:07 +0000 Received: by kubenode504.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8e4dfa6a8306471f61d888509011f2c3; Sat, 18 Dec 2021 18:55:04 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: bug-gnu-emacs@gnu.org Subject: [PATCH] Add isearch-emoji-by-name Date: Sat, 18 Dec 2021 19:55:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" References: X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 4469 Received-SPF: pass client-ip=77.238.179.83; envelope-from=mardani29@yahoo.es; helo=sonic309-25.consmr.mail.ir2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain This patch adds support for searching a buffer for Emojis without needing to copy and paste them from another buffer or leaving isearch. Isearch already provides some methods to search for non-ASCII characters, so I decided to extend the package to search for Emoji as well. 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. If you agree that this feature is sound and makes sense, please review it and send me feedback or install it for me (I don't have commit rights). Perhaps a similar feature is also needed for query and replace. Thanks. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-isearch-emoji-by-name.patch >From a899d6199d27ffefd01b764da9c7f37bb11466f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= Date: Sat, 18 Dec 2021 19:29:50 +0100 Subject: [PATCH] Add isearch-emoji-by-name * lisp/isearch.el (isearch-emoji-by-name): Add a new command to insert Emoji characters into incremental search strings. (isearch-mode-map): Bind it to 'C-x 8 e RET'. (isearch-menu-bar-map): Add it to the menu bar. * doc/emacs/search.texi (Special Isearch): Update the documentation to mention the new command. * etc/NEWS: And advertise it. --- doc/emacs/search.texi | 7 +++++++ etc/NEWS | 5 +++++ lisp/isearch.el | 19 +++++++++++++++++++ 3 files changed, 31 insertions(+) diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index fbbb1f6e68..59f6551815 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -443,6 +443,13 @@ Special Isearch character into the search string, similar to the usual @code{insert-char} command (@pxref{Inserting Text}). +@item +@findex isearch-emoji-by-name +@kindex C-x 8 e RET @r{(Incremental Search)} +Type @kbd{C-x 8 e @key{RET}} (@code{isearch-emoji-by-name}), followed +by the name of an Emoji. This adds the specified Emoji into the +search string. + @item @kindex C-^ @r{(Incremental Search)} @findex isearch-toggle-input-method diff --git a/etc/NEWS b/etc/NEWS index e3665b918a..07f498dab3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -341,6 +341,11 @@ received. *** New user option 'char-fold-override' omits the default character-folding. ++++ +*** New command 'isearch-emoji-by-name'. +It is bound to 'C-x 8 e RET' during an incremental search and it +inserts an Emoji character into the search string. + ** New minor mode 'glyphless-display-mode'. This allows an easy way to toggle seeing all glyphless characters in the current buffer. diff --git a/lisp/isearch.el b/lisp/isearch.el index 8815cb4f2d..18ef101fc0 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -668,6 +668,7 @@ isearch-mode-map ;; The key translations defined in the C-x 8 prefix should add ;; characters to the search string. See iso-transl.el. (define-key map "\C-x8\r" 'isearch-char-by-name) + (define-key map "\C-x8e\r" 'isearch-emoji-by-name) map) "Keymap for `isearch-mode'.") @@ -758,6 +759,8 @@ isearch-menu-bar-map :help "Search for literal char"] ["Search for char by name" isearch-char-by-name :help "Search for character by name"] + ["Search for Emoji by name" isearch-emoji-by-name + :help "Search for Emoji by name"] "---" ["Toggle input method" isearch-toggle-input-method :help "Toggle input method for search"] @@ -2747,6 +2750,22 @@ isearch-char-by-name (mapconcat 'isearch-text-char-description string "")))))))) +(defun isearch-emoji-by-name (&optional count) + "Read an Emoji and add it to the search string. +With argument, add COUNT copies of the Emoji." + (interactive "p") + (with-isearch-suspended + (let ((emoji (with-temp-buffer + (emoji-search) + (if (and (integerp count) (> count 1)) + (apply 'concat (make-list count (buffer-string))) + (buffer-string))))) + (when emoji + (setq isearch-new-string (concat isearch-string emoji) + isearch-new-message (concat isearch-message + (mapconcat 'isearch-text-char-description + emoji ""))))))) + (defun isearch-search-and-update () "Do the search and update the display." (when (or isearch-success -- 2.31.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 18 14:07:56 2021 Received: (at 52605) by debbugs.gnu.org; 18 Dec 2021 19:07:56 +0000 Received: from localhost ([127.0.0.1]:43851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myf3k-0008Cv-E2 for submit@debbugs.gnu.org; Sat, 18 Dec 2021 14:07:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myf3i-0008Cf-Sh for 52605@debbugs.gnu.org; Sat, 18 Dec 2021 14:07:55 -0500 Received: from [2001:470:142:3::e] (port=36482 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myf3c-0004Qr-UJ; Sat, 18 Dec 2021 14:07:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=DXFbDjZRMMUo+QA2q46pfvYioH6fwAVWcYnPuz+9dk8=; b=NzGRKMnZ2SaKA796LtFp UL9ivKIhdGjtjyIKEIPvSCeyZYMKHEGT2V9IQfpH8/4Y5J16MNDX66OhxxBI9YKf5K8CGifWP2hc4 zCPajlbB0F6iSm/WdmckJZUCAcTUKNyxPheVuyjY9ilDW2I4Y6sbnGft+L6VHf24rCzXg0szLbFxZ Ipd9nhJ8QK9x3TcwJj6hmKGN98pgyOZHj3xdGcrrDKPQnZalb2ouEGul886Q+8QQCAm5wiLVetybg mvJOrAKhkECdAietXniyBMNLwUwUQ4eEtP8cVVp3d7fiG/SVyYJl02TIHdVARb/oltkzv641lbkG3 dqSMQLhlJ6oMCQ==; Received: from [87.69.77.57] (port=2388 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myf3c-00079l-QE; Sat, 18 Dec 2021 14:07:49 -0500 Date: Sat, 18 Dec 2021 21:07:38 +0200 Message-Id: <83lf0hag05.fsf@gnu.org> From: Eli Zaretskii To: Daniel =?utf-8?Q?Mart=C3=ADn?= In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52605 Cc: 52605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 18 Dec 2021 19:55:02 +0100 > From: Daniel Martín via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > This patch adds support for searching a buffer for Emojis without > needing to copy and paste them from another buffer or leaving isearch. > Isearch already provides some methods to search for non-ASCII > characters, so I decided to extend the package to search for Emoji as > well. > > 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. Thanks. > +@item > +@findex isearch-emoji-by-name > +@kindex C-x 8 e RET @r{(Incremental Search)} > +Type @kbd{C-x 8 e @key{RET}} (@code{isearch-emoji-by-name}), followed > +by the name of an Emoji. This adds the specified Emoji into the > +search string. This should explain what kind of "emoji names" the feature accepts. It is entirely unclear from the text. > +*** New command 'isearch-emoji-by-name'. > +It is bound to 'C-x 8 e RET' during an incremental search and it > +inserts an Emoji character into the search string. Likewise here. The NEWS entry doesn't even mention that Emoji are specified by their names. > +(defun isearch-emoji-by-name (&optional count) > + "Read an Emoji and add it to the search string. "Read and Emoji name and add it to the search string." 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 18 19:48:45 2021 Received: (at 52605) by debbugs.gnu.org; 19 Dec 2021 00:48:45 +0000 Received: from localhost ([127.0.0.1]:44534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mykNZ-0004Uj-3w for submit@debbugs.gnu.org; Sat, 18 Dec 2021 19:48:45 -0500 Received: from sonic312-27.consmr.mail.ir2.yahoo.com ([77.238.178.98]:41115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mykNX-0004UW-VT for 52605@debbugs.gnu.org; Sat, 18 Dec 2021 19:48:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1639874917; bh=4JXGUx2+fuIF0f2jiEh1SZHgN+7vwrxxvZsW5HkfwcM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=aSrIz+GSWJiasYgj38529u2iFQLHpyvZ69cdm73wTuqsXhqjDFHNxSzB4UfZZuGt8kvRv3uwQMQM6YiBWKnpuMkzPTQVkOdCYIHNQTgYd00XNhVa0Wuj5BPRrNROCIJm08Wiuk5IkYb12fTof/Jrtp4EoXz5a5GWleiT0BUish7bk+ZUFLB1GvI4rz3UY9RspRRMtO3C7JtvfThnya42OyPhLp4y4gX66riWaHLNpKQkZKJgG+W7aghrl9hxTKZ4aFHbqoYJ4KAc3C4rbcF1WAUKEYplIWitJMsd3Z1ygtqUCifNW7Y8yTNzAveMRzBtoHd4B+updFDjFwDjbjT/KQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639874917; bh=ZJOsH1uNxrgqJt79TClFx378onSd6kiV5elGFyrqLyl=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Zc2pTjMj7KZL/WhEyQhjs7dfgNJX+LVrX+Bo4rCYQRQBl1zqVwKRoNSso+MTpVydN9uz5KJVeBr6WAF2zyUF5IpI2H5QRFwdpJMSTmvthgLAVnX6Fl+9Ui6i+Cjh2cosp7ofz5DpR/UbmGB3qSRjeS9xfNWyxvc69dPqEolsVk+hLjTgvY9Ckz6k8N0PQVaOmZ5k50aRxZ/xG9MjlTYovgUWyTKOtSr6yMtNH7yXsuBol4OxIgnvxqF7uyneuPB1DftPFW8NdU3/mww6htmriCvJfcMCHxdL+54lN2RxdJxf3Slmh6h0ADhXlfMCsLosIhEBQX3xCC4Wl06sRv0J2g== X-YMail-OSG: XlQ3a40VM1lmJxAff4drObQHFoPekGTc9Hp0HqvjRZK6gQsYFOdEDMGfk.L7GNX hGBlFnm4XqK.w2ZSgKpgMucqCHimAtea4yrdw1QHsLbPNEmcXxNYHNAO1sZRTijradDjlKFztN4o l3FaT2JSeIjxq3WiTfiqZc3qw9n6FCS5QjX8TECroGT4Dsi4NHevEEE5VuMohG1ihyAHFLn44oym _B72c14G_t4f3d9L7M36jDGk4kAAhXW8IjXQhT08ym63HMvFhVYhZoMGThvt0Yz4nLZkxFc3wo.b b4FpTFtsHVqhsmFYxB7hsVq96Ec2ftzPHd8jcnrwYza9bm4zLeGhV9RehlMR6GXmB9Yfv30Q6.0R QLC5EawRuPgG4nneJZ30dwrv5enuEd.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S4mxOjwPZxm8ygKF9P6hyCGtuA4j5G0_FW3Jd4 7PFqKEyCwmI7DUClhoE9bhpVtknATje8evX1m_Ht73BfHdtdHDa__3_p58mV7jE4yo49yzRicEB7 mKbakDwga2Uko4oO_Z84EuvSk09eK9RoAfOZ01R2ndDEwgTVd8wc8yTv0hWDgLu1tJc1dQbETXjl .wIv6mTWMAk_CU1cf7ew7sLy3TsE7yTi3rVUuS.NRTk3QJBqTJMi1PG9sQT975WN4iKN_VmVbLYS 0TduLjPA5MHCDk1qnnLyo.nPKX_jIBiyzMf.sWwvNGKrWbL75HHX3ZXQ..G_RLceGifE.gThql8g 1b1oQSAgQ6uj_iaVR2hej_lBDHiye_I2ssJwKQ6mqo8SGLtnmlCrw.tS5vcIcqmpHCQqKYVS6HNX XqDed_FDPxqHjSbifg1TVw2U2ED7XbIIBQD2TaMslVYOJYjTa_Pe6TAUuSMIeSSknJpe1vYEbfn2 seDozjYC7iVur.5tZtyyCzxYjY3rPMWRW4rmNzZEwWE6.q7n1hfvijsQKr7Kjtto2rOP5oUMzHvE pRTJO559LBzC9om.YBXB8zZW59vhm_sSOv48jFtlt5FV_heCXxa2XNQQwHl1VhPVip38CwsKKxj7 6pAG_HFnOWayATVwfHSZgBeODXjsB1ySNOEGJoHrx_bsl.UrlUQFJGaRaJ2pJqBOso7o66NRwBS8 O3nfvfzh4ChKZh28XuFWVG36q0iXsXBC0DUUpzZmKb_O3F8p1eEGEwLUep7ThavXedqTrr3RWU3. YrVmVKx3NwRikLnQRPayA_3kzsXAzy1buOW0eV2rqXLNM_pynsWVkCpjEOnrhsetRMgoC X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ir2.yahoo.com with HTTP; Sun, 19 Dec 2021 00:48:37 +0000 Received: by kubenode507.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b9d03963d4b6af30b5bcae3c4ec8dd5b; Sun, 19 Dec 2021 00:48:31 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Eli Zaretskii Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name References: <83lf0hag05.fsf@gnu.org> Date: Sun, 19 Dec 2021 01:48:31 +0100 In-Reply-To: <83lf0hag05.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Dec 2021 21:07:38 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 6685 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 52605 Cc: 52605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> +@item >> +@findex isearch-emoji-by-name >> +@kindex C-x 8 e RET @r{(Incremental Search)} >> +Type @kbd{C-x 8 e @key{RET}} (@code{isearch-emoji-by-name}), followed >> +by the name of an Emoji. This adds the specified Emoji into the >> +search string. > > This should explain what kind of "emoji names" the feature accepts. > It is entirely unclear from the text. > >> +*** New command 'isearch-emoji-by-name'. >> +It is bound to 'C-x 8 e RET' during an incremental search and it >> +inserts an Emoji character into the search string. > > Likewise here. The NEWS entry doesn't even mention that Emoji are > specified by their names. > >> +(defun isearch-emoji-by-name (&optional count) >> + "Read an Emoji and add it to the search string. > > "Read and Emoji name and add it to the search string." > > 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. 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've also updated the prompt in emoji-search, so now it explains in parenthesis what you can type, in a similar way as classic 'C-x 8 RET'. That is, 'C-x 8 RET' prompts with: Insert character (Unicode name or hex): And now 'C-x 8 e s' prompts with: Insert emoji (CLDR short name): Attached a new patch, I'm not sure if that's what you asked for. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-isearch-emoji-by-name.patch >From bee4f93018a15202769938f112bf76ecc8bfcd53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= Date: Sat, 18 Dec 2021 19:29:50 +0100 Subject: [PATCH] Add isearch-emoji-by-name * lisp/isearch.el (isearch-emoji-by-name): Add a new command to insert Emoji characters into incremental search strings. (Bug#52605) (isearch-mode-map): Bind it to 'C-x 8 e RET'. (isearch-menu-bar-map): Add it to the menu bar. * lisp/international/emoji.el (emoji--choose-emoji): Expand the prompt to say that the CLDR short name of an Emoji is expected. * doc/emacs/search.texi (Special Isearch): Update the documentation to mention the new command. * etc/NEWS: And advertise it. --- doc/emacs/search.texi | 8 ++++++++ etc/NEWS | 7 +++++++ lisp/international/emoji.el | 6 ++++-- lisp/isearch.el | 21 +++++++++++++++++++++ 4 files changed, 40 insertions(+), 2 deletions(-) diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index fbbb1f6e68..6c15c33e21 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -443,6 +443,14 @@ Special Isearch character into the search string, similar to the usual @code{insert-char} command (@pxref{Inserting Text}). +@item +@findex isearch-emoji-by-name +@kindex C-x 8 e RET @r{(Incremental Search)} +Type @kbd{C-x 8 e @key{RET}} (@code{isearch-emoji-by-name}), followed +by the CLDR short name of an Emoji (for example, @samp{smiling face} +or @samp{heart with arrow}). This adds the specified Emoji into the +search string. + @item @kindex C-^ @r{(Incremental Search)} @findex isearch-toggle-input-method diff --git a/etc/NEWS b/etc/NEWS index e3665b918a..b76de35958 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -341,6 +341,13 @@ received. *** New user option 'char-fold-override' omits the default character-folding. ++++ +*** New command 'isearch-emoji-by-name'. +It is bound to 'C-x 8 e RET' during an incremental search. The +command accepts the CLDR short name of an Emoji (for example, "smiling +face" or "heart with arrow"), with minibuffer completion, and inserts +the Emoji character into the search string. + ** New minor mode 'glyphless-display-mode'. This allows an easy way to toggle seeing all glyphless characters in the current buffer. diff --git a/lisp/international/emoji.el b/lisp/international/emoji.el index a4dec973fb..9d87c4febd 100644 --- a/lisp/international/emoji.el +++ b/lisp/international/emoji.el @@ -88,7 +88,9 @@ emoji-recent ;;;###autoload (defun emoji-search () - "Choose and insert an emoji glyph by searching for an emoji name." + "Choose and insert an emoji glyph by searching for an emoji name. +The command accepts CLDR short names like 'smiling face' or +'heart with arrow' and completion is available." (interactive "*") (emoji--init) (emoji--choose-emoji)) @@ -612,7 +614,7 @@ emoji--choose-emoji ;; Use the list of names. (let ((name (completing-read - "Insert emoji: " + "Insert emoji (CLDR short name): " (lambda (string pred action) (if (eq action 'metadata) (list 'metadata diff --git a/lisp/isearch.el b/lisp/isearch.el index 8815cb4f2d..af4130a75e 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -668,6 +668,7 @@ isearch-mode-map ;; The key translations defined in the C-x 8 prefix should add ;; characters to the search string. See iso-transl.el. (define-key map "\C-x8\r" 'isearch-char-by-name) + (define-key map "\C-x8e\r" 'isearch-emoji-by-name) map) "Keymap for `isearch-mode'.") @@ -758,6 +759,8 @@ isearch-menu-bar-map :help "Search for literal char"] ["Search for char by name" isearch-char-by-name :help "Search for character by name"] + ["Search for Emoji by name" isearch-emoji-by-name + :help "Search for Emoji by name"] "---" ["Toggle input method" isearch-toggle-input-method :help "Toggle input method for search"] @@ -2747,6 +2750,24 @@ isearch-char-by-name (mapconcat 'isearch-text-char-description string "")))))))) +(defun isearch-emoji-by-name (&optional count) + "Read an Emoji name and add it to the search string. +The command accepts CLDR short names like 'smiling face' or +'heart with arrow' and completion is available. With argument, +add COUNT copies of the Emoji." + (interactive "p") + (with-isearch-suspended + (let ((emoji (with-temp-buffer + (emoji-search) + (if (and (integerp count) (> count 1)) + (apply 'concat (make-list count (buffer-string))) + (buffer-string))))) + (when emoji + (setq isearch-new-string (concat isearch-string emoji) + isearch-new-message (concat isearch-message + (mapconcat 'isearch-text-char-description + emoji ""))))))) + (defun isearch-search-and-update () "Do the search and update the display." (when (or isearch-success -- 2.31.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 19 01:53:51 2021 Received: (at 52605) by debbugs.gnu.org; 19 Dec 2021 06:53:51 +0000 Received: from localhost ([127.0.0.1]:44740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myq4t-0005ZV-Gg for submit@debbugs.gnu.org; Sun, 19 Dec 2021 01:53:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myq4s-0005ZJ-B8 for 52605@debbugs.gnu.org; Sun, 19 Dec 2021 01:53:50 -0500 Received: from [2001:470:142:3::e] (port=53056 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myq4n-0005rW-1t; Sun, 19 Dec 2021 01:53:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=RghdDEPhlqfmJHEMDNjsU9KDiuh2EyMFUTyVHOjDa9c=; b=jV5FW2od+JsCRHXwHCDD 6W3JWojUNlnb8tFxBCEVVOpIQ5QCRDORbhnmgXfsduQuro0osg7zdhfb+ZXJAvRNmUdQjtF4GpqRA /QKHXet9g47TpG58argDaHKBexsNuXQgsgDLbEoZ24Lb5ftWiWYF1yCDINECIHppE1dNQG8Vwl3If MELvnZ8mIy/lyNqe6vP9MksqGM3agRI3wprFCbWP2IOFlSE1djqci5Raf4SLOybZ5mHR0vU/7DB4i AF11g0Xvd58e9tQUheZRAFfgdrleCwQtNVCgN/oNYS7J5Wc88bF545iyHn0htC9CM9Km/6IhqxuVN zvZp9X0klVhZrg==; Received: from [87.69.77.57] (port=1704 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myq4m-0002J4-Uk; Sun, 19 Dec 2021 01:53:45 -0500 Date: Sun, 19 Dec 2021 08:53:35 +0200 Message-Id: <83fsqp9jbk.fsf@gnu.org> From: Eli Zaretskii To: Daniel =?utf-8?Q?Mart=C3=ADn?= In-Reply-To: (message from Daniel =?utf-8?Q?Mart?= =?utf-8?Q?=C3=ADn?= on Sun, 19 Dec 2021 01:48:31 +0100) Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name References: <83lf0hag05.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52605 Cc: 52605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Daniel Martín > Cc: 52605@debbugs.gnu.org > Date: Sun, 19 Dec 2021 01:48:31 +0100 > > > 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. > > 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? > And now 'C-x 8 e s' prompts with: > > Insert emoji (CLDR short name): Is the "short" part necessary? It immediately begs the question "how does that differ from a long name?" 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. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 19 06:10:54 2021 Received: (at 52605) by debbugs.gnu.org; 19 Dec 2021 11:10:54 +0000 Received: from localhost ([127.0.0.1]:44874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myu5d-0005il-Nk for submit@debbugs.gnu.org; Sun, 19 Dec 2021 06:10:54 -0500 Received: from quimby.gnus.org ([95.216.78.240]:40012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myu5c-0005iZ-6f for 52605@debbugs.gnu.org; Sun, 19 Dec 2021 06:10:52 -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=YWvynH2KqgBBDqrdIuQmYvaraJwry/093rfsrWRhoro=; b=b8IYs/AevvMvUQHvXRTopCksjs r5zZdh+E6lQzhwniMU78yD0mJS53Sr61/WPz0QiMr7aIbHN/+FwcUQm0vm32tPBtRXfEm5R6y10Xe lO1fsiwCu14U4jLD9G1TBAUy429fbJ+BrdfAGjC0KF5cuAhw/O/EBBZlkX4uEwqJYaiY=; 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 1myu5T-00032h-L4; Sun, 19 Dec 2021 12:10:46 +0100 From: Lars Ingebrigtsen To: Daniel =?utf-8?Q?Mart=C3=ADn?= Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name References: X-Now-Playing: John and Beverley Martyn's _The Road to Ruin_: "Here I Am" Date: Sun, 19 Dec 2021 12:10:41 +0100 In-Reply-To: ("Daniel =?utf-8?Q?Mart=C3=ADn=22's?= message of "Sat, 18 Dec 2021 19:55:02 +0100") Message-ID: <87y24gx32m.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Daniel Martín 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52605 Cc: 52605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 19 06:48:00 2021 Received: (at 52605) by debbugs.gnu.org; 19 Dec 2021 11:48:00 +0000 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 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/+4Cd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RKVfMFVQ8hzEy7yYJyoIhvbkmhGU6_WLmAaIND_OS85IDaWVcDmvC6k9pZZimjIhDRayp5DsG yBW5yTHCEE4U8ueFJdoCoWdLTW5WclY8DrTYqOhQnOhAtSdAsEGynakbC53GwYxcRFU1KQIfy44c Tq5lHxwmULDR.6kQo4wcOhRCxj4L7_KAxGPdn2303AV031zxbTgNhco3YsewAFvqda8WODQohSAL lVSSvksoPJpbMsDeSlW9e23NyuzcPb9kFGncAuhoVXzZTArKn25YAnhsvDv8nRSMF2iOzvcyOeJX wQ_MD2yA275L4uiZmORQFjY5cotz3pQCgLCff3qB9ciS7vxY5wJAveChD0HbI0Zho3gjmXSuRNt7 tcxwG3j2bj7ttGJEMEelkrPU8LocWApFKD3I8V0fYzvRpQFlEQopXYAp.8zS7Yjepsbmk0iqvpf3 HDiKPFz7wRbKBRjE9HsE4kK.8uIApjnjWdciMNob9GS_Uzq4yXlHRwcfqYPj7k.3Znu3s X-Sonic-MF: 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 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) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Eli Zaretskii Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name References: <83lf0hag05.fsf@gnu.org> <83fsqp9jbk.fsf@gnu.org> Date: Sun, 19 Dec 2021 12:47:48 +0100 In-Reply-To: <83fsqp9jbk.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Dec 2021 08:53:35 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1633 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 52605 Cc: 52605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 19 10:04:15 2021 Received: (at control) by debbugs.gnu.org; 19 Dec 2021 15:04:15 +0000 Received: from localhost ([127.0.0.1]:47694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myxjT-0003Eg-Ab for submit@debbugs.gnu.org; Sun, 19 Dec 2021 10:04:15 -0500 Received: from mail-pj1-f52.google.com ([209.85.216.52]:43900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myxjR-0003ER-6q for control@debbugs.gnu.org; Sun, 19 Dec 2021 10:04:13 -0500 Received: by mail-pj1-f52.google.com with SMTP id a11-20020a17090a854b00b001b11aae38d6so7641794pjw.2 for ; Sun, 19 Dec 2021 07:04:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=Wtq1En+cHPYid5lb+0qHHTMYiSFQ9lJrbCjAbdbotV0=; b=jSPANgiu/UnrIMgKe/UHob50ONwBKutO52zCQlEPXaTmJf++sJLt1pWN0MM9vsRyQ3 zj6zykhu9kzB2TqLbqCZvHD9xNGqxMYP2syttJzxQ3Ox2lKnKksiE9LYtMr3/Veu7S73 IQBBMtSdRz1YTNQe5S40xPf5nng5MMseNHKOfKJcRSDgMo3Bohzjv5br3MsnNOyDLy++ D6mXoDwyWLnkgPwxP9OKGBNjKLK35RCsFaE5A/Qdso43M2ViGAZEFUPKaNdmXz9Nfv7l Wvgb74wPj+ZPEzAH4BqnScq+7ojznQ4oTcAAnyPRczLGc80POwmlCQVJfL/UT1GCWk7E 5Fjw== X-Gm-Message-State: AOAM533d/ZxqV1vEA/z6NqVGewSsmYdVD/mpddJosgr0mU8FOLfIoFt6 pt156gcHX5RaQeW7Zf5cxcDOllBJzW7+io/ZJc0yNevc X-Google-Smtp-Source: ABdhPJyUG3U23Mv2zIjDJs++AzIOj0u2V7EjB7NTuQofe10DEQizc8ytVEM+iooDYcfXv6a8eJFINIKoAWvEqINx+Qk= X-Received: by 2002:a17:902:7615:b0:148:db50:6b9f with SMTP id k21-20020a170902761500b00148db506b9fmr7175945pll.102.1639926247472; Sun, 19 Dec 2021 07:04:07 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 19 Dec 2021 07:04:07 -0800 From: Stefan Kangas MIME-Version: 1.0 Date: Sun, 19 Dec 2021 07:04:07 -0800 Message-ID: Subject: control message for bug #52605 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) severity 52605 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 09 16:56:49 2022 Received: (at 52605) by debbugs.gnu.org; 9 Jan 2022 21:56:49 +0000 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 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+ll00qO58dfSs7hb8INT0biiEsWlEMn2QnVKboYXDRwSdoQQFv6WLgNjiisI8iBc0Lzc7RL3rZepAhYbrPmeWnd7mEeF5UwNzTKB6VcNY3Wngu0KL1umlHmPYq3oSmDSx0QLjG83Po9cJafZ1mSomioq4GQTUBLErJYpmc1YWzgd2cr3Mq9Up7EblO3mjXQrZ+rq37C/jISjakKyc+ZcQHIMsd8MXYx/E6e9svlhb970e/oAjKtcKJUx2/cufoN1qn20ZwFTQP0ydBIlFvC0zqr6eoHKoz1RDsBWEOQthzE6Zc92Uw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641765396; bh=fVVwJmU2y1Z/KLJSHVMRNm0Orv9rH88dNtnJydtbWP9=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=L6MrKMbSowM7K2Nhjy1G5ZNNFLcS59oDFVhYuhFh5JP4HaL81BY7gMo66+0VkVnJhUBwmrxr5kzqw2PKPTlu5C4TdBT4Rt8w7EpHDB04kpNSZ1ktM/86/lOtHQurTJT8qhSS49ZPCX4JZf598O/Jf9HLGoSNJPo+m0zCpdfMLzIzr++roPo2R1sOq48V9lZqYRjDESm3yZ5k+okySmrUFTXlilasLsUbIW5Nn+SWz+P0KKaC93+GzGoE9RO37/IleKlNBEGcP/ayclNhiSIm3xoBdS2pexLMqLPDpodcxxXtCd4JM3CM3ScXCaEOBF9ReA3PlP4s9fAxD0RnSg2PMw== X-YMail-OSG: F05PCgsVM1mrgDtgCqYPDJF8HH4fn7cuDpqcT.sKRNKeaHdEvJtQA76Z0ZmlyyY 69cxkqhbZeZzSkCNxaj87TpYJfpihUtVJLNsTyP.bfaepGO91NypT1IJMfNySzkkbIrGXZOf.XDs VNtz2CtcOkMjHBGEk8BhnL7Q2ewHmz4x3A3C19e6NjzqHL1EbgsIg4ISGCEI6zHyE04tXRv2ZuCO .WDpWlgugidyVeIyaXMDrr9jWWwFLP3pJJ_i80W.UIjEwqBM53zYNBYDziPImUJShezPNYBmcSre 8HPYUSLG02TkbMbQjNCLeUbltxLfrSLoHM84gfF7xyHHBEoE2k7FfJ.soe7aYf9Nat10SwJRjaF5 YkfoeOddlf1uB_9e_7OJSkeL_d_Qd52o2cXwS9SW0d6EMkpy2kbVv8kz1t3FR2PrJzLualPLsgdT y5y13Erew297CJehgEiouWc1BUJKjeh4KNAAqMKYpybyHVGBF9b1Ra6kUohY_ItpcrUEy6rIo8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XFRY3NnWbMetNrzYnyAKvINA1QzF1HPND933TVq9Y9eQ7E2zI9INcmYUZXewYegXyNH._THj oJC2U6QgfbBXjWS2TKZKDPDDxVVPIKeT98zzMLPvkAYwRDp6J5Rj2hp8bPl8vqWYFzdFcn.xGUpD jiLnsEt5bGhEU6KAo0uQgF_dQrPVM.DMgCaAtdD5TE4y8.wOywMervmQTbzOMFbc8Ek590yzI0y. sIyKsKNFEv_FJoUbg6hqtgXx5j5YUwE53fDIcphlBo2_QXQouV2x_uBzyyGkUXGTcm1KVaYCMs66 2aIFt3y7Lf8td8jNCNEOa2CO5ue4OIMQA0vEV5TRYSOjvSL9dbZg2ZfEOgqGtCrYImqG_GfRXURE AkgJ4RVZTEvrDEJtsHD9Jr3L81rzwW81L6NRDO08ZCTzxEFb7Vw1dZ2MNiwCp0VM_U7Ned02g09I qJiiQuJH_9rKOzooClPzRUg.Ra5xFzAgW2uQ4l7ytZKgnKgEbyQk_Z0BXjotOfGcs0GTfca9e7J0 XZrM07Q6QHVXPKOZv_LIr8b2dRpP3heQPSN1KjfldQjcqhxW8fcGv6x18T1gJZZEslx46OF6Jb2j fHA3N8V59gV1Vr4_PetTBnjwN2SmbBuqcWehm35XSWOF.lanDM0yowEY2a1_OqmRTVFDPTrwbu.g 6a3T4PG7fiBA6IH.m9qWFxq_uM3iI2OcaTJXlnZBXR8WZrWeQJw-- X-Sonic-MF: 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 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) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Lars Ingebrigtsen Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name References: <87y24gx32m.fsf@gnus.org> Date: Sun, 09 Jan 2022 22:56:29 +0100 In-Reply-To: <87y24gx32m.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 19 Dec 2021 12:10:41 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.19551 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1312 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 52605 Cc: 52605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 10 03:25:47 2022 Received: (at submit) by debbugs.gnu.org; 10 Jan 2022 08:25:47 +0000 Received: from localhost ([127.0.0.1]:51753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6pzu-0006iw-RG for submit@debbugs.gnu.org; Mon, 10 Jan 2022 03:25:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:39518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6pzs-0006ih-PH for submit@debbugs.gnu.org; Mon, 10 Jan 2022 03:25:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6pzq-0000J3-5O for bug-gnu-emacs@gnu.org; Mon, 10 Jan 2022 03:25:43 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:40999) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6pzn-0003PD-Vg for bug-gnu-emacs@gnu.org; Mon, 10 Jan 2022 03:25:41 -0500 Received: (Authenticated sender: juri@linkov.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 628FC1C0009; Mon, 10 Jan 2022 08:25:30 +0000 (UTC) From: Juri Linkov To: Daniel =?iso-8859-1?Q?Mart=EDn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name Organization: LINKOV.NET References: <87y24gx32m.fsf@gnus.org> Date: Mon, 10 Jan 2022 10:07:58 +0200 In-Reply-To: ("Daniel =?iso-8859-1?Q?Mart=EDn?= via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\""'s message of "Sun, 09 Jan 2022 22:56:29 +0100") Message-ID: <86pmp0qbf5.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.197; envelope-from=juri@linkov.net; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Lars Ingebrigtsen , 52605@debbugs.gnu.org, Daniel =?iso-8859-1?Q?Mart=EDn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) > 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. I agree the input method is more general solution than a new isearch command. #+begin_src emacs-lisp ;;; emoji.el --- Quail package for emoji character composition -*- lexical-binding: t -*- ;; Quail package `emoji' is based on emoji.el package. ;; This input method supports the same key sequences as the names ;; defined by the `C-x 8 e s' completions in emoji.el. (quail-define-package "emoji" "UTF-8" "😀" t "Use the same key sequences as in `C-x 8 e s' completions defined in emoji.el." '(("\t" . quail-completion)) t nil nil nil nil nil nil nil nil t) (eval-when-compile (require 'emoji) (emoji--init) (defmacro emoji--define-rules () `(quail-define-rules ,@(let ((rules nil)) (maphash (lambda (from to) (push (list from (if (stringp to) (vector to) to)) rules)) emoji--all-bases) rules)))) (emoji--define-rules) (provide 'emoji) ;;; emoji.el ends here #+end_src From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 10 17:44:57 2022 Received: (at 52605) by debbugs.gnu.org; 10 Jan 2022 22:44:57 +0000 Received: from localhost ([127.0.0.1]:53502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n73PN-00046D-Gy for submit@debbugs.gnu.org; Mon, 10 Jan 2022 17:44:57 -0500 Received: from sonic313-21.consmr.mail.ir2.yahoo.com ([77.238.179.188]:34484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n73PL-00045l-Kc for 52605@debbugs.gnu.org; Mon, 10 Jan 2022 17:44:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1641854688; bh=L5bRBVRhtZfJabZzftk8/g1gc5CFBm66HOKxr1lNxik=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=cOLpDtTnp8DiYX6sPdUKPHa7SqK6ws4vRy9m4yYSujUINChyR7Y/naKBOVx7JQB2pdG4n7Sz/PwILsOen1RaZXgo66lqPvHvKVx8a2lFXb1XZAKsB/jmBPG9ly2coEV0aTS2DgYPlpUQoe06fWaiP5yo6mWdHfPlv83Ug6gm2buI5MaXxNR95YEqwwnmyxWqjOSCu9nEIyyYJwfc8CnucVummprsrJ7ojfrLIuCnuV0Ur0+P0Ln3AG8inmrTGAtHesGKWSMu8aTY34S+32GjLLog40OOrbSsWvLkg3E7xsJn8cDsrgMBTk8GRHmBY9zbp29ICpJN2tP2lyJnLRpWMg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641854688; bh=8tPu3ZUpv+geuWP4Odxet6H+/1TBErrhKX2X2fQaZge=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=FcaT+w2H3/azbps9/GX73836g9p11h34rd4pbg+xgUY6CGHJdoNepDLL/ZFGrNh8h5p7+auljzygDdBzigaD5m6mSrIdpmav9dEPiuIj79MqRyuqlyQmNw1pqpZ0aqrFA30HABKCOKgoTTAwQ2YcLHNVT8btkIb3R9/eZG4x4qCFZmbsT5RoZUPCjDyICse5IVnbHr/WNckJuinhkAMilyXlxokYdmIzlyKg6S0uf2QWGJUAliU7MWDkMSgtvr2RBtCcOFzhOq089XlS2B//vZgsFgKiNpRYNyEg8iu3Lq7Z+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phdu653gj. T0Oa5e7Pp7WPPnKELDqJ1ZUC5_aMjUOTKH3.j7W1yFNXFV4YCcUeqzJUwE6A6tsRVQIFwQONx4ff ZhdVMiFYB.ZNJDFLcFDS5trXlU45JsRbT2m27zww3yiQPeBJ8ch9Rm15R2ojUYZz9e2fEsFjAdBO .4u3UYd6LRu5m8OG7WOSahJz8MOr504OlIjjdrvKUoaeoNZJl X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ir2.yahoo.com with HTTP; Mon, 10 Jan 2022 22:44:48 +0000 Received: by kubenode514.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8a4cc64ac4c53829dce608e899a0747f; Mon, 10 Jan 2022 22:44:47 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Juri Linkov Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name References: <87y24gx32m.fsf@gnus.org> <86pmp0qbf5.fsf@mail.linkov.net> Date: Mon, 10 Jan 2022 23:44:46 +0100 In-Reply-To: <86pmp0qbf5.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 10 Jan 2022 10:07:58 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.19551 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1432 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 52605 Cc: larsi@gnus.org, 52605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Juri Linkov writes: > > I agree the input method is more general solution than a new isearch comm= and. > > #+begin_src emacs-lisp > ;;; emoji.el --- Quail package for emoji character composition -*- lexica= l-binding: t -*- > > ;; Quail package `emoji' is based on emoji.el package. > ;; This input method supports the same key sequences as the names > ;; defined by the `C-x 8 e s' completions in emoji.el. > > (quail-define-package > "emoji" "UTF-8" "=F0=9F=98=80" t > "Use the same key sequences as in `C-x 8 e s' completions defined in emo= ji.el." > '(("\t" . quail-completion)) > t nil nil nil nil nil nil nil nil t) > > (eval-when-compile > (require 'emoji) > (emoji--init) > (defmacro emoji--define-rules () > `(quail-define-rules > ,@(let ((rules nil)) > (maphash (lambda (from to) > (push (list from (if (stringp to) > (vector to) > to)) > rules)) > emoji--all-bases) > rules)))) > > (emoji--define-rules) > > (provide 'emoji) > ;;; emoji.el ends here > #+end_src Thanks for the patch, I'm not super familiar with input methods, but it seems to work well. I wish a refined/polished version of this code + documentation could be part of the main Emacs distribution. It fits well in the overall design of Emacs. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 12 01:02:38 2022 Received: (at 52605) by debbugs.gnu.org; 12 Jan 2022 06:02:38 +0000 Received: from localhost ([127.0.0.1]:56063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7WiU-0006Ei-3C for submit@debbugs.gnu.org; Wed, 12 Jan 2022 01:02:38 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7WiS-0006AJ-DA for 52605@debbugs.gnu.org; Wed, 12 Jan 2022 01:02:36 -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=PGSd2pqPNKDCHOI36MrS1n+7+0MJrt7FcNBt0hVU7rY=; b=nVCc9m+d9y1dEjklH/rfZya49F 6KV9vRY8Lw7WdzIDy4+Po26okL/r9JE9z6/Gj0mrv7XcYfzdo7X2SrVVhrDsebZ27AJ/gKNU+/13o xzDDI2QAXsCVj9Y0PyR65cG6qD+F+PdbldWZEFxo21kFFZjESa9lPvo7P/tV7rpFHywE=; 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 1n7WiJ-0006zl-OM; Wed, 12 Jan 2022 07:02:30 +0100 From: Lars Ingebrigtsen To: Daniel =?utf-8?Q?Mart=C3=ADn?= Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name References: <87y24gx32m.fsf@gnus.org> <86pmp0qbf5.fsf@mail.linkov.net> X-Now-Playing: Cocteau Twins's _The Pink Opaque_: "Wax and Wane" Date: Wed, 12 Jan 2022 07:02:27 +0100 In-Reply-To: ("Daniel =?utf-8?Q?Mart=C3=ADn=22's?= message of "Mon, 10 Jan 2022 23:44:46 +0100") Message-ID: <87h7a9bifg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Daniel Martín writes: > Thanks for the patch, I'm not super familiar with input methods, but it > seems to work well. I wish a refined/polished version of this code + > documentation could be part of the main Emacs distrib [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52605 Cc: 52605@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Daniel Mart=C3=ADn writes: > Thanks for the patch, I'm not super familiar with input methods, but it > seems to work well. I wish a refined/polished version of this code + > documentation could be part of the main Emacs distribution. It fits > well in the overall design of Emacs. Using an input method works fine, but I don't think it's something most people would find convenient to use. (My guess is that most people outside Asian locales don't use the input method machinery at all.) So I think we should add both Juri's and Daniel's patches here. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 12 12:51:09 2022 Received: (at 52605) by debbugs.gnu.org; 12 Jan 2022 17:51:09 +0000 Received: from localhost ([127.0.0.1]:59001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7hm9-00054C-Fy for submit@debbugs.gnu.org; Wed, 12 Jan 2022 12:51:09 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:56017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7hm7-00053f-KD for 52605@debbugs.gnu.org; Wed, 12 Jan 2022 12:51:08 -0500 Received: (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id B100320002; Wed, 12 Jan 2022 17:50:59 +0000 (UTC) From: Juri Linkov To: Lars Ingebrigtsen Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name Organization: LINKOV.NET References: <87y24gx32m.fsf@gnus.org> <86pmp0qbf5.fsf@mail.linkov.net> <87h7a9bifg.fsf@gnus.org> Date: Wed, 12 Jan 2022 19:50:39 +0200 In-Reply-To: <87h7a9bifg.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 12 Jan 2022 07:02:27 +0100") Message-ID: <86a6g0sv0w.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52605 Cc: 52605@debbugs.gnu.org, Daniel =?iso-8859-1?Q?Mart=EDn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> Thanks for the patch, I'm not super familiar with input methods, but it >> seems to work well. I wish a refined/polished version of this code + >> documentation could be part of the main Emacs distribution. It fits >> well in the overall design of Emacs. > > Using an input method works fine, but I don't think it's something most > people would find convenient to use. (My guess is that most people > outside Asian locales don't use the input method machinery at all.) > > So I think we should add both Juri's and Daniel's patches here. So I pushed both patches. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 01:05:25 2022 Received: (at 52605) by debbugs.gnu.org; 13 Jan 2022 06:05:25 +0000 Received: from localhost ([127.0.0.1]:59738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7tEj-0000jA-6P for submit@debbugs.gnu.org; Thu, 13 Jan 2022 01:05:25 -0500 Received: from quimby.gnus.org ([95.216.78.240]:49902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7tEh-0000it-3u for 52605@debbugs.gnu.org; Thu, 13 Jan 2022 01:05:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=nA003sEnHlx/T53SGhwtwThEcBzxPResRGqiTqlvVmM=; b=AU1F1GyKSEn0ysNojo+s3mEYWL Dvbml68Mq15JPYrz2wKScgFOgaZotVoYLL/Q5a30JpkJ3rji4uMmjRi0Nk072Sf0XXiV8xjuARui6 EDTMs4oj45WZ3ilRCtEwta+jgBTTxaHN7VfEwHrcZg5UH+fSaRurie0SIttLKCAGauXE=; 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 1n7tEY-0007yn-Hl; Thu, 13 Jan 2022 07:05:17 +0100 From: Lars Ingebrigtsen To: Juri Linkov Subject: Re: bug#52605: [PATCH] Add isearch-emoji-by-name References: <87y24gx32m.fsf@gnus.org> <86pmp0qbf5.fsf@mail.linkov.net> <87h7a9bifg.fsf@gnus.org> <86a6g0sv0w.fsf@mail.linkov.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUhICBdRTiaay6/ uKf///8oVM4CAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YBDQYDKa7RFE8AAAFiSURBVDjLhZSLsYQg DEUTtwESG5DYwGr6723zAZQ3Oi/j7CKHm8snCBBBGQAoEfsBPUr+cQKp/oJU2ngAWYVIKhMgs1Dh BpYqG5IJ2IZbuCKSLSzuaAkjPQI2J+atmyKN/Ba1ASQHBTvATfrwa6LxLtJbPVVMARaqDdDwCIDD u8IcyzYUc/AbkPICCJ4Blv8A4gz4TXFtYXlR4B+FwFsqfAbIy/MCrSqePA7AWh9SrQeO03BFwWws +tXzOoUsmlXVnkNPreXuoRaouhvY6eZhfXrSqhH1tpuLA8EEXeHOn1D4r/FeYJqpTqUYf7QVWlc7 FnMOXQOrngnSWWovVdUcQKuEQR2Z+k1jl5x73kIHYzPdQiSAPdfVtCq3jYrCRrPVcfRe0jUr/qNf 4PmQEthMryJyCbdL4rOYxp/Zz77+u4DoCODz/k4GvGEHU93Qnp+Nfc6EbPXRQVtE2y3yVkHsc8If qpEzrXeRwQUAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDEtMTNUMDY6MDM6NDErMDA6MDAyrzEL AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAxLTEzVDA2OjAzOjQxKzAwOjAwQ/KJtwAAAABJRU5E rkJggg== X-Now-Playing: James White & The Blacks's _Second Chance_: "Contort Yourself (Original British Mix)" Date: Thu, 13 Jan 2022 07:05:11 +0100 In-Reply-To: <86a6g0sv0w.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 12 Jan 2022 19:50:39 +0200") Message-ID: <87wnj49nmw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: >> So I think we should add both Juri's and Daniel's patches here. > > So I pushed both patches. Thanks; seems to work well, so I'm closing this bug report, then. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52605 Cc: 52605@debbugs.gnu.org, Daniel =?utf-8?Q?Mart=C3=ADn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov writes: >> So I think we should add both Juri's and Daniel's patches here. > > So I pushed both patches. Thanks; seems to work well, so I'm closing this bug report, then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 01:05:37 2022 Received: (at control) by debbugs.gnu.org; 13 Jan 2022 06:05:37 +0000 Received: from localhost ([127.0.0.1]:59741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7tEv-0000jZ-Eo for submit@debbugs.gnu.org; Thu, 13 Jan 2022 01:05:37 -0500 Received: from quimby.gnus.org ([95.216.78.240]:49936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7tEu-0000jN-4m for control@debbugs.gnu.org; Thu, 13 Jan 2022 01:05:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/gXf7zBFrh8dXZSBQjwpUYEXRD/hCo4ZWqokV2pzJ9c=; b=D4i8SlvmCFtzF9FFLoEAweqlh1 xNf1ss39ce3PSIDckxPwBKeyqo4NsAtWSSJZUE1scBYj2KyySCUUUnBn0WiVn0Gk7Ds/l3KDGGlc9 4honfTY9DZXVdaQCs0KqXyyaFMS9/v3fi/iOuW0iJETIz3AGMxENPu5MA8a1B93DH/LA=; 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 1n7tEm-0007yy-2G for control@debbugs.gnu.org; Thu, 13 Jan 2022 07:05:30 +0100 Date: Thu, 13 Jan 2022 07:05:25 +0100 Message-Id: <87sfts9nmi.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #52605 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 52605 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 52605 29.1 quit From unknown Tue Sep 23 08:11:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 10 Feb 2022 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator