From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id zs2NEGm5yl68dQAA0tVLHw (envelope-from ) for ; Sun, 24 May 2020 18:14:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gDi5C2m5yl7hGwAAB5/wlQ (envelope-from ) for ; Sun, 24 May 2020 18:14:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C07CD9403EC for ; Sun, 24 May 2020 18:14:00 +0000 (UTC) Received: from localhost ([::1]:43698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcv8J-0004Ju-Pi for larch@yhetil.org; Sun, 24 May 2020 14:13:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcv7t-0004Jk-8x for emacs-orgmode@gnu.org; Sun, 24 May 2020 14:13:33 -0400 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]:40313) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcv7r-0003fQ-Hn; Sun, 24 May 2020 14:13:32 -0400 Received: by mail-ot1-x329.google.com with SMTP id d26so12279844otc.7; Sun, 24 May 2020 11:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ArcIE5QOWD+HGgg1uRdGo/YR52Nyy+ybLWxbNzhgWig=; b=oWg236vXz3/4Db0wrWIzKzWnn8pzmJY7kzayI0+IASSLDddm7BuzTMjbl+V/T9NrPB wbaUiSNUrDEph0dFeJipYaUZFeWt2ovpRGDfYyXo8loOSNVD0G7ZwPp1cJ+wEDMov6+C rnw0K7fRgZ8s/mQSJyB2/ELi4RvmUn135kqbvwMz+ABYbf5chRYINUFGjnSvcWxZIdnz VPPR443AVGGviovRCXHcjlyg9g2FVpuP3ddCUlyjK0l37C5qxJqQIOZ6Re3PL+OxJJRp 8ml5aM61y+9896eXjpv1h62COzLeTcHhPGukjcMFt5jpfz/6Ce5RQmaX4T3dhoJxycx1 BzQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ArcIE5QOWD+HGgg1uRdGo/YR52Nyy+ybLWxbNzhgWig=; b=RarU1KtoXLCbTLrmvXgpPf1zXH3e0TMFPua1FNTWCi2u1XRXML2V5KXR8tuGRJuK9m 4LAo2g+NpA/qshMwKNz2Va58YgQ+IzNIyrMyUuyJIC5KCJ7LN9Eg7vlJ619xLG5xPzM2 eJVDHy37ZidvxB18KnFELu7IsepB/IdD2iLjA+LUQ6rdNZHBTpFo4qP8MZq85r5I8JqH E5zRxC8hzNEPmv17qn/yI7QzfRBeyc2ClQNNo1KGv2DxDHXEDq6tDRQoiE+10y16LY3l qIkKbrEk7tZu/T1GgQpz1vY09XvbfuU6J5+xCQhLAS03/xpPnbxRwyFXIGc3rYVLt0c2 77Ug== X-Gm-Message-State: AOAM530zMcM7cc+v9QjiYtujoATQu2v6DWqaZcphAbqfPB9ZtY0qT6nL V2COc82/j4gtt0lq69tzcZymdfuxKtS4GrQ3CdyDNyNx X-Google-Smtp-Source: ABdhPJxoPxiB3WIKc6WUCk5bee0PuFcxst7P9Xx4MBjddI8eO5F3/t1JhW+rib/vN3y70jK42cH8lXk3FxwlOzJL3IU= X-Received: by 2002:a9d:6d03:: with SMTP id o3mr18892802otp.283.1590344007380; Sun, 24 May 2020 11:13:27 -0700 (PDT) MIME-Version: 1.0 References: <87h7yk83eh.fsf@gmail.com> <874ks5sfoj.fsf@gnu.org> In-Reply-To: <874ks5sfoj.fsf@gnu.org> From: William Horne Date: Sun, 24 May 2020 13:13:11 -0500 Message-ID: Subject: Re: Bug: When "Org Hierarchical Todo Statistics" set to nil, DONE items diasppear from agenda filtered by top headline [9.3.6 (9.3.6-25-g685b2c-elpa @ /home/william/.emacs.d/elpa/org-20200316/)] To: Bastien Content-Type: multipart/mixed; boundary="000000000000a18dad05a668d124" Received-SPF: pass client-ip=2607:f8b0:4864:20::329; envelope-from=will.m.horne@gmail.com; helo=mail-ot1-x329.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=oWg236vX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 1.59 X-TUID: w0z7rIhnmzRN --000000000000a18dad05a668d124 Content-Type: multipart/alternative; boundary="000000000000a18dab05a668d122" --000000000000a18dab05a668d122 Content-Type: text/plain; charset="UTF-8" Hi Bastien, Thank you for your response. This still happens for me on the version built from the org-mode.git repository. Here is a test .org file (also attached): ---- * TODO [0/4] Project 1 ** Category 1 *** TODO Task 1 *** TODO Task 2 ** Category 2 *** TODO Task 3 *** TODO Task 4 * TODO [0/4] Project 2 ** Category 3 *** TODO Task 5 *** TODO Task 6 ** Category 4 *** TODO Task 7 *** TODO Task 8 ---- Here are the steps I followed (using emacs -q) to reproduce the issue: 1. emacs -q test.org 2. M-x, customize variable 3. org-hierarchical-todo-statistics 4. Toggle --> off, 5. State --> 0, "Set for current session" 6. back to test.org 7. M-x, org-agenda 8. < (restricted to buffer) 9. t "List of all TODO entries" 10. place cursor box on "Project 1" line 11. ^ ("org-agenda-filter-by-top-headline") ("Project 2" and descendants disappear) 12. cursor box over "Task 1" 13. t (mark "Task 1" DONE) This makes "Task 1" disappear from the agenda on my machine. The same happens when I mark "Task 2" as done. Pressing "g" makes "Project 1" and all remaining descendant tasks disappear. Please let me know if I can provide any more information. Will On Sun, May 24, 2020 at 7:03 AM Bastien wrote: > Hi William, > > William Horne writes: > > > Unfortunately, it appears that doing both at once triggers the > > following behavior: with Org Hierarchical Todo Statistics set to > > nil, marking an item DONE in the agenda while it is filtered by top > > headline makes it disappear from the agenda, leave a blank line in > > its place, and become irretrievable through undo. > > thanks for the detailed report. I tried to reproduce the issue with > an .org file I wrote, but I could not reproduce the problem. > > Do you still have this issue with latest Org? > > If so, can you provide a minimal .org file to let us reproduce the > problem with emacs -q? > > Thanks, > > -- > Bastien > --000000000000a18dab05a668d122 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Bastien,

