emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: [ANN] Improved Flyspell check
Date: Fri, 08 Nov 2013 21:29:55 +0100	[thread overview]
Message-ID: <86eh6qvdq4.fsf@somewhere.org> (raw)
In-Reply-To: 87wqkl9odt.fsf@gmail.com

Hello Nicolas,

Nicolas Goaziou wrote:
> Eric Schulte <schulte.eric-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 Flyspelling?

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éveloppement
  :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] =>  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ème.

#+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/)

-- 
Sebastien Vauban

  reply	other threads:[~2013-11-08 20:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-03 14:46 [ANN] Improved Flyspell check Nicolas Goaziou
2013-11-03 18:02 ` Nicolas Goaziou
2013-11-06 18:00   ` Eric Schulte
2013-11-06 22:06     ` Nicolas Goaziou
2013-11-08 20:29       ` Sebastien Vauban [this message]
2013-11-08 21:48         ` Nicolas Goaziou
2013-11-08 22:43           ` Sebastien Vauban
2013-11-08 23:22             ` Nicolas Goaziou
     [not found]               ` <87k3gi8omo.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-11-15 14:03                 ` Sebastien Vauban
2013-11-11  2:41       ` Eric Schulte
2013-11-24 16:44         ` Nicolas Goaziou
     [not found]   ` <87eh69e2ha.fsf@pank.eu>
2013-11-22  0:25     ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86eh6qvdq4.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).