From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [ANN] Improved Flyspell check Date: Fri, 08 Nov 2013 21:29:55 +0100 Message-ID: <86eh6qvdq4.fsf@somewhere.org> References: <87li154k6d.fsf@gmail.com> <87habt4b3r.fsf@gmail.com> <87li111kdb.fsf@gmail.com> <87wqkl9odt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Nicolas, Nicolas Goaziou wrote: > Eric Schulte writes: > >> I've been using this since it was sent, and I haven't noticed any bad >> behavior. > > Thanks for the feedback. > > BTW, I tried to add `org-self-insert-command' to > `flyspell-delayed-commands', since `self-insert-command' belongs to > `flyspell-default-delayed-commands', but I didn't notice any > improvement. Does this change anything for you? Do I have to write something special for having the Org-enhanced Flyspellin= g? I do have some configuration which I can reduce to this: --8<---------------cut here---------------start------------->8--- ;; Org-mode (add-to-list 'load-path "~/Public/Repositories/org-mode/testing") (add-to-list 'load-path "~/Public/Repositories/org-mode/contrib/lisp") (add-to-list 'load-path "~/Public/Repositories/org-mode/lisp") (setq ispell-dictionary "francais") (setq ispell-program-name "aspell") ;; enable on-the-fly spell checking (add-hook 'text-mode-hook (lambda () (flyspell-mode 1))) ;; prevent flyspell from finding mistakes in the code (add-hook 'prog-mode-hook (lambda () ;; `ispell-comments-and-strings' (flyspell-prog-mode))) --8<---------------cut here---------------end--------------->8--- Though, when opening the following Org file ... --8<---------------cut here---------------start------------->8--- #+TITLE: ECM pour Flyspell #+Time-stamp: <2013-11-08> #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en * D=C3=A9veloppement :PROPERTIES: :CATEGORY: Dev :END: ** DONE Engager firme de relations publiques :mail: DEADLINE: <2013-02-14 Thu> :LOGBOOK: CLOCK: [2013-02-05 Tue 09:00]--[2013-02-05 Tue 10:11] =3D> 1:11 - State "TODO" -> "STRT" [2013-02-05 Tue 17:48] - State "TODO" -> "STRT" [2013-08-19 Mon 15:16] :END: ** TODO Appeler Laura pour bug dans le code shell :phone: Le bout de code suivant a un probl=C3=A8me. #+begin_src sh wher command #+end_src --8<---------------cut here---------------end--------------->8--- ... many Org keywords are still underlined (such as TITLE, KEYWORDS, PROPERTIES, LOGBOOK, and code inside #+begin/end_src). Demo at http://screencast.com/t/zRDTt99M3ey. Best regards, Seb PS- Environment: - GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-10-19 on LEG570 - Org-mode version 8.2.1 (release_8.2.1-202-gea797e.dirty @ ~/Public/Repositories/org-mode/lisp/) --=20 Sebastien Vauban