From: David Hansen <david.hansen@gmx.net>
Subject: Re: binding flyspell-correct-word to a key?
Date: Fri, 19 May 2006 20:45:51 +0200 [thread overview]
Message-ID: <87u07lc0ps.fsf@robotron.kosmorama> (raw)
In-Reply-To: e4kp13$lt8$1@sea.gmane.org
On Fri, 19 May 2006 09:41:45 -0600 Kevin Rodgers wrote:
> emacs user wrote:
>> would anyone happen to know how to bind flyspell-correct-word to a key
>> under xterm with no X-windows? thanks... EU
>
> You can't, because that command requires an event argument via
> (interactive "e"), and the Emacs Lisp manual explains the
> `e' code:
>
> [...]
>
> Maybe you could define a new command that calls flyspell-correct-word
> with a synthetic generated event, and then bind the new
> command to a key. (The event is passed to mouse-set-point
> and flyspell-emacs-popup,
or just use
,----[ C-h f flyspell-auto-correct-word RET ]
| flyspell-auto-correct-word is an interactive compiled Lisp function in `flyspell.el'.
| It is bound to C-., M-TAB.
| (flyspell-auto-correct-word)
|
| Correct the current word.
| This command proposes various successive corrections for the current word.
|
`----
David
prev parent reply other threads:[~2006-05-19 18:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-19 11:58 binding flyspell-correct-word to a key? emacs user
2006-05-19 15:41 ` Kevin Rodgers
2006-05-19 18:45 ` David Hansen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87u07lc0ps.fsf@robotron.kosmorama \
--to=david.hansen@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).