Re: Flyspell-mode breaks CUA mode

2005-11-03 Thread Richard M. Stallman
Why is it setting deactivate-mark? I thought that was only set by the sort of interactive command that shouldn't be used in hooks etc., which makes this problem sound more like a simple bug rather than a design problem Any change to the buffer sets deactivate-mark. So

Re: Flyspell-mode breaks CUA mode

2005-11-03 Thread Stefan Monnier
Why is it setting deactivate-mark? I thought that was only set by the sort of interactive command that shouldn't be used in hooks etc., which makes this problem sound more like a simple bug rather than a design problem Any change to the buffer sets deactivate-mark. So

Re: Flyspell-mode breaks CUA mode

2005-11-02 Thread Kim F. Storm
Magnus Henoch [EMAIL PROTECTED] writes: Moving the call to ispell-maybe-find-aspell-dictionaries is probably the simplest fix. Another way is to do some rewriting - for aspell 0.60 it's not necessary to think about encodings at all; those things could be conditionalized away. I'm not sure

Re: Flyspell-mode breaks CUA mode

2005-11-02 Thread Miles Bader
2005/9/30, Stefan Monnier [EMAIL PROTECTED]: I think running ispell-check-version (which does various things including running a subprocess) from a post-command-hook is the core of the problem. (because flyspell's post-command-hook ends up setting deactivate-mark to t). Why is it setting

Re: Flyspell-mode breaks CUA mode

2005-11-02 Thread Stefan Monnier
I think running ispell-check-version (which does various things including running a subprocess) from a post-command-hook is the core of the problem. (because flyspell's post-command-hook ends up setting deactivate-mark to t). Why is it setting deactivate-mark? Because: 1 - any buffer

Re: Flyspell-mode breaks CUA mode

2005-10-01 Thread Magnus Henoch
Richard M. Stallman [EMAIL PROTECTED] writes: The problem is that flyspell's post-command-hook runs flyspell-word which runs flyspell-accept-buffer-local-defs which runs ispell-accept-buffer-local-defs and which now also runs ispell-maybe-find-aspell-dictionaries which itself

Re: Flyspell-mode breaks CUA mode

2005-09-30 Thread Richard M. Stallman
The problem is that flyspell's post-command-hook runs flyspell-word which runs flyspell-accept-buffer-local-defs which runs ispell-accept-buffer-local-defs and which now also runs ispell-maybe-find-aspell-dictionaries which itself will run ispell-check-version (a non-trivial

Re: Flyspell-mode breaks CUA mode

2005-09-29 Thread Kim F. Storm
LaserDoodads Info [EMAIL PROTECTED] writes: After starting Emacs with -Q I start flyspell-mode in the *scratch* buffer. I then paste some text into the buffer and turn CUA mode on from the [options] menu. If I try to select text using shifted arrow keys the selection is erratic. That is,

Flyspell-mode breaks CUA mode

2005-09-28 Thread LaserDoodads Info
After starting Emacs with -Q I start flyspell-mode in the *scratch* buffer. I then paste some text into the buffer and turn CUA mode on from the [options] menu. If I try to select text using shifted arrow keys the selection is erratic. That is, sometimes text will be selected and sometimes