From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: era eriksson Newsgroups: gmane.emacs.bugs Subject: flyspell interferes with C-c C-c (mail mode, vc-log-mode, etc) Date: Mon, 18 Nov 2002 09:22:33 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1037605078 4410 80.91.224.249 (18 Nov 2002 07:37:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 18 Nov 2002 07:37:58 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18DgTk-00018a-00 for ; Mon, 18 Nov 2002 08:37:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18DgUz-0000JU-00; Mon, 18 Nov 2002 02:39:13 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18DgJ9-00019W-00 for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2002 02:26:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18DgJ5-00018p-00 for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2002 02:26:58 -0500 Original-Received: from rhols66.adsl.netsonic.fi ([194.29.198.66] helo=there.afraid.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18DgG9-000060-00 for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2002 02:23:54 -0500 Original-Received: from era by there.afraid.org with local (Exim 3.35 #1 (Debian)) id 18DgEr-0000u7-00 for ; Mon, 18 Nov 2002 09:22:33 +0200 Original-To: bug-gnu-emacs@gnu.org Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3893 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3893 This bug report will be sent to the Free Software Foundation, not to your local site managers!! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. In GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit) of Fri Apr 5 2002 on cyberhq modified by Debian configured using `configure i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=yes' Please describe exactly what actions triggered the bug and the precise symptoms of the bug: It seems that the keystroke C-c C-c is intercepted and discarded when Flyspell is active and the token under the text cursor is misspelled (for flyspell's definition of misspelled). Repro steps: 1. Activate flyspell so that it kicks in whenever you enter text mode. This I believe is the default action when you enable flyspell according to the basic instructions that come with it. 2. Enter a mode which is derived from text mode, and where C-c C-c is used for something. 3. Type in some text, and make sure the last word is misspelled. Leave the cursor just after the word in question (haven't tried what happens if I hit Enter before C-c C-c). 4. Press C-c C-c Actual result: A friendly beep. Expected result: Whatever C-c C-c is supposed to accomplish. In mail mode, send mail. In vc-log-mode, submit the log entry and check in the file. Comments: Step #2 can probably be generalized to cover modes not derived from text mode, and possibly other keystrokes in the C-c prefix keymap. Writing in a language other than English is a nice use case in step #3. (I haven't gotten around to figure out how to make Flyspell read my mind to know in what language I am going to type before I even know it myself.) For testing things without generating undesirable side effects, placing the cursor in various places in the text buffer and pressing C-h k C-c C-c is probably to be preferred. When the cursor is on top of a "misspelled" and thus colorized token, you get "C-c C-c is undefined" instead of the regular description for the keystroke sequence. Sorry if this is fixed in a newer version of Emacs and/or Flyspell. I'm on a production system so I'm running Debian stable and nothing else here. /* era */ -- Join the civilized world -- ban spam like we did! tee -a $HOME/.signature <$HOME/.plan >http://www.iki.fi/era/index.html Heavy spam filters in place -- try era@emacs.bugs.there.afraid.org if you do not get a timely response from me. Phone +358-44-524-0965 (UTC+2 hours)