emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [ANN] Improved Flyspell check


From: Sebastien Vauban
Subject: Re: [O] [ANN] Improved Flyspell check
Date: Fri, 08 Nov 2013 21:29:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Hello Nicolas,

Nicolas Goaziou wrote:
> Eric Schulte <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]