From unknown Thu Aug 14 12:23:57 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#27609 <27609@debbugs.gnu.org> To: bug#27609 <27609@debbugs.gnu.org> Subject: Status: 26.0.50; Todo-mode bugs with hidden headers, etc. Reply-To: bug#27609 <27609@debbugs.gnu.org> Date: Thu, 14 Aug 2025 19:23:57 +0000 retitle 27609 26.0.50; Todo-mode bugs with hidden headers, etc. reassign 27609 emacs submitter 27609 Stephen Berman severity 27609 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 07 09:30:17 2017 Received: (at submit) by debbugs.gnu.org; 7 Jul 2017 13:30:17 +0000 Received: from localhost ([127.0.0.1]:55877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTTKr-00007O-7n for submit@debbugs.gnu.org; Fri, 07 Jul 2017 09:30:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTTKq-00007B-3o for submit@debbugs.gnu.org; Fri, 07 Jul 2017 09:30:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTTKg-0003OV-R5 for submit@debbugs.gnu.org; Fri, 07 Jul 2017 09:30:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43327) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dTTKg-0003OP-OG for submit@debbugs.gnu.org; Fri, 07 Jul 2017 09:30:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTTKf-0006AA-D6 for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2017 09:30:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTTKb-0003LB-ES for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2017 09:30:05 -0400 Received: from mout.gmx.net ([212.227.15.18]:50104) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTTKb-0003KI-3b for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2017 09:30:01 -0400 Received: from rosalinde ([83.135.19.4]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MQ2zr-1dOGf71bMp-005HIu for ; Fri, 07 Jul 2017 15:29:58 +0200 From: Stephen Berman To: bug-gnu-emacs@gnu.org Subject: 26.0.50; Todo-mode bugs with hidden headers, etc. Date: Fri, 07 Jul 2017 15:29:57 +0200 Message-ID: <87d19cjrxm.fsf@rosalinde> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:oR1bFx3nxHBXRtHpQchg4EpZS6szNpKgC2dO1qpTpOvAaCW/Ezu 9Vtdp6glmREjOqGNDOuzOK0c7bndkmiS/CScjSXH0cUrqjXqXUA9vEcrc2+3LhzxXF7QcKM FLoqpd2d1GkXsbsEEmwkHUnvuApY7wDZMHhTZ5GSHVSrLdp6J9ZKnr1LjjQGXSjR7uMRt0s UFoUPnOkU3i0lbtoPsgpA== X-UI-Out-Filterresults: notjunk:1;V01:K0:Tp+0LWNl3tA=:lCLbRaJw4BDLWZ/1asekKx n44xEhSI/ixvGqaQ83nQljrIdCDECeAhAE3AK/B84KmhxPKFNeZHm/2uXOXbT7HxoDu2jkdBG gC437K/KT5HN5FLkjQrVxP3mwbpPr59gJJtpbUCCnXXyyGZEy/EhuGT3R5Qxlmow2Vz4eiDWn zbvTogOOcaHDsWEcfQYqOB1fD65WKvydl9YUf5hErX8kcTWMdOOImCbKqI6KzBWoJ5Vhz5p/7 XXvUbDUF/CTEuXDs3z706IK42egMcoB+AMNPaRJh8Vsm5OerUwNwFzQ5KVWXm5cLvBz866DjT IRvPYv/ApmpstAf78hIVjZPmPrJ0C0Z/ejULk7XhGwZ9G34pbw8DyrCYDphYzHyCazkdK6PMb RgPBWNYn6bM265oShTnI7+3QixYKbEul1RB+FOUQNURIm/D6xO37E5fX6ybF0Xr80Kw6/5vFQ ZQot86W0aKjbzJOaIA9NaeBztRpeihEGjKwJK0t4n+6dicu41PTpz1gJf1illQyxRx0Ql8YfL LBWOYoNUHxJE3M84uGMImb2AwPCvlAFMVtI2xhArG9uDC0z5NEfUdHJzvVhrO7rS7RkWjS6qV hsrSaYAh3PN8jns2NCFoY7dP2yEDR6o89Jaj7x0Unps4mtJnFuvbzoLwIXlySSNp+7eiUJenR u1Puef9TguvUgul6WGOa9IQ4hTdLri6xLK015xOO3zTX72l0Vm7rF9D6gHM1jwRy3d1AS2xSl 7nxjLn5x/boRfANDhtOWIEgd0NiySTGUkNF0boQsO8ITRrQei8FzF68sVR50gxTfLpX80BCl/ syTVNVn X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit 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: -4.1 (----) I found several bugs involving todo-mode hidden item date-time headers, and in the course of debugging these found several other unrelated bugs. I've fixed all of these and, being the maintainer of todo-mode.el, I will push the fixes to master, together with accompanying tests I've written. This bug report is for reference, so I'll just list the bugs without providing recipes to reproduce them (the tests more or less embody recipes). These are the bugs related to hidden headers: - With date-time headers hidden (by typing `h' todo-toggle-item-header), relocating an item by changing its priority (`r', `l', `#'), moving it to another category (`m'), the done items section (`d') or archive (`A d'), undoing or unarchiving it (`u')) results in its date-time header being shown. - With date-time headers hidden, if a new item is inserted, its date-time header is not hidden. - With date-time headers hidden, `h' in an empty category fails to show the headers (but when the headers are shown, `h' in an empty category hides them). - When date-time headers are hidden, typing `p' (todo-previous-item) moves point to the end of the item two items higher; it should move to the beginning of the next higher item. And with item highlighting also enabled (by typing `H'), after `p' the item below point is highlighted: that's the correct item but it appears to be incorrect, since point is incorrectly not on that item. These are the unrelated bugs: - Typing `C *' (todo-mark-category) corrupts an internal data structure, resulting in incorrect item counts (shown by typing `F c' to display the table of categories in the file). Also, when there are no todo items in the category and the done items are shown, typing `C *' raises a wrong-type-argument error. - Typing `*' to mark an item and then `m' to move it to a preceding category results in an infinite loop. - Typing `r' (todo-raise-item-priority) or `l' (todo-lower-item-priority) on a done item or an empty line raises a wrong-type-argument error; they should be noops. - Typing `u' (todo-unarchive-items) on an archived item to restore it as a done item in its category puts point on the done items separator instead of on the restored item. - Typing `g' (todo-revert-buffer) puts point at (point-max) and makes the category buffer writable; point should stay put and the category should be read-only. Steve Berman In GNU Emacs 26.0.50 (build 10, x86_64-pc-linux-gnu, GTK+ Version 3.22.8) of 2017-07-07 built on rosalinde Repository revision: 579a9ee22e0decf7bed8aff1751c5b3d147b921f From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 07 17:29:05 2017 Received: (at 27609-done) by debbugs.gnu.org; 7 Jul 2017 21:29:05 +0000 Received: from localhost ([127.0.0.1]:57135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTaoD-0004o0-8V for submit@debbugs.gnu.org; Fri, 07 Jul 2017 17:29:05 -0400 Received: from mout.gmx.net ([212.227.15.15]:52922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTaoB-0004nU-77 for 27609-done@debbugs.gnu.org; Fri, 07 Jul 2017 17:29:03 -0400 Received: from rosalinde ([83.135.29.57]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MYOY5-1dFzuD0vtx-00VB92 for <27609-done@debbugs.gnu.org>; Fri, 07 Jul 2017 23:28:56 +0200 From: Stephen Berman To: 27609-done@debbugs.gnu.org Subject: Re: bug#27609: 26.0.50; Todo-mode bugs with hidden headers, etc. References: <87d19cjrxm.fsf@rosalinde> Date: Fri, 07 Jul 2017 23:28:54 +0200 In-Reply-To: <87d19cjrxm.fsf@rosalinde> (Stephen Berman's message of "Fri, 07 Jul 2017 15:29:57 +0200") Message-ID: <87y3s0hr6x.fsf@rosalinde> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:4JSdmhpyI6VxIrjJMHRVUCMIrAh3h5h/MUuKKoeH87fnR32vpUL YcVBNsmrbo/cq8DKHGFZt0CPR/ak9Hj/4WGDLiTHUnWN/eEIm20f/I0olW8udx0wJy7gwTn VNmfuPSc84/zHrh/OmPsDlZktbWgK1doWXqUAwTqaDq/Xo9yAyBzeRic0pKDJ1Qd0mMYkXX Q70S+skNt8JUOkuEqOenA== X-UI-Out-Filterresults: notjunk:1;V01:K0:TCayyoQADgE=:l0zsqBpnqAbF35Y8/kg+ov /UkgseR0SqriGuGU+5CZjhlQDQqC6750e3LZ4lU3qnLOBRz8PaZeBUfVl5JZGGLbE8Z7CXfIn VBei7nDHZCMyprwlxA2ZarZx6JXwI2pNSBawdpsjl9tPiNIpoKnM7A79a6p6qzcg/ueTOC6nF UfpTgZHRGPY0eOmvv67cp7r3LxoVoxyoUHoyj1/7EnFq9jn6i/MowbMaDIvkKjDdl/hn+vsHs f4taGBueOz+vamrcDdzs4OpoojM4P0QIfG+nRpw7rG6itTtYYNVzjnKVoSJ9n/C6K7y6DUJ87 tQv+i6UeJzAgMEbPAP+jLhExHcnk/DtxC19dqj7pZCXd4kTnDZ5iPNM4NOQJ8Do4jZEo4AESi 7DrzAWvEWX8u1DzX6ks/ey7ajqY2r3RIAOowKCLmTtbWxQ4RBPIzQyCDdon+I93mLqfQxrDSB FP0z7vIPSoekRpwjMb312YY26p8o2IkQ3sNgBx5m+gy4rbgQKAvmO6T4g3U5i4OqsONo5LIp6 5oj1EaVoSo1riV5Ckv9ogsjcR7wCTT7o+CL8sfVBU3Y1z1xhzLGmxcHR6g23us/E15zUhbvw4 e+Bvom5J8HKhDIsPn9+1kuSYFehyx/abkWfatFb4uP+gzJ0ZmuBZ7CevWmyCvEeG7QL9AjAbo N9g+gNNy10K8F8Gt4TreO+UYBhwkugcGucaNCwoHpSzbsP8+U7M9JQFtaqhF72EQBNDDrnnzv BXl3wQFMBzp0r+N0WjLLhB1Y1aOIMO/db8zGBvziv1YA82qdOGVuX0fhief4N7zF+kpqxVvqo ZSwiQDS X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 27609-done 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: -2.8 (--) On Fri, 07 Jul 2017 15:29:57 +0200 Stephen Berman wrote: > I found several bugs involving todo-mode hidden item date-time headers, > and in the course of debugging these found several other unrelated bugs. > I've fixed all of these and, being the maintainer of todo-mode.el, I > will push the fixes to master, together with accompanying tests I've > written. This bug report is for reference, so I'll just list the bugs > without providing recipes to reproduce them (the tests more or less > embody recipes). Fixes committed in 1cf6b15 and 264dd81, tests in c24748a. Steve Berman From unknown Thu Aug 14 12:23:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 05 Aug 2017 11:24:03 +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