[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
flyspell and mouse selection / transient-mark-mode
From: |
Reiner Steib |
Subject: |
flyspell and mouse selection / transient-mark-mode |
Date: |
Wed, 28 Sep 2005 17:37:06 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Recently there a strange interaction between flyspell mode and
selecting test with the mouse or using transient-mark-mode:
(0) Create this file:
echo "# This is a Makefile foo bar" > Makefile
(The problem is not specific to GNUmakefile mode; I also see it
in other modes, e.g. message mode.)
Case (A): [flyspell / mouse]
(A1) Start Emacs:
emacs-cvs -Q Makefile -f toggle-debug-on-error -f flyspell-mode
(A2) Mark the word "Makefile" with the mouse.
(A3) Hit `C-w'
(A4) I get the following debug output and the word "Makefile" is *not*
killed:
,----
| Debugger entered--Lisp error: (mark-inactive)
| call-interactively(kill-region)
`----
Case (B): [flyspell / transient-mark-mode]
The same failure occurs here:
(B1) emacs-cvs -Q Makefile -f toggle-debug-on-error -f flyspell-mode \
-f transient-mark-mode
(B2) Set mark using C-SPC on the start of the word "Makefile" and move
point to the end of the word.
(Additionally, the region is not highlighted as I'd expect with
transient-mark-mode)
(B3) Hit `C-w'
(B4): The same error as in (A4).
Case (C): [flyspell mode off / mouse]
(C1) emacs-cvs -Q Makefile -f toggle-debug-on-error -f transient-mark-mode
(C2) and (C3): See (A2) and (A3)
(C4) No error. I get "# This is a foo bar" as expected.
Case (D): [flyspell mode off / transient-mark-mode]
(D1) emacs-cvs -Q Makefile -f toggle-debug-on-error -f transient-mark-mode
(D2) Set mark using C-SPC on the start of the word "Makefile" and move
point to the end of the word.
(D4) No error. I get "# This is a foo bar" as expected.
In GNU Emacs 22.0.50.12 (x86_64-unknown-linux-gnu, GTK+ Version 2.4.9)
of 2005-09-28 on bridgekeeper
X server distributor `The X.Org Foundation', version 11.0.60801000
configured using `configure '--prefix=/import/xtra/emacs/HEAD' '--with-gtk'
'--exec-prefix=/import/xtra/emacs/HEAD-x86_64''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: POSIX
value of $LC_CTYPE: address@hidden
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US
locale-coding-system: iso-8859-15
default-enable-multibyte-characters: t
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- flyspell and mouse selection / transient-mark-mode,
Reiner Steib <=