unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: 21125@debbugs.gnu.org
Subject: bug#21125: 24.5; flyspell only works with mouse
Date: Thu, 23 Jul 2015 22:19:48 -0300	[thread overview]
Message-ID: <878ua6cpxn.fsf@moondust.localdomain> (raw)
In-Reply-To: <87fv4ecqby.fsf@moondust.localdomain> (N. Jackson's message of "Thu, 23 Jul 2015 22:11:13 -0300")

At 22:11 -0300 on Thursday 2015-07-23, N. Jackson wrote:

> In Section 16.4, "Checking and Correcting Spelling", of the manual (info
> "(emacs) Spelling"), it says:
>
>     When Flyspell mode highlights a word as misspelled, you can click on
>     it with ‘Mouse-2’ to display a menu of possible corrections and
>     actions.
>
> If there is a command to do this from the keyboard it is not documented
> here.

> Please consider making flyspell usable from the keyboard. (Or, if it
> already is and I'm simply missing something, please document it.)

Ah! I find that there is a flyspell-correct-word-before-point, already
set up with a key binding.

    flyspell-correct-word-before-point is an interactive compiled Lisp
    function in `flyspell.el'.

    It is bound to C-c $.

Perhaps this could be documented in the manual? Something like:

    When Flyspell mode highlights a word as misspelled, you can
    position point on it and type `C-c $' (or click on it with
    `Mouse-2') to display a menu of possible corrections and actions.

Also, this command pops up a graphical menu of options on my system.
This menu can be navigated fine from the keyboard which is good.
Nonetheless, it seems a bit incongruous to get a graphical menu in
response to a command from the keyboard. Might a minibuffer prompt or
completions list or an interface like the one used for ispell-buffer be
more appropriate? (I don't know, just asking.)





  reply	other threads:[~2015-07-24  1:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-24  1:11 bug#21125: 24.5; flyspell only works with mouse N. Jackson
2015-07-24  1:19 ` N. Jackson [this message]
2015-07-24  7:33   ` Eli Zaretskii
2015-07-24 17:40     ` N. Jackson

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=878ua6cpxn.fsf@moondust.localdomain \
    --to=nljlistbox2@gmail.com \
    --cc=21125@debbugs.gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).