From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeffrey Spencer Newsgroups: gmane.emacs.help Subject: Re: Getting ispell to automatically accept first choice and alt+f to the end of the word Date: Tue, 06 Sep 2011 04:07:11 +1000 Message-ID: <4E650FCF.5050102@gmail.com> References: <4E64F718.9030903@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1315246040 31919 80.91.229.12 (5 Sep 2011 18:07:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2011 18:07:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 05 20:07:17 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R0dZk-0003nd-K9 for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Sep 2011 20:07:16 +0200 Original-Received: from localhost ([::1]:37363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0dZj-0006QP-CO for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Sep 2011 14:07:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0dZe-0006Q7-H2 for help-gnu-emacs@gnu.org; Mon, 05 Sep 2011 14:07:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0dZd-0002zb-J5 for help-gnu-emacs@gnu.org; Mon, 05 Sep 2011 14:07:10 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:57347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0dZd-0002zX-FI for help-gnu-emacs@gnu.org; Mon, 05 Sep 2011 14:07:09 -0400 Original-Received: by gwaa20 with SMTP id a20so3136217gwa.0 for ; Mon, 05 Sep 2011 11:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=q11LYB47cxZECGnsxAkCoUNRM/Q5xOsoaAiER/GoKkw=; b=SWpv3fzbY/bVj2afjOOpeP1VHtnbR7aCNUMJCOris88E+sYctH+TzrxJqaDPjZ5dIU 1GRsvdN6KRDBy0SWHPHKLBjs2/l/PN1XtH9yef4B8RZStejS8aXHweZFLl8edf2UcAbA pvbxBe/tyZAgtGcC2M0UHQO7fTXmN58QCpLEw= Original-Received: by 10.236.178.39 with SMTP id e27mr19166332yhm.99.1315246028956; Mon, 05 Sep 2011 11:07:08 -0700 (PDT) Original-Received: from [128.250.61.144] ([128.250.61.144]) by mx.google.com with ESMTPS id o21sm6414104yhi.8.2011.09.05.11.07.07 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Sep 2011 11:07:08 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110628 Thunderbird/5.0 In-Reply-To: <4E64F718.9030903@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82152 Archived-At: Nevermind I had figured out it is C-. but this wasn't working in terminal so set it to (M-.). The function I was using was 'flyspell-auto-correct-word. Another quick related question is this function doesn't move the cursor to the end of the word like it does with running the dabbrev command. Can this be modified to force it to go to the end of the word after running 'flyspell-auto-correct-word? I tried writing a function but it didn't work since I'm new to lisp programming it may have been off. This seems like a rather easy thing to do. On 09/06/2011 02:21 AM, Jeffrey Spencer wrote: > Is there a way to get ispell when hitting a keyboard command to > automatically accept the number one choice. I thought I used to know a > way to do this but can't remember the shortcut now. I believe it > cycles through the available choices but can't seem to find any docs > on it. > > Cheers, > Jeff >