all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#728: 23.0.60; flyspell checking is sometimes silently disabled
@ 2008-08-15 22:20 ` Markus Triska
  2008-08-16  4:12   ` Stefan Monnier
  2008-09-17  1:05   ` bug#728: marked as done (23.0.60; flyspell checking is sometimes silently disabled) Emacs bug Tracking System
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Triska @ 2008-08-15 22:20 UTC (permalink / raw)
  To: emacs-pretest-bug


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







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#728: 23.0.60; flyspell checking is sometimes silently disabled
  2008-08-15 22:20 ` bug#728: 23.0.60; flyspell checking is sometimes silently disabled Markus Triska
@ 2008-08-16  4:12   ` Stefan Monnier
  2008-09-17  1:05   ` bug#728: marked as done (23.0.60; flyspell checking is sometimes silently disabled) Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2008-08-16  4:12 UTC (permalink / raw)
  To: Markus Triska; +Cc: emacs-pretest-bug, 728

> 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

You need to try and track down the porigian of this message.  It may
be due to flyspell but it can also be due to something else: if there's
a bug in one of the post-command-hooks, post-command-hook is set to nil
(hence *all* post-command-hooks are disabled).


        Stefan






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#728: marked as done (23.0.60; flyspell checking is sometimes  silently disabled)
  2008-08-15 22:20 ` bug#728: 23.0.60; flyspell checking is sometimes silently disabled Markus Triska
  2008-08-16  4:12   ` Stefan Monnier
@ 2008-09-17  1:05   ` Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2008-09-17  1:05 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 873 bytes --]


Your message dated Tue, 16 Sep 2008 20:59:57 -0400
with message-id <87fxnzr3hu.fsf@cyd.mit.edu>
and subject line Re: 23.0.60; flyspell checking is sometimes silently disabled
has caused the Emacs bug report #728,
regarding 23.0.60; flyspell checking is sometimes silently disabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
728: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=728
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3778 bytes --]

From: Markus Triska <markus.triska@gmx.at>
To: emacs-pretest-bug@gnu.org
Subject: 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>


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




[-- Attachment #3: Type: message/rfc822, Size: 1341 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Markus Triska <markus.triska@gmx.at>
Cc: 728-done@emacsbugs.donarmstrong.com
Subject: Re: 23.0.60; flyspell checking is sometimes silently disabled
Date: Tue, 16 Sep 2008 20:59:57 -0400
Message-ID: <87fxnzr3hu.fsf@cyd.mit.edu>

> The following patch fixes this problem for me:

Checked in, thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-17  1:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87fxnzr3hu.fsf@cyd.mit.edu>
2008-08-15 22:20 ` bug#728: 23.0.60; flyspell checking is sometimes silently disabled Markus Triska
2008-08-16  4:12   ` Stefan Monnier
2008-09-17  1:05   ` bug#728: marked as done (23.0.60; flyspell checking is sometimes silently disabled) Emacs bug Tracking System

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.