unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xah <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: flyspell-mode and two languages
Date: Sat, 18 Oct 2008 15:59:49 -0700 (PDT)	[thread overview]
Message-ID: <7f4e73e0-5ddd-4e58-b0b4-ba82d54bceaf@d10g2000pra.googlegroups.com> (raw)
In-Reply-To: mailman.1409.1224288908.25473.help-gnu-emacs@gnu.org

On Oct 17, 5:15 pm, Nikolaj Schumacher <m...@nschum.de> wrote:

> > flyspell''?
>
> I never use the mouse in Emacs, but now that I check it says
> "mouse-2: correct word at point"
>
> That would be the /middle/ button, right?

Ah, the middle button. Hot damn.

> Since Macs don't have middle buttons, this binds it to secondary click:

Macs now do have middle button, since Apple introduced its hand-
crippling Mighty mouse in 2005.
http://en.wikipedia.org/wiki/Apple_Mighty_Mouse

i have my might mouse sitting in dust.

> (define-key flyspell-mouse-map '[(down-mouse-3)] 'flyspell-correct-word)

It needs the hook, else emacs complaints that the map is nil when
starting up. For newbies, here's the code:

(add-hook 'flyspell-mode-hook
 (lambda ()
   (define-key flyspell-mouse-map (kbd "<mouse-3>") 'flyspell-correct-
word)
 )
)

Thanks for clearing up the issues. It seems now i don't have much need
for speck-mode ...

PS when one accumulated good sized vocabs, is there a place one can
send the “~/.aspell.en.pws” file to its developers?

  Xah
∑ http://xahlee.org/

      parent reply	other threads:[~2008-10-18 22:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17 20:02 flyspell-mode and two languages Memnon Anon
2008-10-17 20:11 ` harven
2008-10-17 21:35 ` Xah
2008-10-17 22:02   ` Eli Zaretskii
2008-10-18  0:15     ` Nikolaj Schumacher
2008-10-18  8:43       ` Eli Zaretskii
2008-10-18  8:55         ` Teemu Likonen
2008-10-18  9:24           ` Eli Zaretskii
     [not found]     ` <mailman.1409.1224288908.25473.help-gnu-emacs@gnu.org>
2008-10-18 22:59       ` Xah [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=7f4e73e0-5ddd-4e58-b0b4-ba82d54bceaf@d10g2000pra.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@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.
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).