Thank you for yo= ur response. This still happens for me on the version built from the org-mo= de.git repository.

Here is a test .org file (a= lso attached):

----
* TODO [0/4= ] Project 1
** Category 1
*** TODO Task 1
*** TODO Task 2
** Ca= tegory 2
*** TODO Task 3
*** TODO Task 4
* TODO [0/4] Project 2** Category 3
*** TODO Task 5
*** TODO Task 6
** Category 4
**= * TODO Task 7
*** TODO Task 8
----

Here are the steps I followed (using emacs -q) to reproduce the issue:

1. emacs -q t= est.org
2. M-x, customize variable
3. org-hierarchical-todo-stati= stics
4. Toggle --> off,
5. State --> 0, "Set for current = session"
6. back to t= est.org
7. M-x, org-agenda
8. < (restricted to buffer)
9. t= "List of all TODO entries"
10. place cursor box on "Proj= ect 1" line
11. ^ ("org-agenda-filter-by-top-headline") (= "Project 2" and descendants disappear)
12. cursor box over &qu= ot;Task 1"
13. t (mark "Task 1" DONE)

This makes "Task 1" disappear from the agenda o= n my machine. The same happens when I mark "Task 2" as done. Pres= sing "g" makes "Project 1" and all remaining descendant= tasks disappear.

Please let me know if I can prov= ide any more information.

Will

On Sun, May 24= , 2020 at 7:03 AM Bastien <bzg@gnu.org> wrote:
Hi William,

William Horne <will.m.horne@gmail.com> writes:

> Unfortunately, it appears that doing both at once triggers the
> following behavior: with Org Hierarchical Todo Statistics set to
> nil, marking an item DONE in the agenda while it is filtered by top > headline makes it disappear from the agenda, leave a blank line in
> its place, and become irretrievable through undo.

thanks for the detailed report.=C2=A0 I tried to reproduce the issue with an .org file I wrote, but I could not reproduce the problem.

Do you still have this issue with latest Org?

If so, can you provide a minimal .org file to let us reproduce the
problem with emacs -q?

Thanks,

--
=C2=A0Bastien
--000000000000a18dab05a668d122-- --000000000000a18dad05a668d124 Content-Type: application/octet-stream; name="test.org" Content-Disposition: attachment; filename="test.org" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kaldbyt90 KiBUT0RPIFswLzRdIFByb2plY3QgMQoqKiBDYXRlZ29yeSAxCioqKiBUT0RPIFRhc2sgMQoqKiog VE9ETyBUYXNrIDIKKiogQ2F0ZWdvcnkgMgoqKiogVE9ETyBUYXNrIDMKKioqIFRPRE8gVGFzayA0 CiogVE9ETyBbMC80XSBQcm9qZWN0IDIKKiogQ2F0ZWdvcnkgMwoqKiogVE9ETyBUYXNrIDUKKioq IFRPRE8gVGFzayA2CioqIENhdGVnb3J5IDQKKioqIFRPRE8gVGFzayA3CioqKiBUT0RPIFRhc2sg OAo= --000000000000a18dad05a668d124--