[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BUG: after an org-capture to an inbox entry, statistics-cookies are
From: |
pinmacs |
Subject: |
Re: BUG: after an org-capture to an inbox entry, statistics-cookies are not updated on certain circumstances |
Date: |
Mon, 9 Sep 2024 18:28:08 +0200 |
On 2024-09-08 20:10, Ihor Radchenko wrote:
pinmacs@cas.cat writes:
I am living with this bug since a long time, I thought I was asking
maybe something very special.
But then I find on a org-capture that goes to an inbox entry:
1. if prepend is nil, does not work on the first time (?)
2. works when number of entries is greater than 1
3. never works when prepend is t
Find attached org-capture-cookies-bug.org which I think it makes it very
easy to reproduce. Tested with ~emacs -Q~ with orgmode 9.7.10 and
emacs-30 branch with commit 44c2614
I tried to follow the .org file, but everything seems to work fine on my
side. Maybe I do not understand what exactly you expected and what
exactly did not work (what "does not work" even mean?).
May you please provide more detailed instructions on what one needs to
do to see the bug, including which commands to run, and then explain
what you actually see and what you expected?
Fine
tested again with =emacs -q= with GNU Emacs 30.0.90 (build 1,
x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
of 2024-08-30
* How to reproduce: 1. if prepend is nil, does not work on the first
time (?)
Remove all childs of the prepend nil inbox (the first), and refresh with
C-c C-c so it works like this
inbox ~:prepend nil~ works except first element (?) [0/0] [100%]
run one time =prepend_t= src block
title now is:
inbox ~:prepend nil~ works except first element (?) [0/0] [0%]
expected value is the same you would achieve going to end of line of
inbox title and pressing C-c C-c:
inbox ~:prepend nil~ works except first element (?) [1/1] [100%]
* How to reproduce: 2. works when number of entries is greater than 1
Following the state after "1. if prepend is nil, does not work on the
first time (?)",
run one time run one time =prepend_t= src block
title now is:
inbox ~:prepend nil~ works except first element (?) [2/2] [100%]
and that is the expected value, works as expected
* How to reproduce: 3. never works when prepend is t
Remove all childs of the prepend t inbox (the second), and refresh with
C-c C-c so it works like this
inbox ~:prepend t~ never works (?) [0/0] [100%]
run one time =prepend_nil= src block
title now is:
inbox ~:prepend t~ never works (?) [0/0] [0%]
expected value is the same you would achieve going to end of line of
inbox title and pressing C-c C-c:
inbox ~:prepend t~ never works (?) [1/1] [100%]
That's it, le'ts see now if it is clear the bug I am pointing to
Cheers,
pinmacs