From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50443: Fwd: Flyspell error traversal additions Date: Thu, 09 Sep 2021 20:24:44 +0300 Organization: LINKOV.NET Message-ID: <87mtolviln.fsf@mail.linkov.net> References: <87sg6lchgc.fsf@kallio.app> <87r1m5ch9n.fsf@kallio.app> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37638"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 50443@debbugs.gnu.org, roni kallio To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 09 20:01:11 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 1mOOMI-0009cT-LH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 20:01:10 +0200 Original-Received: from localhost ([::1]:53110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOOMH-0005sL-Js for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Sep 2021 14:01:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOOKH-0003WM-8N for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 13:59:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOOKG-00065S-KD for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 13:59:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOOKG-0007in-KA for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2021 13:59:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Sep 2021 17:59:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50443 X-GNU-PR-Package: emacs Original-Received: via spool by 50443-submit@debbugs.gnu.org id=B50443.163121029829523 (code B ref 50443); Thu, 09 Sep 2021 17:59:04 +0000 Original-Received: (at 50443) by debbugs.gnu.org; 9 Sep 2021 17:58:18 +0000 Original-Received: from localhost ([127.0.0.1]:36158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOOJW-0007g7-Dw for submit@debbugs.gnu.org; Thu, 09 Sep 2021 13:58:18 -0400 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:47923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOOJU-0007fd-MM for 50443@debbugs.gnu.org; Thu, 09 Sep 2021 13:58:17 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 9C557200005; Thu, 9 Sep 2021 17:58:08 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Tue, 7 Sep 2021 02:22:29 +0200") 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:213936 Archived-At: > IMO the best course of action would be to modify > `flyspell-goto-next-error' to accept a prefix argument. The prefix > would control the direction and number of jumps performed; negative > arguments would jump backwards -ARG errors (by calling > flyspell-goto-previous-error), while positive arguments would jump > forwards ARG errors. This would be similar to how commands like > `forward-word' handle prefix arguments. This would allow us to leave > the mode-map unchanged, but still distribute the improvement to all > users. Adding a negative argument to `flyspell-goto-next-error' is the most non-conflicting solution. There was an idea to use 'M-g n' and 'M-g p' to navigate flyspell errors. But I don't believe this is workable since often 'M-g n' and 'M-g p' are needed to navigate errors or search hits displayed in another window with a list of results.