[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug]org-mode with flyspell-mode freezes emacs
From: |
martin rudalics |
Subject: |
Re: [bug]org-mode with flyspell-mode freezes emacs |
Date: |
Tue, 17 Oct 2006 19:49:00 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> I just found out that the emacs-wiki and muse people have been
> struggling with the same problem. Their fix was to use
> inhibit-point-motion-hooks. This points into the direction that a
> search function gets thrown off into a loop by the point-motion-hooks.
Indeed binding `inhibit-point-motion-hooks' is more decent than my
earlier proposal. Try the attached patch.
*** flyspell.el.~1.106.~ Sat Sep 23 11:08:58 2006
--- flyspell.el Tue Oct 17 19:31:34 2006
***************
*** 959,964 ****
--- 959,965 ----
(defun flyspell-word-search-backward (word bound)
(save-excursion
(let ((r '())
+ (inhibit-point-motion-hooks t)
p)
(while (and (not r) (setq p (search-backward word bound t)))
(let ((lw (flyspell-get-word '())))
***************
*** 973,978 ****
--- 974,980 ----
(defun flyspell-word-search-forward (word bound)
(save-excursion
(let ((r '())
+ (inhibit-point-motion-hooks t)
p)
(while (and (not r) (setq p (search-forward word bound t)))
(let ((lw (flyspell-get-word '())))
- Re: [bug]org-mode with flyspell-mode freezes emacs, Leo, 2006/10/12
- Re: [bug]org-mode with flyspell-mode freezes emacs, Richard Stallman, 2006/10/15
- Re: [bug]org-mode with flyspell-mode freezes emacs, Carsten Dominik, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, Carsten Dominik, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, Richard Stallman, 2006/10/16
- Re: [bug]org-mode with flyspell-mode freezes emacs, Nick Roberts, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, Carsten Dominik, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, Carsten Dominik, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, martin rudalics, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs,
martin rudalics <=
- Re: [bug]org-mode with flyspell-mode freezes emacs, Carsten Dominik, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, Stefan Monnier, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, Lennart Borgman, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, David Kastrup, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, Lennart Borgman, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, David Kastrup, 2006/10/17
- RE: [bug]org-mode with flyspell-mode freezes emacs, Drew Adams, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, Carsten Dominik, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, David Kastrup, 2006/10/17
- Re: [bug]org-mode with flyspell-mode freezes emacs, Carsten Dominik, 2006/10/18