From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: using ispell to check a word under the mouse pointer Date: Mon, 30 Jun 2003 22:51:23 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84fzlrjnlg.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1057007490 16758 80.91.224.249 (30 Jun 2003 21:11:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2003 21:11:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 30 23:11:29 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 19X5vt-0004M8-00 for ; Mon, 30 Jun 2003 23:11:29 +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 19X5kL-0008Nq-Qq for gnu-help-gnu-emacs@m.gmane.org; Mon, 30 Jun 2003 16:59:33 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!pd9e1e14b.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: pd9e1e14b.dip.t-dialin.net (217.225.225.75) Original-X-Trace: fu-berlin.de 1057006286 33331095 217.225.225.75 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:+CIw2/G7FGIEHgwTKlZhDMoN09g= Original-Xref: shelby.stanford.edu gnu.emacs.help:114860 Original-To: help-gnu-emacs@gnu.org 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:11353 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11353 Robin Norwood 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)) -- ~/.signature