* Spelling correction keyboard fumble
@ 2016-04-29 12:25 Loris Bennett
2016-05-02 6:19 ` Joost Kremers
0 siblings, 1 reply; 4+ messages in thread
From: Loris Bennett @ 2016-04-29 12:25 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
In a buffer using flyspell with a German dictionary, I had just typed
In adfrc.sh steht
when I had a keyboard fumble and hit some random keys. The above got
changed to
In Afrika.sh steht
In *Messages* I found:
Corrections: Africa Africa Aelfric defrock unfrock offtrack adfrc Africa Aelfric
Does anyone know what function I called and, correspondingly, which keys
I must have hit? And why is the list of corrections in English?
Cheers,
Loris
--
This signature is currently under construction.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Spelling correction keyboard fumble
2016-04-29 12:25 Spelling correction keyboard fumble Loris Bennett
@ 2016-05-02 6:19 ` Joost Kremers
2016-05-02 7:21 ` Loris Bennett
0 siblings, 1 reply; 4+ messages in thread
From: Joost Kremers @ 2016-05-02 6:19 UTC (permalink / raw)
To: help-gnu-emacs
Loris Bennett wrote:
> Hi,
>
> In a buffer using flyspell with a German dictionary, I had just typed
>
> In adfrc.sh steht
>
> when I had a keyboard fumble and hit some random keys. The above got
> changed to
>
> In Afrika.sh steht
>
> In *Messages* I found:
>
> Corrections: Africa Africa Aelfric defrock unfrock offtrack adfrc Africa Aelfric
>
> Does anyone know what function I called and, correspondingly, which keys
> I must have hit?
Probably `C-;`, which is bound to `flyspell-auto-correct-previous-word'.
You know, you can always use `C-h l` (view-lossage) to find out what
keys you just pressed. In Emacs 25, it even displays the commands the
keys you pressed are bound to.
> And why is the list of corrections in English?
Mmm... The obvious answer would be that `ispell-local-dictionary` is set
to "english" or some equivalent, but given that the corrected word is
"Afrika", which is obviously German, that can't be the case. So put me
down for a "beats me".
--
Joost Kremers joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Spelling correction keyboard fumble
2016-05-02 6:19 ` Joost Kremers
@ 2016-05-02 7:21 ` Loris Bennett
2016-05-02 11:49 ` Joost Kremers
0 siblings, 1 reply; 4+ messages in thread
From: Loris Bennett @ 2016-05-02 7:21 UTC (permalink / raw)
To: help-gnu-emacs
Hi Joost,
Joost Kremers <joost.m.kremers@gmail.com> writes:
> Loris Bennett wrote:
>> Hi,
>>
>> In a buffer using flyspell with a German dictionary, I had just typed
>>
>> In adfrc.sh steht
>>
>> when I had a keyboard fumble and hit some random keys. The above got
>> changed to
>>
>> In Afrika.sh steht
>>
>> In *Messages* I found:
>>
>> Corrections: Africa Africa Aelfric defrock unfrock offtrack adfrc Africa Aelfric
>>
>> Does anyone know what function I called and, correspondingly, which keys
>> I must have hit?
>
> Probably `C-;`, which is bound to
> `flyspell-auto-correct-previous-word'.
Yes, I think you are probably right.
> You know, you can always use `C-h l` (view-lossage) to find out what
> keys you just pressed. In Emacs 25, it even displays the commands the
> keys you pressed are bound to.
Thanks for reminding me about lossage. That's very much a passive part
of my Emacs vocabulary.
>> And why is the list of corrections in English?
>
> Mmm... The obvious answer would be that `ispell-local-dictionary` is set
> to "english" or some equivalent, but given that the corrected word is
> "Afrika", which is obviously German, that can't be the case. So put me
> down for a "beats me".
Trying out 'C-;' and switching dictionaries around between English and
German, I can't reproduce my original observation, so probably as well
as the keyboard fumble there was a bit of eye and/or brain fumble going
on as well ...
Cheers,
Loris
--
This signature is currently under construction.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Spelling correction keyboard fumble
2016-05-02 7:21 ` Loris Bennett
@ 2016-05-02 11:49 ` Joost Kremers
0 siblings, 0 replies; 4+ messages in thread
From: Joost Kremers @ 2016-05-02 11:49 UTC (permalink / raw)
To: help-gnu-emacs
Loris Bennett wrote:
>> Probably `C-;`, which is bound to
>> `flyspell-auto-correct-previous-word'.
>
> Yes, I think you are probably right.
It's quite a practical command, because you don't need to move point
back to the misspelled word. I use it all the time.
--
Joost Kremers joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-02 11:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-29 12:25 Spelling correction keyboard fumble Loris Bennett
2016-05-02 6:19 ` Joost Kremers
2016-05-02 7:21 ` Loris Bennett
2016-05-02 11:49 ` Joost Kremers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).