GNU bug report logs - #76381
todo-test-add-and-delete-file fails on Ubuntu 24.10

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: Paul Eggert <eggert@HIDDEN>; dated Tue, 18 Feb 2025 01:15:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 76381) by debbugs.gnu.org; 20 Feb 2025 13:33:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 20 08:33:37 2025
Received: from localhost ([127.0.0.1]:34550 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tl6gK-0000f0-ML
	for submit <at> debbugs.gnu.org; Thu, 20 Feb 2025 08:33:37 -0500
Received: from mout.gmx.net ([212.227.15.19]:34225)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <stephen.berman@HIDDEN>)
 id 1tl6gH-0000dq-CG
 for 76381 <at> debbugs.gnu.org; Thu, 20 Feb 2025 08:33:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net;
 s=s31663417; t=1740058406; x=1740663206; i=stephen.berman@HIDDEN;
 bh=AYdSTl0PqTPou9Fyi7hmN6B2Kpou0Il/EMAas/quqak=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
 Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc:
 content-transfer-encoding:content-type:date:from:message-id:
 mime-version:reply-to:subject:to;
 b=leHFoMYniNpCKwj8+ClJNexlqpz6d40ade1VdyW4pzwB2k3aOglkiQ73l0IhlDKf
 sEqVNTakTI/myxsjV7tektYbh1vXfTUQm5ONUsZbiXJJtDE1e9+QVQYEYytnVzoFX
 tGY6kdiP+5WuqWWH8Fc/PaeuHMuu44uCeahGWYXMoMJy1gCkEwRWQpOsYYo1tYZPe
 8NfGwTl5HWV/tHlY7hEbCJPoKZjlPeqbcsq4GZ+may/Cxwneb6SWr05B/sPAMvYCp
 RMUXFF6/WxSfq51S9Nj/DmpEpt39vrt3xc5Dp8Is8Oi4ulbD4+DglHpJlsiki828j
 U+OewTUq1exaja5Www==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from strobelfssd ([88.130.49.252]) by mail.gmx.net (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mlf4S-1t2f2a1smo-00omMu; Thu, 20
 Feb 2025 14:33:26 +0100
From: Stephen Berman <stephen.berman@HIDDEN>
To: Paul Eggert <eggert@HIDDEN>
Subject: Re: bug#76381: todo-test-add-and-delete-file fails on Ubuntu 24.10
In-Reply-To: <c2abeea8-9332-44f9-9394-c9125c0b2470@HIDDEN>
References: <c2abeea8-9332-44f9-9394-c9125c0b2470@HIDDEN>
Date: Thu, 20 Feb 2025 14:33:24 +0100
Message-ID: <87y0y0hhaz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:7rX+ph9NorSvxVBgfg+CdgjQ1GLlSxDuJeUV+gEmyhWo2ylh6Rt
 mAmJwN8Ky/Hs5QU3erHvSjyUqxiyppVdjBzQMYg3/hCbAn6WaxPjCXjvcinLhwghl3LkxrY
 MTxYN2UcV3iiIdoSQa/fSTQyqF33cCptbKAd4yS7kFlMCsL+sf1G12AnwTqQMR75tBh6zWK
 Dlr4CtdLK+7B/PGdl2ojA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:Yh9qhJnldzE=;Ju61TIbnjwHIdLJgc1kc0H+3ETT
 l0H5tuloji2rJWI8lJvqjwBd4WZ9kGwNGtqoIkPPCbW3prUTF8gaCuyzL9mZhYmMFUj+tCErf
 WO/DybwdbcRZgG6lXsztadkxx8VCvIACVjNI/ZwSrX0HFnPMafZI0i5YBXBLGR/ElDvAUBp5b
 tSaPw2Ja638NkNq8ZHuyLPDVAgvelQAiQMusaEoOLXpdEiIwlCA3pGgAO0qpNqtJrkFBUMtY3
 cSA95pxYFH1a1FxKgAlsptCuEsT8UFth9KaJm53M9OpSLTP5XjDtVLJ5uPRRK/WyPtvtyhN3L
 3FKnVW9n4cNIoFOGHMSmxS4zyVij3sEEatyYpPYB+ed7JnC68D/nUTRQCGHYQS7nN6wkR9+uF
 xIukDenoeZer5FGMTeKdyhnIRVDCR3fkSu/qVTMZCxMnf1V6tgIH1xoZ+lvTPWLZUMUYyhi/w
 uXtxlsdcLaUDZrr70fiuJAIvtDneIL97+rbjC6HKPSFBYWFlSGFbrxDtkVPyfprUdLl/WZ4dL
 UbYGvO8X9xOV8TdOTXTWOd0MdFmDGha8CnQ84Y8PP6L9YOCmNVt277RIJgZ4YE20cHJk7jh0z
 VOyrftNXrCf1Jg6r1XwIiYMaNLhsGQ1AdBk5MQ/bvzm/4TC+EB4nZkbVWUTazwSnpLnbpYOy2
 LzCTqYq6w+J3sV256tI2shiWiLvqlyS9FQKDRcRdehNTClvwj6NeKRjfH5SdOVPM8IUNBvwoY
 2p8/u18o0pVCkdY6Yfj9BE8midu+QS+YLH89gy6x0FRZPKfOro39Aegif22vcvlOS/UTgGUhR
 x6BH8PGaBbX8Z29Sa6neP5wp79N1Fn71m3NnLDYR4sW5ujlXDtSz4ksvHMasdjcYU2Q6fFAAx
 CileHj0YSgEL6N8ghWdVLPxnxAntnncAY1/0T8DDOr8906aqdE94SyuyBO+mPPCw6kO/HcA9b
 0j998mOcotnYF7RcD3VjRZUnpLou0dtER19B6ug299R7n6YrR7aatQFH3Eh5f1o3wQJ8l9cZ5
 fwwMjW6r57yoz6jfbWIAYf0UP9fW/6pkaiY2rosDQSxK1WGUH/mO4fLD1cL7GFQnPbR+hNe84
 kLkqFU4ycWjlHa8zkOktQ0qNuH+8SCCiiXruUFA4XbbrZZ3krTr7uGxbO0KZrLkxtOB8BNfPM
 9C9zez+05NCk/YjYlz/TwBGd1y4fdsODrrg0ItFvWXCB21GXjbMjzkn7CIeog/LQxM6quYya/
 VjetWp/WbGZySVxdDmc0eUhrBIa8ud2ilag7KZWoW3i102T9ipqNeUPkOrwPCB6oz5z1tceRn
 xaAVvogvt6B+ke15KTj9+LV7SDfXcVWbv0G5EGURDIbfiN80sKq1KKK7Dhyb18KiRvX0uTTaD
 P+Md+g1t/tWvem68IfYBIElYZxztiZM9H0h5V8Hj6nd/0Vl1ujij+9Qyho
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76381
Cc: 76381 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://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: -1.7 (-)

On Mon, 17 Feb 2025 17:14:19 -0800 Paul Eggert <eggert@HIDDEN> wrote:

> Currently (commit 9cedb434ee390a30a690e9f979428c5735cb88e5) the
> todo-mode-tests fail for me. This failure has been happening for a while =
and I
> finally got up the energy to report it today.
>
> I see the following failure symptoms on Ubuntu 24.10, running on a ZFS fi=
le
> system mounted with the options rw, noatime, xattr, posixacl, and
> casesensitive.
>
>   $ cd test
>   $ make lisp/calendar/todo-mode-tests
>   make[1]: Entering directory
>   '/home/eggert/src/gnu/emacs/static-checking/test'
>     GEN      lisp/calendar/todo-mode-tests.log
>   Running 42 tests (2025-02-17 17:04:52-0800, selector =E2=80=98(not (or =
(tag
>   :unstable) (tag :nativecomp)))=E2=80=99)
>   Enter a non-existing file name:
>
> ... and the test hangs, waiting for me to type a file name I guess.

I cannot reproduce this, either on the master, emacs-30 or emacs-29
branch (on a GNU/Linux system with ext4 file system).  For one thing,
when I run the equivalent of `make lisp/calendar/todo-mode-tests' (I
build out-of-tree) I get:

steve [ ~/build/emacs-master/test ]$ make ~/src/emacs/emacs-master/test/lis=
p/calendar/todo-mode-tests
make: *** No rule to make target '/home/steve/src/emacs/emacs-master/test/l=
isp/calendar/todo-mode-tests'.  Stop.

But when I run `make
~/src/emacs/emacs-master/test/lisp/calendar/todo-mode-tests.log' all
tests are run and all pass (on all three emacs branches).

> Of course a test like this shouldn't read from standard input.

Indeed, and the test uses `todo-test--add-file', whose doc string says:
"This provides a noninteractive API for todo-add-file for use in
automatic testing."  So I'm mystified as to why you get the hang above
and the error below.  From backtrace of the latter it looks like
`todo-read-category' from todo-mode.el is being used instead of the
mocked version defined in `todo-test--add-file', but I don't see how
that could have happened.

Steve Berman

> If I run this command instead:
>
>   $ make lisp/calendar/todo-mode-tests </dev/null
>
> I get a failure. Here is what I see in the terminal output (from here to =
the
> end of this email):
>
> make[1]: Entering directory '/home/eggert/src/gnu/emacs/static-checking/t=
est'
>   GEN      lisp/calendar/todo-mode-tests.log
> Running 42 tests (2025-02-17 17:06:39-0800, selector =E2=80=98(not (or (t=
ag :unstable)
> (tag :nativecomp)))=E2=80=99)
> Enter a non-existing file name: Test todo-test-add-and-delete-file backtr=
ace:
>   read-from-minibuffer("Enter a non-existing file name: " nil (keymap
>   completing-read-default("Enter a non-existing file name: " ("todo-te
>   completing-read("Enter a non-existing file name: " ("todo-test-1" "t
>   todo-validate-name("todo-test-2" file)
>   todo-add-file()
>   funcall-interactively(todo-add-file)
>   call-interactively(todo-add-file)
>   (progn (fset 'todo-read-category vnew) (fset 'todo-read-file-name vn
>   (unwind-protect (progn (fset 'todo-read-category vnew) (fset 'todo-r
>   (let* ((vnew #'(lambda (_prompt) file0)) (vnew #'(lambda (_prompt &o
>   (let ((file0 (expand-file-name (concat file ".todo") (let* ((testfil
>   todo-test--add-file("todo-test-2" "cat21")
>   (let* ((file (concat todo-directory "todo-test-2.todo")) (file-nb (f
>   (progn (todo-show) (let* ((fn-724 #'equal) (args-725 (condition-case
>   (unwind-protect (progn (todo-show) (let* ((fn-724 #'equal) (args-725
>   (let* ((abbreviated-home-dir nil) (process-environment (cons (format
>   (progn (let* ((abbreviated-home-dir nil) (process-environment (cons
>   (unwind-protect (progn (let* ((abbreviated-home-dir nil) (process-en
>   (let* ((coding-system-for-write nil) (temp-file (file-name-as-direct
>   #f(lambda () [t] (let* ((coding-system-for-write nil) (temp-file (fi
>   #f(compiled-function () #<bytecode 0x232899316c83114>)()
>   handler-bind-1(#f(compiled-function () #<bytecode 0x232899316c83114>
>   ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
>   ert-run-test(#s(ert-test :name todo-test-add-and-delete-file :docume
>   ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
>   ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
>   ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
>   ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
>   eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
>   command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l
>   command-line()
>   normal-top-level()
> Test todo-test-add-and-delete-file condition:
>     (end-of-file "Error reading from stdin")
>    FAILED   1/42  todo-test-add-and-delete-file (0.023699 sec) at
>    lisp/calendar/todo-mode-tests.el:823
[...]
> Ran 42 tests, 41 results as expected, 1 unexpected (2025-02-17 17:06:40-0=
800,
> 0.558779 sec)
>
> 1 unexpected results:
>    FAILED  todo-test-add-and-delete-file
>
> make[1]: *** [Makefile:185: lisp/calendar/todo-mode-tests.log] Error 1
> make[1]: Leaving directory '/home/eggert/src/gnu/emacs/static-checking/te=
st'
> make: *** [Makefile:251: lisp/calendar/todo-mode-tests] Error 2




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76381; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 18 Feb 2025 01:14:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 17 20:14:38 2025
Received: from localhost ([127.0.0.1]:51666 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkCC5-0006Kq-Di
	for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 20:14:38 -0500
Received: from lists.gnu.org ([2001:470:142::17]:48188)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eggert@HIDDEN>)
 id 1tkCC1-0006K7-6C
 for submit <at> debbugs.gnu.org; Mon, 17 Feb 2025 20:14:35 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eggert@HIDDEN>)
 id 1tkCBt-0003l7-DD
 for bug-gnu-emacs@HIDDEN; Mon, 17 Feb 2025 20:14:25 -0500
Received: from mail.cs.ucla.edu ([131.179.128.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eggert@HIDDEN>)
 id 1tkCBq-00063i-QB
 for bug-gnu-emacs@HIDDEN; Mon, 17 Feb 2025 20:14:25 -0500
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id 866543C00FA94;
 Mon, 17 Feb 2025 17:14:20 -0800 (PST)
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP
 id IBxNy5EthAg4; Mon, 17 Feb 2025 17:14:20 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id F0E743C00FAAF;
 Mon, 17 Feb 2025 17:14:19 -0800 (PST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu F0E743C00FAAF
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu;
 s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1739841260;
 bh=Cqs03Xzw3IMNjU+AZtZwtgcZeZD95CDlyIV8lBBkqM8=;
 h=Message-ID:Date:MIME-Version:To:From;
 b=Ei5muZk0W+yR37vjq5Kk+WjpZnc8zZNrv9ZxSn4GeumeZy1ehMqZKjUquWtuxFxhN
 a0AjhL53m9fN6NMCe31+7RJ5EBUAoQJbNcsLfKXFVvKSWwY7S1F1G9xtbDHdh81dum
 mV78jwxEfaZNY8vhUJKhg0rleVqxbXGHxNqs5MQu4YiL0eY6RN9Jxj38iNgGRtCeP0
 +JAJjF5SGmYqIoOxBxP/JNblUH7a4wMAJjDo1nF4prRACWV+UP1LutX0MEbzIAosuV
 5FA18LCw9hpuzbVjJyli77olEWb7zyif858MeKKZGYVWT8QgfE6zxzMbwIk4LIcnnH
 dF6GJMi0rTH5A==
X-Virus-Scanned: amavis at mail.cs.ucla.edu
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP
 id sdEEeSZdPKqN; Mon, 17 Feb 2025 17:14:19 -0800 (PST)
Received: from [192.168.254.12] (unknown [47.147.225.25])
 by mail.cs.ucla.edu (Postfix) with ESMTPSA id CF4923C00FA94;
 Mon, 17 Feb 2025 17:14:19 -0800 (PST)
Message-ID: <c2abeea8-9332-44f9-9394-c9125c0b2470@HIDDEN>
Date: Mon, 17 Feb 2025 17:14:19 -0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Subject: todo-test-add-and-delete-file fails on Ubuntu 24.10
Organization: UCLA Computer Science Department
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=131.179.128.66; envelope-from=eggert@HIDDEN;
 helo=mail.cs.ucla.edu
X-Spam_score_int: -19
X-Spam_score: -2.0
X-Spam_bar: --
X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Stefan Kangas <stefankangas@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://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: -0.0 (/)

Currently (commit 9cedb434ee390a30a690e9f979428c5735cb88e5) the=20
todo-mode-tests fail for me. This failure has been happening for a while=20
and I finally got up the energy to report it today.

I see the following failure symptoms on Ubuntu 24.10, running on a ZFS=20
file system mounted with the options rw, noatime, xattr, posixacl, and=20
casesensitive.

   $ cd test
   $ make lisp/calendar/todo-mode-tests
   make[1]: Entering directory=20
'/home/eggert/src/gnu/emacs/static-checking/test'
     GEN      lisp/calendar/todo-mode-tests.log
   Running 42 tests (2025-02-17 17:04:52-0800, selector =E2=80=98(not (or=
 (tag=20
:unstable) (tag :nativecomp)))=E2=80=99)
   Enter a non-existing file name:

... and the test hangs, waiting for me to type a file name I guess.

Of course a test like this shouldn't read from standard input.

If I run this command instead:

   $ make lisp/calendar/todo-mode-tests </dev/null

I get a failure. Here is what I see in the terminal output (from here to=20
the end of this email):

make[1]: Entering directory=20
'/home/eggert/src/gnu/emacs/static-checking/test'
   GEN      lisp/calendar/todo-mode-tests.log
Running 42 tests (2025-02-17 17:06:39-0800, selector =E2=80=98(not (or (t=
ag=20
:unstable) (tag :nativecomp)))=E2=80=99)
Enter a non-existing file name: Test todo-test-add-and-delete-file=20
backtrace:
   read-from-minibuffer("Enter a non-existing file name: " nil (keymap
   completing-read-default("Enter a non-existing file name: " ("todo-te
   completing-read("Enter a non-existing file name: " ("todo-test-1" "t
   todo-validate-name("todo-test-2" file)
   todo-add-file()
   funcall-interactively(todo-add-file)
   call-interactively(todo-add-file)
   (progn (fset 'todo-read-category vnew) (fset 'todo-read-file-name vn
   (unwind-protect (progn (fset 'todo-read-category vnew) (fset 'todo-r
   (let* ((vnew #'(lambda (_prompt) file0)) (vnew #'(lambda (_prompt &o
   (let ((file0 (expand-file-name (concat file ".todo") (let* ((testfil
   todo-test--add-file("todo-test-2" "cat21")
   (let* ((file (concat todo-directory "todo-test-2.todo")) (file-nb (f
   (progn (todo-show) (let* ((fn-724 #'equal) (args-725 (condition-case
   (unwind-protect (progn (todo-show) (let* ((fn-724 #'equal) (args-725
   (let* ((abbreviated-home-dir nil) (process-environment (cons (format
   (progn (let* ((abbreviated-home-dir nil) (process-environment (cons
   (unwind-protect (progn (let* ((abbreviated-home-dir nil) (process-en
   (let* ((coding-system-for-write nil) (temp-file (file-name-as-direct
   #f(lambda () [t] (let* ((coding-system-for-write nil) (temp-file (fi
   #f(compiled-function () #<bytecode 0x232899316c83114>)()
   handler-bind-1(#f(compiled-function () #<bytecode 0x232899316c83114>
   ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
   ert-run-test(#s(ert-test :name todo-test-add-and-delete-file :docume
   ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
   ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
   ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
   ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
   eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
   command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l
   command-line()
   normal-top-level()
Test todo-test-add-and-delete-file condition:
     (end-of-file "Error reading from stdin")
    FAILED   1/42  todo-test-add-and-delete-file (0.023699 sec) at=20
lisp/calendar/todo-mode-tests.el:823
Type C-x C-q to return to Todo mode.

Warning (todo):
Type C-x C-q to return to Todo mode.

This also runs a file format check and signals an error if
the format has become invalid.  However, this check cannot
tell if the number of items or categories changed, which
could result in the file containing inconsistent information.
You can repair this inconsistency by invoking the command
`todo-repair-categories-sexp', but this will revert any
renumbering of the categories you have made, so you will
have to renumber them again (see `(todo-mode) Reordering
Categories').

Warning (todo):
Type C-x C-q to return to Todo Archive mode.

This also runs a file format check and signals an error if
the format has become invalid.  However, this check cannot
tell if the number of items or categories changed, which
could result in the file containing inconsistent information.
You can repair this inconsistency by invoking the command
`todo-repair-categories-sexp', but this will revert any
renumbering of the categories you have made, so you will
have to renumber them again (see `(todo-mode) Reordering
Categories').

    passed   2/42  todo-test-current-file-in-edit-mode (0.021512 sec)
    passed   3/42  todo-test-done-items-separator01-bol (0.010045 sec)
    passed   4/42  todo-test-done-items-separator01-eol (0.010608 sec)
    passed   5/42  todo-test-done-items-separator02-bol (0.009315 sec)
    passed   6/42  todo-test-done-items-separator02-eol (0.012330 sec)
    passed   7/42  todo-test-done-items-separator03-bol (0.011992 sec)
    passed   8/42  todo-test-done-items-separator03-eol (0.011536 sec)
    passed   9/42  todo-test-done-items-separator04-bol (0.010800 sec)
    passed  10/42  todo-test-done-items-separator04-eol (0.010216 sec)
    passed  11/42  todo-test-done-items-separator05-bol (0.009597 sec)
    passed  12/42  todo-test-done-items-separator05-eol (0.018598 sec)
    passed  13/42  todo-test-done-items-separator06-bol (0.010261 sec)
    passed  14/42  todo-test-done-items-separator06-eol (0.009223 sec)
    passed  15/42  todo-test-done-items-separator07 (0.009008 sec)
    passed  16/42  todo-test-edit-item-date-month (0.009337 sec)
Warning (todo):
Type C-x C-q to return to Todo mode.

This also runs a file format check and signals an error if
the format has become invalid.  However, this check cannot
tell if the number of items or categories changed, which
could result in the file containing inconsistent information.
You can repair this inconsistency by invoking the command
`todo-repair-categories-sexp', but this will revert any
renumbering of the categories you have made, so you will
have to renumber them again (see `(todo-mode) Reordering
Categories').

Warning (todo):
Type C-x C-q to return to Todo Archive mode.

This also runs a file format check and signals an error if
the format has become invalid.  However, this check cannot
tell if the number of items or categories changed, which
could result in the file containing inconsistent information.
You can repair this inconsistency by invoking the command
`todo-repair-categories-sexp', but this will revert any
renumbering of the categories you have made, so you will
have to renumber them again (see `(todo-mode) Reordering
Categories').

    passed  17/42  todo-test-edit-quit (0.018608 sec)
    passed  18/42  todo-test-item-highlighting (0.001984 sec)
    passed  19/42  todo-test-item-insertion-with-priority-1 (0.009987 sec=
)
    passed  20/42  todo-test-item-insertion-with-priority-2 (0.009790 sec=
)
    passed  21/42  todo-test-item-insertion-with-priority-3 (0.009942 sec=
)
    passed  22/42  todo-test-move-item01 (0.012244 sec)
    passed  23/42  todo-test-move-item02 (0.013235 sec)
    passed  24/42  todo-test-move-item03 (0.011093 sec)
    passed  25/42  todo-test-move-item04 (0.010821 sec)
    passed  26/42  todo-test-move-item05 (0.010157 sec)
    passed  27/42  todo-test-multiline-item-indentation-1 (0.010821 sec)
Type C-x C-q to return to Todo mode.

    passed  28/42  todo-test-multiline-item-indentation-2 (0.009533 sec)
Warning (todo):
Type C-x C-q to return to Todo mode.

This also runs a file format check and signals an error if
the format has become invalid.  However, this check cannot
tell if the number of items or categories changed, which
could result in the file containing inconsistent information.
You can repair this inconsistency by invoking the command
`todo-repair-categories-sexp', but this will revert any
renumbering of the categories you have made, so you will
have to renumber them again (see `(todo-mode) Reordering
Categories').

    passed  29/42  todo-test-multiline-item-indentation-3 (0.009796 sec)
    passed  30/42  todo-test-raise-lower-priority (0.009248 sec)
    passed  31/42  todo-test-revert-buffer01 (0.009938 sec)
    passed  32/42  todo-test-revert-buffer02 (0.008427 sec)
    passed  33/42  todo-test-todo-mark-unmark-category (0.010725 sec)
    passed  34/42  todo-test-todo-quit01 (0.052408 sec)
    passed  35/42  todo-test-todo-quit02 (0.009662 sec)
    passed  36/42  todo-test-toggle-item-header01 (0.001943 sec)
    passed  37/42  todo-test-toggle-item-header02 (0.008954 sec)
    passed  38/42  todo-test-toggle-item-header03 (0.008931 sec)
    passed  39/42  todo-test-toggle-item-header04 (0.009328 sec)
    passed  40/42  todo-test-toggle-item-header05 (0.009975 sec)
Items unarchived.
    passed  41/42  todo-test-toggle-item-header06 (0.018761 sec)
    passed  42/42  todo-test-toggle-item-header07 (0.009436 sec)

Ran 42 tests, 41 results as expected, 1 unexpected (2025-02-17=20
17:06:40-0800, 0.558779 sec)

1 unexpected results:
    FAILED  todo-test-add-and-delete-file

make[1]: *** [Makefile:185: lisp/calendar/todo-mode-tests.log] Error 1
make[1]: Leaving directory '/home/eggert/src/gnu/emacs/static-checking/te=
st'
make: *** [Makefile:251: lisp/calendar/todo-mode-tests] Error 2




Acknowledgement sent to Paul Eggert <eggert@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#76381; 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: Thu, 20 Feb 2025 13:45:03 UTC

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