From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Spelling correction keyboard fumble Date: 2 May 2016 06:19:46 GMT Message-ID: References: <87twikbo0y.fsf@hornfels.zedat.fu-berlin.de> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1464881928 21863 80.91.229.3 (2 Jun 2016 15:38:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2016 15:38:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 02 17:38:48 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b8Uhr-0000sw-40 for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 17:38:47 +0200 Original-Received: from localhost ([::1]:48078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Uhq-0001V8-Cv for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 11:38:46 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-X-Trace: individual.net QzHveQ4KcpEYebEpwMrm6QV80zENp84g2pyUpjk6ABVSQnNQZg Cancel-Lock: sha1:p76UVdgwRmjbImRDRkazWaZHMnM= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/1.0.1 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:217585 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110193 Archived-At: 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)