Re: How to jump from one spelling mistake to the next?

2021-03-20 Thread Joost Kremers


On Sat, Mar 20 2021, Dr. Arne Babenhauserheide wrote:
> Kyle Meyer  writes:
>
>> Sharon Kimble writes:
>>
>>> When I'm writing in org-mode I very often make spelling mistakes which I
>>> can go back to later to correct. So how can I jump from one mistake to
>>> the next please?
>>
>> If you have Flyspell mode enabled in the buffer,
>> flyspell-goto-next-error (bound to `C-,' by default) will jump to the
>> next marked word, cycling around once you've reached the last marked
>> word in the buffer.

Also, if you have flyspell-mode enabled, `C-;` is bound to
`flyspell-auto-correct-previous-word`. It'll correct the last misspelled word
preceding point (though there may be correctly spelled words between point and
the misspelled word). Type `C-;` multiple times to cycle through different
correction suggestions. Because you don't need to move back to the misspelled
word to correct it, you can correct words while you type without interrupting
the flow too much.

YMMV, of course.

-- 
Joost Kremers
Life has its moments



Re: How to jump from one spelling mistake to the next?

2021-03-20 Thread Dr. Arne Babenhauserheide

Kyle Meyer  writes:

> Sharon Kimble writes:
>
>> When I'm writing in org-mode I very often make spelling mistakes which I
>> can go back to later to correct. So how can I jump from one mistake to
>> the next please?
>
> If you have Flyspell mode enabled in the buffer,
> flyspell-goto-next-error (bound to `C-,' by default) will jump to the
> next marked word, cycling around once you've reached the last marked
> word in the buffer.

I typically use flyspell-mode along with control-lock-mode (M-x
control-lock-enable), then I simply hit , to jump to the next word and .
to cycle the corrections.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken


signature.asc
Description: PGP signature


Re: How to jump from one spelling mistake to the next?

2021-03-19 Thread Kyle Meyer
Samuel Wales writes:

> i wonder why the generic next-error is not used.

Hmm, good question.  Ignoring any historical reasons for why flyspell
does what it does, a quick search on the Emacs lists makes me think at
least one open issue is how to prioritize/combine different next-error
sources:

 * https://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00207.html
   87zi2esn7l@mail.linkov.net

 * https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30674#8
   87a7vkrelc@mail.linkov.net

That's getting a bit off-topic for the Org mode list though...



Re: How to jump from one spelling mistake to the next?

2021-03-19 Thread Samuel Wales
i wonder why the generic next-error is not used.

On 3/19/21, Kyle Meyer  wrote:
> Sharon Kimble writes:
>
>> When I'm writing in org-mode I very often make spelling mistakes which I
>> can go back to later to correct. So how can I jump from one mistake to
>> the next please?
>
> If you have Flyspell mode enabled in the buffer,
> flyspell-goto-next-error (bound to `C-,' by default) will jump to the
> next marked word, cycling around once you've reached the last marked
> word in the buffer.
>
> There's also `M-x ispell', which provides an interface for going through
> misspelled words and presents you with suggestions.
>
> See (info "(emacs)Spelling") for more information.
>
>


-- 
The Kafka Pandemic

Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html



Re: How to jump from one spelling mistake to the next?

2021-03-19 Thread Kyle Meyer
Sharon Kimble writes:

> When I'm writing in org-mode I very often make spelling mistakes which I
> can go back to later to correct. So how can I jump from one mistake to
> the next please?

If you have Flyspell mode enabled in the buffer,
flyspell-goto-next-error (bound to `C-,' by default) will jump to the
next marked word, cycling around once you've reached the last marked
word in the buffer.

There's also `M-x ispell', which provides an interface for going through
misspelled words and presents you with suggestions.

See (info "(emacs)Spelling") for more information.



Re: How to jump from one spelling mistake to the next?

2021-03-19 Thread Timothy


Sharon Kimble  writes:

> So in that example how do I jump, using the keyboard only, from the
> misspelled apples to the misspelled oranges so that I can correct them?

With a package like spell-fu or flyspell you'll be able to find a
command like `spell-fu-goto-previous-error'. Bind that to some
keybinding and there you go :)

--
Timothy



How to jump from one spelling mistake to the next?

2021-03-19 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


When I'm writing in org-mode I very often make spelling mistakes which I
can go back to later to correct. So how can I jump from one mistake to
the next please?

For example -

- --8<---cut here---start->8---
John likes applles but Sarah likes orangies.
- --8<---cut here---end--->8---
  
So in that example how do I jump, using the keyboard only, from the
misspelled apples to the misspelled oranges so that I can correct them?

Thanks
  Sharon.  
- -- 
Debian 10.7, fluxbox 1.3.7, emacs 28.0.50, org 9.4.4
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmBVVysbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbDuYP/1mj5JcjTcK9+lxrNveB
AE2AtlU52JgdakCCnFTZ9cIUM3qdLelpP4uZkKUiLkmaqK3va9fD9Bp7DdlsolJy
Z/YbJv8xXSdeXJPXUW0kZMFJlUsMpJClcGELnwv1Vvy1XrEeZR4nz7VaVgOMtGzT
x2bWp+Njv70a/C6hJC0bhQ2JfERGg0A6QM0ihe8kWPrfNoIA9q0vYRxpnex0wzJW
6bn1Jf8e+t/a1sSiKiWwnny6mUv17dJr/H0WXkFcl6Dna80Hy6zyfrElelMSoR//
Jkh0vRKN3wu/N7yWzPgsWB+gSC6J8VoBRZSePvLI8rDAzVu1P4ovepHJeKGpwh7w
Azt1gg4j9Zdr6WikpVfzLKaSnWsLK/IOHuHTF3xWmF9GUygxr3MkE7DtvD43T88j
0InvCK1Ha/pQAE3R8THJAXIzhAc88QSV8WuAlEX7CpHaIpkRFHsCedN16w6Noxlm
jst1AZzaiPHWBtqssuox/kPF3s9w8ZScUjxP57xTNFY0PB3ZRKQCdfQxfC0O0hf1
+lBY9uZVluTfJNPiyJ0rwrOftJx6K65+//QgJf2wO4kBceNG8EPci9fVeV8wE/GN
qYOK3OjeO9Ay7hTnNvv3PcXZoo20hCPUNIW3wLe7I5U5HSPoogE0QoYakLhdKQWw
iwK/WTeQPMWtuvhEqsifbTdS
=+Ws4
-END PGP SIGNATURE-