From unknown Sat Jun 21 10:40:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#15721 <15721@debbugs.gnu.org> To: bug#15721 <15721@debbugs.gnu.org> Subject: Status: 24.3; Error in post-command-hook (flyspell-post-command-hook): (wrong-type-argument integer-or-marker-p nil) Reply-To: bug#15721 <15721@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:40:25 +0000 retitle 15721 24.3; Error in post-command-hook (flyspell-post-command-hook)= : (wrong-type-argument integer-or-marker-p nil) reassign 15721 emacs submitter 15721 Leo Liu severity 15721 normal tag 15721 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 26 03:13:30 2013 Received: (at submit) by debbugs.gnu.org; 26 Oct 2013 07:13:30 +0000 Received: from localhost ([127.0.0.1]:44519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZy3t-0002pN-0T for submit@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 ) id 1VZy3q-0002p7-EQ for submit@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 ) id 1VZy3c-0000YC-91 for submit@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 ) id 1VZy3c-0000Y7-5u for submit@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 ) id 1VZy3T-0003U1-OT for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2013 03:13:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZy3L-0000X4-Bh for bug-gnu-emacs@gnu.org; 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 ) id 1VZy3L-0000X0-3c for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2013 03:12:55 -0400 Received: by mail-pd0-f182.google.com with SMTP id q10so4902541pdj.13 for ; 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 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Oct 2013 00:12:53 -0700 (PDT) From: Leo Liu To: bug-gnu-emacs@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 Message-ID: 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@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 20:11:05 2015 Received: (at control) by debbugs.gnu.org; 26 Dec 2015 01:11:05 +0000 Received: from localhost ([127.0.0.1]:36428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCdNx-0008Kk-8A for submit@debbugs.gnu.org; Fri, 25 Dec 2015 20:11:05 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:43918) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCdNw-0008Kd-BY for control@debbugs.gnu.org; Fri, 25 Dec 2015 20:11:04 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCdNc-00086S-1A for control@debbugs.gnu.org; Sat, 26 Dec 2015 02:10:44 +0100 Date: Sat, 26 Dec 2015 02:10:43 +0100 Message-Id: <87h9j6ggks.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #15721 X-MailScanner-ID: 1aCdNc-00086S-1A X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451697044.29247@ZHFEdaRH20Q9+k80JJoasQ X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 15721 - moreinfo From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 09:54:59 2019 Received: (at 15721) by debbugs.gnu.org; 30 Sep 2019 13:54:59 +0000 Received: from localhost ([127.0.0.1]:57138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEw8h-00020i-DI for submit@debbugs.gnu.org; Mon, 30 Sep 2019 09:54:59 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:43327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEw8e-00020D-CC for 15721@debbugs.gnu.org; Mon, 30 Sep 2019 09:54:56 -0400 Received: by mail-pg1-f171.google.com with SMTP id v27so7430323pgk.10 for <15721@debbugs.gnu.org>; Mon, 30 Sep 2019 06:54:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=F1wIIgYLLUYSCyIYPnBhSxR2g805b2y8frrfICPGgRs=; b=k8NnoBwqaJixbCsFxRu2/zFwT/1EWRZqf9wL5LACRiOsSkT0eee6wwSuE8JQR9NigS QuLQ/LSPIArUJWs2lV/2mKmcB3uplA38NzwMsvUTOLTJxOEm/lFJQaWG/DnJJ/NPMuSq A1cf3aZ6SEPzgoPkvuawla9gjNyhfZVH38cOAWQYWCBImDS6FN0qHKBLqXQtg++mJ0eD BYxcn0oj3/VlYuot/j+K26nwqf3mCn2TsL5NG6Wgk3eJiuuMNZSFOLSQEzbkhBk9BnRu AfThMol4lb565mbN1Nb58LEavTZoYtOhFw8zoO7e1j5/bURj8jBskiRrnKel1EGfsJtK 3AjQ== X-Gm-Message-State: APjAAAXPxzRzaFXxNdOyDsAPa16MO4Kkv8qhUakENJCYPxxtbkkmpIcO QQjP94gFPrNgLj0GvdlPeuUxP2DPYR3PVLjTJKM= X-Google-Smtp-Source: APXvYqxH2oZ+zuWSfW4lHMhZ9oIX1jZkhOBtaw0g+mkL32VkNGcg5KzsxzwHzIX2moqGWVg4WJcHdL+ilzxBdvCe+64= X-Received: by 2002:aa7:8009:: with SMTP id j9mr21189372pfi.107.1569851690642; Mon, 30 Sep 2019 06:54:50 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Mon, 30 Sep 2019 15:54:39 +0200 Message-ID: Subject: Re: bug#15721: 24.3; Error in post-command-hook (flyspell-post-command-hook): (wrong-type-argument integer-or-marker-p nil) To: Leo Liu Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 15721 Cc: 15721@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) tags 15721 + moreinfo quit Leo Liu 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 15 00:35:46 2020 Received: (at 15721-done) by debbugs.gnu.org; 15 Jan 2020 05:35:46 +0000 Received: from localhost ([127.0.0.1]:34119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irbLG-0006GW-8Q for submit@debbugs.gnu.org; Wed, 15 Jan 2020 00:35:46 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:40012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irbLC-0006GD-Jo for 15721-done@debbugs.gnu.org; Wed, 15 Jan 2020 00:35:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=61NgLir2Eb/gqC+spCIBCYUhZ66zb2VxnCs/6QCxnUA=; b=bzpVhFY3cWAR0ZT/aER6bn8gVa cYyPpsBbL6gIWLvCUdb+bTWnCzxJ3NOyTRuLttnXgEY6tb97RLuNGrroY5hcACXrZMu0CwoJ/wNAb dq6uU43e+FtVYPxlJrAPu56Sow7H8oReoaioKNwACJ+rSQ2y7c8XO9pSMLIA+L13Cs7LoPGqQ02n0 1DogWLPeOoADeMlwexShcm/weiDdHqPbgmjscGwaJMyfnH4hhJnmZhUH9PM/u1ufUkcaKbmPjuMMo T+Pmt0CABNCVo7sbVI9Qq1kfEykvfW1qSiZbwauA66Pb9L0jL2suJ7Zb3fEtfLUP38lPGLj1g3SwL 8Sa19XPw==; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:56076 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1irbL7-000RIz-0C; Wed, 15 Jan 2020 00:35:37 -0500 From: Stefan Kangas To: Leo Liu Subject: Re: bug#15721: 24.3; Error in post-command-hook (flyspell-post-command-hook): (wrong-type-argument integer-or-marker-p nil) In-Reply-To: (Stefan Kangas's message of "Mon, 30 Sep 2019 15:54:39 +0200") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Wed, 15 Jan 2020 06:35:35 +0100 Message-ID: <8736chffiw.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15721-done Cc: 15721-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > tags 15721 + moreinfo > quit > > Leo Liu 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 From unknown Sat Jun 21 10:40:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 12 Feb 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator