From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: Right click on link bug Date: Tue, 20 Mar 2007 12:52:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HTdqp-0006PS-Gp for emacs-orgmode@gnu.org; Tue, 20 Mar 2007 08:54:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTdqk-0006Di-ON for emacs-orgmode@gnu.org; Tue, 20 Mar 2007 08:54:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTdqk-0006DY-Kl for emacs-orgmode@gnu.org; Tue, 20 Mar 2007 07:54:02 -0500 Received: from ppsw-9.csi.cam.ac.uk ([131.111.8.139]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HTdpB-0002nc-6j for emacs-orgmode@gnu.org; Tue, 20 Mar 2007 08:52:25 -0400 In-Reply-To: (Carsten Dominik's message of "Sun\, 18 Mar 2007 23\:55\:44 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org On 2007-03-18, Carsten Dominik said: > On Mar 18, 2007, at 22:46, Leo wrote: >> >> For example, if I have an internal link [[* MFE][MFE]], mouse1 won't >> bring it to the right place. This is when it is rather inconvenient. > > I guess this could be a start: > > (defun org-flyspell-predicate () > (not (org-at-regexp-p org-bracket-link-regexp))) > (add-hook 'org-mode-hook > (lambda () (setq flyspell-generic-check-word-predicate > 'org-flyspell-predicate))) > > - Carsten This fixed the internal link problem mentioned above. Thanks. -- Leo (GPG Key: 9283AA3F)