From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#55284: bug#66395: 28.2; Todo-mode locks up when trying to edit an entry Date: Sun, 12 Nov 2023 15:10:44 +0100 Message-ID: <87o7fzuknv.fsf@gmx.net> References: <871qe6ntf4.fsf@ndegruchy-wlt> <877cnyazsd.fsf@gmx.net> <87h6lzx3ln.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31674"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Christos Ballas , LdBeth , 66395@debbugs.gnu.org, 55284@debbugs.gnu.org To: "Nathan R. DeGruchy" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 12 15:11:45 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 ) id 1r2BBh-00084E-Im for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Nov 2023 15:11:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2BBM-0001FZ-89; Sun, 12 Nov 2023 09:11:24 -0500 Original-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 ) id 1r2BBK-0001Ey-5G for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 09:11:22 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2BBJ-0000gk-TJ for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 09:11:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2BBy-0006gy-Dd for bug-gnu-emacs@gnu.org; Sun, 12 Nov 2023 09:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Nov 2023 14:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55284 X-GNU-PR-Package: emacs Original-Received: via spool by 55284-submit@debbugs.gnu.org id=B55284.169979830925690 (code B ref 55284); Sun, 12 Nov 2023 14:12:02 +0000 Original-Received: (at 55284) by debbugs.gnu.org; 12 Nov 2023 14:11:49 +0000 Original-Received: from localhost ([127.0.0.1]:55232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2BBl-0006gG-3r for submit@debbugs.gnu.org; Sun, 12 Nov 2023 09:11:49 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:46571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2BBf-0006fp-BV; Sun, 12 Nov 2023 09:11:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1699798245; x=1700403045; i=stephen.berman@gmx.net; bh=Ec/4A4dk85nuihwcveB1nQXKKVxUlCFP3uHOD9Rzo7o=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=tIbBOeooUSCPbawCgtAUKwyqrmQz7SPon/fH2GNDselrdEYkMOLLylUsjsy9iaL7 4cHx6ipWOxtSzfuYy6bwRn9q/BbZKA+9YO+QviyQfsGBEjjz5fvLxIXOAABQAM9Hl Tvp6g5Kka9y7GVSIbcslg/LJNlem5FEGaAAU9C9Jo0wxfEJKEOzHvdXz3c0pYr4Yn DbDRzkudyS4J+XmqPrluV/1wmXmL+dvS1uKS3Hynr9CqEsKcPpoEvE5EvOzYyJHLv oqncclSyX3/6exkdfbzc4N8M1dgqSRgHabsPINS0zrhJaYoxZPACf7MiV1n8xLfg7 yqFPzl8xUI1japZaKQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfs2 ([89.246.37.50]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M8QS2-1qxlKP2Whs-004Vbl; Sun, 12 Nov 2023 15:10:45 +0100 In-Reply-To: <87h6lzx3ln.fsf@gmx.net> (Stephen Berman's message of "Sun, 05 Nov 2023 23:00:36 +0100") X-Provags-ID: V03:K1:Up8Qld4l+7dVfio0thDMpvrcwcsBa/fV0bJT4RM4vEKNUKpi5po 6VqlwaR5Atkfg7oX0yzlwv+uoGAQYcI9+iUps5lu/RXdt4gtBkEOXxtHskdAomBQeCHrXUx glOZ8cQD6g2fivXGiuqe1wO4YRXF0whgXnCjitYHb+3mLzxBMgYSfFzZnzX03mkB8cWFr2j 59QLwow7qyMFP3ZxRF9cw== UI-OutboundReport: notjunk:1;M01:P0:qMzTR8R/vSA=;dzSCtTkUX1WNzfVQ6v0gMlH2qwg YrHsdA3fgi7bgPzs3eHTbNRGvDB4wfmJT8oqsP7eoP/7KNJqGOerSPTHON86tvetAJZZkvmIL rn3/yrhfWdXGQXQEayr6z8umN313477RHdT32+jFau+Pq2hBZi8rcWZSCMbG/8msmwCPmj9XG RhkQb2xH1GIGf3hQE7g9H7JQKIfhXeRh9w36Dje6ozqFBVUvUcCeSrISmWtaCOlQrsDtZ88yD IgpInrGiandPXebfF7RaYwvyIb3vY8W8ENnFMzjX5SV4JjrnvgHOn8rP7DxVpZ1+5f/ZL/JbC G6PmcHcB/MTgq0xPniZWTtMksqUttBhQtityPb96/NKKPjpxzS+mWpmD+FDQu04OjVih9i+Za qMGYQ+AXo3jfbgr2GcFQcvW7Rh+vv8fBxfAn3hCzks0JlDSARqL3leW+vn1b0JcN0RSx8DinU RyIOBbXaiKBzDQ2O7Tgjlbh6E132q0JubjgYvOSKYWIF1owsifGTX++vR3zrrRWk0Lxq7in25 ErTH4n04XmFcwGJ24shudjS04BG+y5kOv+rBAnWxWSAHqmsrCafDsLrWrmgvuAQfn/l0QpZKr PIYAYjwSOZLzGH4+72L2/KSb8254Tsvoy3pe9SY3jwq8PYCTBu9LqRSEO6Rm1egZLfaLH94GJ nLJEN4/V487FDnc5I/0dJzQlEljl+zAJyWKkiVpzeyRKcan4fqyJ38SkQPSU5y/YpemVBUIMO oWW9ClXz/kxHaexkTAPcuPsEjhdLp0Cc6+Jgqs/ZN9dqQaxlMYU8QigYZwP/SoideMcbT0Cg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274202 Archived-At: On Sun, 05 Nov 2023 23:00:36 +0100 Stephen Berman = wrote: > merge 55284 66395 > thanks > > On Sat, 07 Oct 2023 23:27:46 +0200 Stephen Berman wrote: > >> On Sat, 7 Oct 2023 19:06:55 +0000 "Nathan R. DeGruchy" wrote: >> >>> I am trying to explore using 'todo-mode' as a todo list and while I ca= n >>> see and create entries in todo-mode using the normal functions, trying >>> to edit an item seems to cause emacs to soft-lock. I can reproduce thi= s >>> in a config-less emacs via `emacs -Q`. >>> >>> Basically, I have a todo-file at $HOME/.config/emacs/todo/tasks.todo, >>> this was created when using `todo-show` initially. The contents are no= t >>> very complex: >>> >>> (("Emacs" . [1 0 0 0]) ("Home" . [1 0 0 0])) >>> --=3D=3D-- Emacs >>> [2023-10-07] Learn Todo Mode >>> >>> =3D=3D--=3D=3D DONE >>> --=3D=3D-- Home >>> [2023-10-07] Get new wiper blades >>> >>> =3D=3D--=3D=3D DONE >>> >>> When on either of the items, if I hit 'e' to edit them, it causes emac= s >>> to lock up, specifically around `todo-done-item-p()`. I found this out >>> by enabling `toggle-debug-on-quit`, reproducing the error, and the >>> C-g'ing out of the loop/lockup. I also tried to trace through the >>> todo-edit-item with edebug-defun. Stepping through, it seems to reach >>> the same predicate function and ... stop. >>> [...] > I've finally attended to this bug. The problem is due to using a faulty > regular expression for matching todo date headers in the ISO format. [...] > However, using the ISO date format in todo-mode does necessitate > additional changes, in the code for editing todo item headers, which the > attached patch also includes. [...] > Therefore, what I'd like to do first is install this patch, after > waiting several days for any feedback. I've now pushed the patch to master as commit 0bfe764fe56. Steve Berman