From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Orgmode and flyspell Date: Mon, 9 May 2011 15:31:11 -0500 Message-ID: References: <2692.1304972359@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJX6n-0000Pr-RT for emacs-orgmode@gnu.org; Mon, 09 May 2011 16:31:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJX6n-0004j0-0f for emacs-orgmode@gnu.org; Mon, 09 May 2011 16:31:13 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:60056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJX6m-0004im-N2 for emacs-orgmode@gnu.org; Mon, 09 May 2011 16:31:12 -0400 Received: by bwz17 with SMTP id 17so5566145bwz.0 for ; Mon, 09 May 2011 13:31:11 -0700 (PDT) In-Reply-To: <2692.1304972359@alphaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Org Mode How can I bind contextually like you did (Only when flyspell finds an error) ? Thanks! On Mon, May 9, 2011 at 3:19 PM, Nick Dokos wrote: > Marcelo de Moraes Serpa wrote: > > >> I have activated flyspell-mode (using aspell under the hood) and while >> the detection of spelling errors work OK, I can't get the mouse-2 >> functionality on org buffers. The org context menu comes instead. Does >> anyone know how to deal with it? >> > > Maybe you are binding mouse-2 explicitly somewhere? In my case, > down-mouse-2 is bound to mouse-yank-primary normally, except when > flyspell has detected an error, in which case it is bound to > flyspell-correct-word when on the incorrect word overlay (and C-h c > at that point says so.) > > Nick >