emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Value of `ispell-dictionary-alist' reset by `org-agenda-list'
Date: Sun, 05 Sep 2010 22:57:45 +0200	[thread overview]
Message-ID: <87y6bfucvq.fsf@mundaneum.com> (raw)
In-Reply-To: AANLkTiknJtGSMrTm85_18q-S+hLV0mK9Pob9ZxoAD_gL@mail.gmail.com

Hi Noorul and everybody,

Noorul Islam wrote:
> 2010/9/3 Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>:
>> I still don't understand what's going on, but I've managed getting closer to a
>> long experienced problem in my Emacs: while I set the value of
>> =ispell-dictionary-alist= in the beginning of my =.emacs= file, it is reset
>> when calling =org-agenda-list=.

--8<---------------cut here---------------start------------->8---
(message "Value of `ispell-dictionary-alist' before `org-agenda-list'")
(edebug-print ispell-dictionary-alist)

(org-agenda-list)

(message "Value of `ispell-dictionary-alist' after `org-agenda-list'")
(edebug-print ispell-dictionary-alist)

(delete-other-windows)
--8<---------------cut here---------------end--------------->8---

>> Has anyone any idea on how to circumvent this?
>
> Since orgmode is using flyspell, looks like it is interfering with ispell.
>
> From flyspell.el
> ======================================================
> (defun flyspell-mode-on ()
>   "Turn Flyspell mode on.  Do not use this; use `flyspell-mode' instead."
>   (ispell-set-spellchecker-params) ; Initialize variables and dicts alists
>   (setq ispell-highlight-face 'flyspell-incorrect)
>   ;; local dictionaries setup
>   (or ispell-local-dictionary ispell-dictionary
>       (if flyspell-default-dictionary
>           (ispell-change-dictionary flyspell-default-dictionary)))
> ======================================================

Yes, but I don't understand why Org *would* (and did not write *does*, as it
still is not clear enough to me) setq the list of dictionaries...

Clearly a behavior to forbid!

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-09-05 20:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03 15:36 Value of `ispell-dictionary-alist' reset by `org-agenda-list' Sébastien Vauban
2010-09-04  5:39 ` Noorul Islam
2010-09-05 20:57   ` Sébastien Vauban [this message]
2010-09-07  5:30     ` Noorul Islam K M

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=87y6bfucvq.fsf@mundaneum.com \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@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).