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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Leo Liu <sdl.web@HIDDEN>; dated Sat, 26 Oct 2013 07:14:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Oct 2013 07:13:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 26 03:13:30 2013
Received: from localhost ([127.0.0.1]:44519 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VZy3t-0002pN-0T
	for submit <at> debbugs.gnu.org; Sat, 26 Oct 2013 03:13:29 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42008)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <sdl.web@HIDDEN>) id 1VZy3q-0002p7-EQ
 for submit <at> debbugs.gnu.org; Sat, 26 Oct 2013 03:13:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1VZy3c-0000YC-91
 for submit <at> debbugs.gnu.org; Sat, 26 Oct 2013 03:13:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:52020)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1VZy3c-0000Y7-5u
 for submit <at> debbugs.gnu.org; Sat, 26 Oct 2013 03:13:12 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43686)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1VZy3T-0003U1-OT
 for bug-gnu-emacs@HIDDEN; Sat, 26 Oct 2013 03:13:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1VZy3L-0000X4-Bh
 for bug-gnu-emacs@HIDDEN; Sat, 26 Oct 2013 03:13:03 -0400
Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]:39791)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1VZy3L-0000X0-3c
 for bug-gnu-emacs@HIDDEN; Sat, 26 Oct 2013 03:12:55 -0400
Received: by mail-pd0-f182.google.com with SMTP id q10so4902541pdj.13
 for <bug-gnu-emacs@HIDDEN>; Sat, 26 Oct 2013 00:12:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version:content-type;
 bh=WVhpZSGK0rc0AzLYLwwWAj3ZhtyrWRMy6uRsq5ccw0I=;
 b=V2iIWY7/cq/Tz8a0kkJNDbbXXem6pFF1VHaU5rV1fIYk3lIsN+WGdbPPpGvUxJVZbs
 jy3x/xo2iO6yF75dwa0uA+cwFmGLu1DaT4I7cwGYLaAmmKY6rf65jl7pCPfQtXEePhCl
 bgB0K79US09nUCDLU0mPqmj3d5OFS3IyPYx7meCZYxtJwdoHqiii+CchhfSBD2Y3DQh1
 PmwGxfgi8Q8ThyRBoZXR/x/8Q5O568tnI4XCXJQHWxSFa/jIUhvQW3nsf2OY9MLBLZ85
 F3xNwhYn8OmaORWWHK5nIMpZHth1PPcJbU4iOF/mp5q37ELdMVQg/ROhNd/ggprZdvO9
 EMlA==
X-Received: by 10.66.100.227 with SMTP id fb3mr14840631pab.26.1382771573809;
 Sat, 26 Oct 2013 00:12:53 -0700 (PDT)
Received: from localhost ([221.219.17.48])
 by mx.google.com with ESMTPSA id dq3sm14100949pbc.35.2013.10.26.00.12.47
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 26 Oct 2013 00:12:53 -0700 (PDT)
From: Leo Liu <sdl.web@HIDDEN>
To: bug-gnu-emacs@HIDDEN
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
Message-ID: <m1a9hwh5em.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

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




Acknowledgement sent to Leo Liu <sdl.web@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#15721; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 26 Dec 2015 01:15:01 UTC

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