From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Value of `ispell-dictionary-alist' reset by `org-agenda-list' Date: Sun, 05 Sep 2010 22:57:45 +0200 Message-ID: <87y6bfucvq.fsf@mundaneum.com> References: <87lj7iu9dk.fsf@mundaneum.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: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Noorul and everybody, Noorul Islam wrote: > 2010/9/3 S=C3=A9bastien Vauban : >> I still don't understand what's going on, but I've managed getting close= r to a >> long experienced problem in my Emacs: while I set the value of >> =3Dispell-dictionary-alist=3D in the beginning of my =3D.emacs=3D file, = it is reset >> when calling =3Dorg-agenda-list=3D. --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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > (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))) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D 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 --=20 S=C3=A9bastien 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