From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jai Flack Newsgroups: gmane.emacs.devel Subject: Re: [NonGNU] New packages: avy-menu, flyspell-correct and friends Date: Tue, 17 May 2022 08:59:48 +0000 Message-ID: <87y1z0y1ob.fsf@posteo.net> References: <87y1z2i18m.fsf@posteo.net> <87zgjhwfjj.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19773"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 17 13:51:36 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nqvjk-0004xy-G9 for ged-emacs-devel@m.gmane-mx.org; Tue, 17 May 2022 13:51:36 +0200 Original-Received: from localhost ([::1]:57042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqvjj-0005wn-3t for ged-emacs-devel@m.gmane-mx.org; Tue, 17 May 2022 07:51:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqt3h-00051O-Gt for emacs-devel@gnu.org; Tue, 17 May 2022 05:00:01 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:37411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqt3e-0007C0-Pg for emacs-devel@gnu.org; Tue, 17 May 2022 05:00:01 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A47AC24002B for ; Tue, 17 May 2022 10:59:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1652777994; bh=4CMWwqhZ6SytYGfGzxfBhKSaVOyI/zlHH0fquhF17KU=; h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From; b=cCkYjdy0lpFDkihwN6NJgLVRI2p+MuTked/hfH4JGkN6slpudwVn6ECjbUc+D+GNy Q4Xt074TY1Th8lg6fmLLzyNYToFhsm092g/YOa/JDCVU52O9NNwlj0GKNYmZQYg3TL YSc+PajcSLIgChp2KmEXq5OXrAC8oLCio0XLneuwywcUMQ9eMNzpd10FJVN4svI0yk XSCK8JsY3dApjnd8ly7wZMMFOK2nRj6YJIVGKUpyQ8Ec+K3vsbGwzZH7J43SpEJ3Vp gAMiPGipczQizGJDQROljr2TUCQ15lhu7jzR1F6E+R5dhrLEoIRNjnjc027a/GfQkd qRi3KYYNSMpog== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L2VS86Dr4z9rxf; Tue, 17 May 2022 10:59:52 +0200 (CEST) In-Reply-To: <87zgjhwfjj.fsf@posteo.net> (Philip Kaludercic's message of "Mon, 16 May 2022 17:30:56 +0000") Autocrypt: addr=jflack@posteo.net; keydata=xsFNBGJIFUgBEACetRpyAEayP9fB/LvYi9sUIQwXH5EKN6uHrjc6RqlKju6jx2tu2F0HYjsiJ1xUfUUhuwdrEFpAGxM9XHFbNhrtIAh0ckOiALMexQP+n6uJgSq/u+3gqdKVmI2cgb2ruEcDR1t9QpuETTKPNj7k8sQoUjj907kACVL/XKfJC9csbAECYtfbbWtl6KJi5qQsF1N3kyHtF6k6Ly/tkq+CPY9RkEkraWNhJtrE509g/BbIIn3BzvrtboDwOX2JucrBojfaehvRzWnwrbTxTb+tsIjBSrFNJgOwa0PYtF7F15nCZ9254DJA7oyBqY/4B8iGGYbVBeQdU0/noVtui9JlLzU9tKOfKjm+js1Eu9vlAK2poZaR7uMy3cOQ+SPh7BdMSE/4HThDil6nq/LaPmX/bS1rFR01ztLxM/YEeDTWXT9/mqWM7l06Am0xCK8m99MjKnJiWtsUu4eQdw53GJL563RRw9rnOVEib8nbZcBWu5PfF8hnzyKgPe8fTjJBln1kZbbVv/ytxFXMlwwJPSD5xVPmaTo7gn1gBgoQ2w6CH4OVAdLLa9E0cVsq4w7NcZk2wfryYRylz4h/hdxkuatjq/f6SR860IfgPcS9IFszATRw/PGswx4FeffuV6UoPvMdWQy4KJQ239ou+5Hecce6Y4gYosC1yK34YMgjXEH04um5gwARAQABzRFqZmxhY2tAcG9zdGVvLm5ldMLBlAQTAQoAPhYhBDIm8Qj4YWAFs5cgmxqfJR2Uid2eBQJiSBVIAhsDBQkFo5q ABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEBqfJR2Uid2ecj8QAJEcWZf+HM OpenPGP: url=https://posteo.de/keys/jflack@posteo.net.asc Received-SPF: pass client-ip=185.67.36.65; envelope-from=jflack@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 17 May 2022 07:40:48 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289840 Archived-At: Philip Kaludercic writes: > Jai Flack writes: > >> Hello everyone. >> >> I would like to submit the following packages [1,2] for submission to >> NonGNU ELPA (patches attached). >> >> - avy-menu >> >> - flyspell-correct >> - flyspell-correct-avy-menu >> - flyspell-correct-helm >> - flyspell-correct-ido >> - flyspell-correct-ivy >> - flyspell-correct-popup > > Could you perhaps briefly explain what these packages do? Why the need > for special helm, ido, ivy packages instead of using completing-read? That would be helpful wouldn't it ;). - avy-menu I'm requesting avy-menu for completeness because it is a dependency flyspell-correct-avy-menu. It will offer selection options in a temporary window at the bottom of the screen which are selectable using avy. - flyspell-correct A wrapper around flyspell to make writing interfaces such as the ones below easier. It defines an interface for correcting spelling errors with flyspell, allowing the interface (method of selecting replacements) to be customised by setting `flyspell-correct-interface'. It defines four functions for the user - flyspell-correct-wrapper :: offers corrections for the first incorrect word before point, whether it should keep correcting words and the traversal direction can be changed with C-u. - flyspell-correct-at-point :: offers corrections for word at point using the interface. - flyspell-correct-previous, flyspell-correct-next :: offers corrections for any incorrect word before or after point. It fixes a couple issues I have with the current Ispell / flyspell interface: - Many of the flyspell commands default to showing a GUI menu - Many of the flyspell commands like `flyspell-correct-word-before-point' won't correct a word too far away from point - M-x ispell will start from the beginning of the buffer instead of at point, possibly many marked words away from the one you intended to correct - flyspell-correct-avy-menu - flyspell-correct-helm - flyspell-correct-ido - flyspell-correct-ivy - flyspell-correct-popup These implement a simple `flyspell-correct-interface' for the given package postfix. >> [1] https://github.com/mrkkrp/avy-menu >> [2] https://github.com/d12frosted/flyspell-correct >> >> From de3ab4d80895b09b47172140d06cfe02d6b061e8 Mon Sep 17 00:00:00 2001 >> From: Jai Flack >> Date: Mon, 16 May 2022 13:46:39 +1000 >> Subject: [PATCH] * elpa-packages (avy-menu): New package >> >> --- >> elpa-packages | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/elpa-packages b/elpa-packages >> index 734584008d..7c1b7128d6 100644 >> --- a/elpa-packages >> +++ b/elpa-packages >> @@ -45,6 +45,9 @@ >> ("autothemer" :url "https://github.com/jasonm23/autothemer.git" >> :readme "readme.md") >> >> + ("avy-menu" :url "https://github.com/mrkkrp/avy-menu" >> + :ignored-files (".github" "default.nix")) >> + >> ("better-jumper" :url "https://github.com/gilbertw1/better-jumper.git" >> :readme "Readme.md" >> :ignored-files ("LICENSE")) >> -- >> 2.30.2 >> >> >> From 466ab8a0a1e2694b34e74109f7460802b1212a85 Mon Sep 17 00:00:00 2001 >> From: Jai Flack >> Date: Mon, 16 May 2022 13:09:02 +1000 >> Subject: [PATCH] * elpa-packages (flyspell-correct): New package >> >> * elpa-packages (flyspell-correct-avy-menu): New package >> * elpa-packages (flyspell-correct-helm): New package >> * elpa-packages (flyspell-correct-ido): New package >> * elpa-packages (flyspell-correct-ivy): New package >> * elpa-packages (flyspell-correct-popup): New package >> --- >> elpa-packages | 42 ++++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 42 insertions(+) >> >> diff --git a/elpa-packages b/elpa-packages >> index 7c1b7128d6..3fa6a7c994 100644 >> --- a/elpa-packages >> +++ b/elpa-packages >> @@ -163,6 +163,48 @@ >> ("flymake-kondor" :url "https://github.com/turbo-cafe/flymake-kondor" >> :ignored-files ("COPYING.txt")) >> >> + ("flyspell-correct" :url "https://github.com/d12frosted/flyspell-correct" >> + :news "CHANGELOG.org" >> + :ignored-files (".github" "images" "test" "Cask" "LICENSE.md" "Makefile" >> + "flyspell-correct-avy-menu.el" "flyspell-correct-helm.el" >> + "flyspell-correct-ido.el" "flyspell-correct-ivy.el" >> + "flyspell-correct-popup.el" "makem.sh")) > > These specifications could be simplified if you were to use separate > branches for each package. This is not my package. Unless you are suggesting I request this change from upstream? >> + ("flyspell-correct-avy-menu" :url "https://github.com/d12frosted/flyspell-correct" >> + :news "CHANGELOG.org" >> + :ignored-files (".github" "images" "test" "Cask" "LICENSE.md" "Makefile" >> + "flyspell-correct-helm.el" "flyspell-correct-ido.el" >> + "flyspell-correct-ivy.el" "flyspell-correct-popup.el" >> + "flyspell-correct.el" "makem.sh")) >> + >> + ("flyspell-correct-helm" :url "https://github.com/d12frosted/flyspell-correct" >> + :news "CHANGELOG.org" >> + :ignored-files (".github" "images" "test" "Cask" "LICENSE.md" "Makefile" >> + "flyspell-correct-avy-menu.el" "flyspell-correct-ido.el" >> + "flyspell-correct-ivy.el" "flyspell-correct-popup.el" >> + "flyspell-correct.el" "makem.sh")) >> + >> + ("flyspell-correct-ido" :url "https://github.com/d12frosted/flyspell-correct" >> + :news "CHANGELOG.org" >> + :ignored-files (".github" "images" "test" "Cask" "LICENSE.md" "Makefile" >> + "flyspell-correct-avy-menu.el" "flyspell-correct-helm.el" >> + "flyspell-correct-ivy.el" "flyspell-correct-popup.el" >> + "flyspell-correct.el" "makem.sh")) >> + >> + ("flyspell-correct-ivy" :url "https://github.com/d12frosted/flyspell-correct" >> + :news "CHANGELOG.org" >> + :ignored-files (".github" "images" "test" "Cask" "LICENSE.md" "Makefile" >> + "flyspell-correct-avy-menu.el" "flyspell-correct-helm.el" >> + "flyspell-correct-ido.el" "flyspell-correct-popup.el" >> + "flyspell-correct.el" "makem.sh")) >> + >> + ("flyspell-correct-popup" :url "https://github.com/d12frosted/flyspell-correct" >> + :news "CHANGELOG.org" >> + :ignored-files (".github" "images" "test" "Cask" "LICENSE.md" "Makefile" >> + "flyspell-correct-avy-menu.el" "flyspell-correct-helm.el" >> + "flyspell-correct-ido.el" "flyspell-correct-ivy.el" >> + "flyspell-correct.el" "makem.sh")) >> + >> ("forth-mode" :url "https://github.com/larsbrinkhoff/forth-mode" >> :ignored-files ("test" "Makefile" "compile.el")) >> >> -- >> 2.30.2 -- Thanks, Jai