emacs-pretest-bug
[Top][All Lists]
Advanced

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

flyspell-mode messing up ispell-change-dictionary


From: Björn Lindström
Subject: flyspell-mode messing up ispell-change-dictionary
Date: Tue, 10 Jan 2006 18:17:11 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Since my latest update, I'm experiencing a problem with flyspell-mode.

I start Emacs with 'emacs -q -no-site-file', and evaluate this:

(setq-default ispell-local-dictionary "british")
(global-set-key "\C-csf" (lambda () (interactive)
                           (flyspell-mode)))
(global-set-key "\C-csb" (lambda () (interactive)
                           (ispell-change-dictionary "british")))
(global-set-key "\C-css" (lambda () (interactive)
                           (ispell-change-dictionary "svenska")))

The value of ispell-program-name is "/usr/bin/aspell".

This lets me turn flyspell-mode on and off, and choose dictionary, with
the three defined key bindings.

This is however broken since my latest upgrade. In a buffer where
flyspell-mode is activated, I have to press `C-c s b' or `C-c s s'
_twice_, to get it to change dictionary.


In GNU Emacs 22.0.50.1 (i486-pc-linux-gnu)
 of 2006-01-03 on pacem, modified by Debian
configured using `configure '--build' 'i486-linux-gnu' '--host' 
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.50/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.50/leim'
 '--with-x=no' 'CFLAGS=-DDEBIAN -g -Wno-pointer-sign -O2' 
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu''




reply via email to

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