GNU bug report logs - #15721
24.3; Error in post-command-hook (flyspell-post-command-hook): (wrong-type-argument integer-or-marker-p nil)

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sat, 26 Oct 2013 07:14:02 UTC

Severity: normal

Tags: moreinfo

Found in version 24.3

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15721 in the body.
You can then email your comments to 15721 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15721; Package emacs. (Sat, 26 Oct 2013 07:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Liu <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 26 Oct 2013 07:14:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; Error in post-command-hook (flyspell-post-command-hook):
 (wrong-type-argument integer-or-marker-p nil)
Date: Sat, 26 Oct 2013 15:12:33 +0800
I got this from time to time:

        Error in post-command-hook (flyspell-post-command-hook):
        (wrong-type-argument integer-or-marker-p nil)

But I don't know how to reproduce it reliably. So I put in this form

      (unless (numberp flyspell-pre-point)
                (message "DEBUG-flyspell-pre-point: %S" flyspell-pre-point))

before (goto-char flyspell-pre-point) in flyspell-post-command-hook.

This is what is in *Messages* when the error happened:
DEBUG-flyspell-pre-point: nil

So it seems flyspell-post-command-hook needs to check current buffer is
flyspell-pre-buffer. But I am not totally sure.

Leo




Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 26 Dec 2015 01:12:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15721; Package emacs. (Mon, 30 Sep 2019 13:55:02 GMT) Full text and rfc822 format available.

Message #10 received at 15721 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 15721 <at> debbugs.gnu.org
Subject: Re: bug#15721: 24.3;
 Error in post-command-hook (flyspell-post-command-hook):
 (wrong-type-argument integer-or-marker-p nil)
Date: Mon, 30 Sep 2019 15:54:39 +0200
tags 15721 + moreinfo
quit

Leo Liu <sdl.web <at> gmail.com> writes:

> I got this from time to time:
>
>         Error in post-command-hook (flyspell-post-command-hook):
>         (wrong-type-argument integer-or-marker-p nil)
>
> But I don't know how to reproduce it reliably. So I put in this form
>
>       (unless (numberp flyspell-pre-point)
>                 (message "DEBUG-flyspell-pre-point: %S" flyspell-pre-point))
>
> before (goto-char flyspell-pre-point) in flyspell-post-command-hook.
>
> This is what is in *Messages* when the error happened:
> DEBUG-flyspell-pre-point: nil
>
> So it seems flyspell-post-command-hook needs to check current buffer is
> flyspell-pre-buffer. But I am not totally sure.

Do you have a recipe for reproducing this, starting from "emacs -Q"?

Best regards,
Stefan Kangas




Added tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Mon, 30 Sep 2019 13:55:03 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Wed, 15 Jan 2020 05:36:02 GMT) Full text and rfc822 format available.

Notification sent to Leo Liu <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Wed, 15 Jan 2020 05:36:02 GMT) Full text and rfc822 format available.

Message #17 received at 15721-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 15721-done <at> debbugs.gnu.org
Subject: Re: bug#15721: 24.3; Error in post-command-hook
 (flyspell-post-command-hook): (wrong-type-argument integer-or-marker-p
 nil)
Date: Wed, 15 Jan 2020 06:35:35 +0100
Stefan Kangas <stefan <at> marxist.se> writes:

> tags 15721 + moreinfo
> quit
>
> Leo Liu <sdl.web <at> gmail.com> writes:
>
>> I got this from time to time:
>>
>>         Error in post-command-hook (flyspell-post-command-hook):
>>         (wrong-type-argument integer-or-marker-p nil)
>>
>> But I don't know how to reproduce it reliably. So I put in this form
>>
>>       (unless (numberp flyspell-pre-point)
>>                 (message "DEBUG-flyspell-pre-point: %S" flyspell-pre-point))
>>
>> before (goto-char flyspell-pre-point) in flyspell-post-command-hook.
>>
>> This is what is in *Messages* when the error happened:
>> DEBUG-flyspell-pre-point: nil
>>
>> So it seems flyspell-post-command-hook needs to check current buffer is
>> flyspell-pre-buffer. But I am not totally sure.
>
> Do you have a recipe for reproducing this, starting from "emacs -Q"?

More information was requested, but none was given within 15 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 12 Feb 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.