From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: git tip: Error in winner-save-old-configurations
 (flyspell-post-command-hook): (wrong-type-argument stringp nil) [73 times]
Date: Wed, 07 Sep 2022 18:35:08 +0300
Message-ID: <83r10ngpub.fsf@gnu.org>
References: <lzv8q0thdg.fsf@3c22fb11fdab.ant.amazon.com>
 <83illzj4vw.fsf@gnu.org> <lzr10ntdcq.fsf@3c22fb11fdab.ant.amazon.com>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="31356"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: emacs-devel@gnu.org
To: sds@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 07 17:36:23 2022
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1oVx6F-0007yB-Kz
	for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Sep 2022 17:36:23 +0200
Original-Received: from localhost ([::1]:38086 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1oVx6E-0003mu-3q
	for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Sep 2022 11:36:22 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49078)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>) id 1oVx5N-00033W-OM
 for emacs-devel@gnu.org; Wed, 07 Sep 2022 11:35:29 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38176)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1oVx5N-0001a1-7Q; Wed, 07 Sep 2022 11:35:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=l8v7REDo+0I6MjRrs1WmoXurGc/lkWpRBxkQkKUNQ/g=; b=TmzV6XpSxrb3
 R8oeGCCLQLg8wNVdbp8L0x6uOzkq7xyK7XhbvZYVCMGulN2QgaEFZJ6Sh/vFGf/bKk5M5AmWwDeVr
 C3P/P0Xvx5Sl3MM72EycSBWBwhM2kXq1QePbpnWdU3GMvunYDzQyFm5snDG2Q/47XxUEc8ybKTEWy
 /U6Cqs+hnLKhF2BlG1U+hmJfZ1ttRpu1eXlIgDYegMIFa3q0GACNekD4DJ977RjItlo8/gXgG4we4
 L/VTYu5CDR1EbqhOSsnB47xhgfWqOY95erW/oGAR+4NpWjGTBXXXkWsf2iJPogNJWOD5rYtU9b3hT
 FN4GodjCXcruMyI313UxjQ==;
Original-Received: from [87.69.77.57] (port=2950 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1oVx5J-0003Vw-PB; Wed, 07 Sep 2022 11:35:29 -0400
In-Reply-To: <lzr10ntdcq.fsf@3c22fb11fdab.ant.amazon.com> (message from Sam
 Steingold on Wed, 07 Sep 2022 11:26:29 -0400)
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:294849
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/294849>

> From: Sam Steingold <sds@gnu.org>
> Date: Wed, 07 Sep 2022 11:26:29 -0400
> 
> > * Eli Zaretskii <ryvm@tah.bet> [2022-09-07 05:27:15 +0300]:
> >
> >> From: Sam Steingold <sds@gnu.org>
> >> Date: Tue, 06 Sep 2022 15:47:23 -0400
> >> 
> >> Hi,
> >> With the fresh Emacs from yesterday, I get
> >> 
> >> Error in winner-save-old-configurations (flyspell-post-command-hook): (wrong-type-argument stringp nil)
> >> 
> >> in the Echo Area and *Messages* on every move in an Org-mode buffer.
> >> 
> >> I don't know how to debug it (I tried stepping through
> >> `flyspell-post-command-hook' and got nothing), so I wonder if someone
> >> sees anything like that.
> >> 
> >> Thank you.
> >> 
> >> PS. The trivial sequence of
> >> 
> >> emacs -Q
> >> C-x b foo RET
> >> M-x org-mode RET
> >> M-x winner-mode RET
> >> M-x flyspell-mode RET
> >> foo bar baz
> >> 
> >> does not, alas, produce the described behavior...
> >
> > So what _is_ the recipe to reproduce it?
> 
> I cannot reproduce it without my huge .emacs

Then I guess you will have to debug this on your system.

One way of doing that is to attach a debugger and put a breakpoint in
wrong_type_argument.  When it breaks, collect both C and Lisp
backtraces, and post them.