From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#728: 23.0.60; flyspell checking is sometimes silently disabled Date: Sat, 16 Aug 2008 00:20:22 +0200 (CEST) Message-ID: <20080815222022.E7882A30C89@mt-computer.local> Reply-To: Markus Triska , 728@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1218840462 1991 80.91.229.12 (15 Aug 2008 22:47:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Aug 2008 22:47:42 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 16 00:48:34 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KU85w-00036x-J7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Aug 2008 00:48:32 +0200 Original-Received: from localhost ([127.0.0.1]:35471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU84z-00023p-Ud for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Aug 2008 18:47:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KU84w-00023W-5s for bug-gnu-emacs@gnu.org; Fri, 15 Aug 2008 18:47:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KU84u-00022V-Gh for bug-gnu-emacs@gnu.org; Fri, 15 Aug 2008 18:47:29 -0400 Original-Received: from [199.232.76.173] (port=53138 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU84u-00022M-6Q for bug-gnu-emacs@gnu.org; Fri, 15 Aug 2008 18:47:28 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58228) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KU84t-00079w-JE for bug-gnu-emacs@gnu.org; Fri, 15 Aug 2008 18:47:27 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7FMlP1l012245; Fri, 15 Aug 2008 15:47:25 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7FMU3mt006536; Fri, 15 Aug 2008 15:30:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Markus Triska Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 15 Aug 2008 22:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 728 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12188388344585 (code B ref -1); Fri, 15 Aug 2008 22:30:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 15 Aug 2008 22:20:34 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7FMKUYw004549 for ; Fri, 15 Aug 2008 15:20:31 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:49071 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KU7db-0006i3-QR for emacs-pretest-bug@gnu.org; Fri, 15 Aug 2008 18:19:15 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KU7ej-00087a-V4 for emacs-pretest-bug@gnu.org; Fri, 15 Aug 2008 18:20:29 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:33322) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KU7ej-00087P-D8 for emacs-pretest-bug@gnu.org; Fri, 15 Aug 2008 18:20:25 -0400 Original-Received: (qmail invoked by alias); 15 Aug 2008 22:20:23 -0000 Original-Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp022) with SMTP; 16 Aug 2008 00:20:23 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX19GSSVjcpxG/RIToIskUmacrhpunVbR9kpvuQ/ShR 2wX2x7gx1hcLSS Original-Received: by mt-computer.local (Postfix, from userid 502) id E7882A30C89; Sat, 16 Aug 2008 00:20:22 +0200 (CEST) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 15 Aug 2008 18:47:29 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19491 gmane.emacs.pretest.bugs:22837 Archived-At: Sometimes in flyspell-mode, the mode line still says "Fly", but no more flychecking is actually performed. I cannot yet reproduce it reliably; however, if you add the following to your .emacs: (defun my-flyspell-check () (when flyspell-mode (unless (memq 'flyspell-post-command-hook post-command-hook) (with-current-buffer (get-buffer-create "flywarn") (insert "flychecking inactive despite flyspell-mode!\n")) (display-buffer "flywarn")))) (setq flycheck-timer (run-with-timer 0 0.5 'my-flyspell-check)) you will be informed when flyspell mode is superficially active, but no checking is actually performed. I only encountered the problem once since I have the above code in my .emacs, and then I also saw: "Invalid search bound (wrong side of point)" in *Messages*, which I previously probably missed. Thus I think this could for example happen when switching buffers or using the minibuffer at the wrong time. It is clear that flyspell-post-command-hook must be removed from post-command-hook in case of errors; if the error is hard to catch in the hook, I would already find it an improvement if flyspell mode were cleanly disabled (existing underlines, mode line, ...) in such cases. In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9) of 2008-08-15 on mt-computer.local Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t