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

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

using ispell to check a word under the mouse pointer


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

Hi,

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)


Which launches ispell, but checks the word at or before the insertion
point/cursor...which is correct, according to the docs for
ispell-word.

Is there a '-mouse' version of ispell-word available, or some other
fanciness to get this to work?

GNU Emacs 21.2.1
ispell.el 3.6 - 01/07/2003

To add a second ispell question, I'm using ispell-message to
spell check messages before they are sent - it does a good job ignoring
headers and quotes, but when forwarding mail in Gnus (C-c-C-f), the
message I am forwarding is enclosed in:

--- Begin Message ---
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

--- End Message ---

It would be nice if ispell would ignore everything in between 
and MIME-Version: 1.0
, and just check any text I've added above or below.  Any
idea why it doesn't do this?

Thanks,

-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]