From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Robin Norwood Newsgroups: gmane.emacs.help Subject: using ispell to check a word under the mouse pointer Date: 30 Jun 2003 15:02:20 -0400 Organization: Red Hat, Inc. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1057005216 5294 80.91.224.249 (30 Jun 2003 20:33:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2003 20:33:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 30 22:33:35 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19X5Jv-0001G0-00 for ; Mon, 30 Jun 2003 22:32:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19X58u-0001RK-2r for gnu-help-gnu-emacs@m.gmane.org; Mon, 30 Jun 2003 16:20:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19X4nx-0005nn-Vw for help-gnu-emacs@gnu.org; Mon, 30 Jun 2003 15:59:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19X3vv-0003p3-8V for help-gnu-emacs@gnu.org; Mon, 30 Jun 2003 15:03:24 -0400 Original-Received: from nat-pool-rdu.redhat.com ([66.187.233.200] helo=robin.devel.redhat.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19X3uO-0002vf-WC for help-gnu-emacs@gnu.org; Mon, 30 Jun 2003 15:01:49 -0400 Original-Received: (from rnorwood@localhost) by robin.devel.redhat.com (8.11.6/8.11.6) id h5UJ2Ko29038; Mon, 30 Jun 2003 15:02:20 -0400 X-Authentication-Warning: robin.devel.redhat.com: rnorwood set sender to rnorwood@redhat.com using -f Original-To: help-gnu-emacs@gnu.org Original-Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11351 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11351 --=-=-= 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: --=-=-= Content-Type: message/rfc822 Content-Disposition: inline MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --=-=-= 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 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs --=-=-=--