help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using ispell to check a word under the mouse pointer


From: Robin Norwood
Subject: Re: using ispell to check a word under the mouse pointer
Date: 30 Jun 2003 17:51:35 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

address@hidden (Kai Gro├čjohann) writes:

> Robin Norwood <address@hidden> writes:
> 
> > I'm trying to get ispell to spell check a word under the mouse pointer
> > after a mouse click.  I have in my .emacs:
> >
> >
> > ;; ispell
> > (global-set-key [(M-S-mouse-3)] 'ispell-word)
> 
> (defun robin-ispell-word-mouse (e)
>   (interactive "e")
>   (mouse-set-point e)
>   (ispell-word))

Delightful!  That works like a charm, thanks!

BTW, I notice that your signature is:

~/.signature

Is that intentional?  I can't quite tell if it's a misconfiguration,
or you're being clever.  :-)

-RN

-- 
Robin Norwood
Red Hat, Inc.

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching




reply via email to

[Prev in Thread] Current Thread [Next in Thread]