emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15721: closed (24.3; Error in post-command-hook (flyspell-post-comma


From: GNU bug Tracking System
Subject: bug#15721: closed (24.3; Error in post-command-hook (flyspell-post-command-hook): (wrong-type-argument integer-or-marker-p nil))
Date: Wed, 15 Jan 2020 05:36:02 +0000

Your message dated Wed, 15 Jan 2020 06:35:35 +0100
with message-id <address@hidden>
and subject line Re: bug#15721: 24.3; Error in post-command-hook 
(flyspell-post-command-hook): (wrong-type-argument integer-or-marker-p nil)
has caused the debbugs.gnu.org bug report #15721,
regarding 24.3; Error in post-command-hook (flyspell-post-command-hook): 
(wrong-type-argument integer-or-marker-p nil)
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
15721: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15721
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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



--- End Message ---
--- Begin Message --- 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 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Stefan Kangas <address@hidden> writes:

> tags 15721 + moreinfo
> quit
>
> Leo Liu <address@hidden> 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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]