From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6F1nFmAi32Y8FQEAqHPOHw:P1 (envelope-from ) for ; Mon, 09 Sep 2024 16:29:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6F1nFmAi32Y8FQEAqHPOHw (envelope-from ) for ; Mon, 09 Sep 2024 18:29:20 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=cas.cat header.s=2023 header.b=J4iRV01w; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=cas.cat ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725899360; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=idjmsJETzjZbODIDA1lMhzEh5I7NF6Boxw7AMnquB+o=; b=iB7VnWlK/PdXhj1AuXZnGUgUMZDSKIkjP2ZJP6kfqyUZ3ZgH++YQIiOzkBGpi4SV/myo/e RFH8ndVVgcLXohMZa+4NTd0oFilh064HNi+9O14tpx409A+8F07MLQWAs5pNVCzgLID+XP D12f1PyUQs7m4yUjCQn0XFN864X9jKxycDuQd/L1WSriNPy/HHB6jig96hOcYOOrHBhTsL yQt6HIZ2dYzL+EI0jkQmt5MEI+q8buLb6gMHGxgbip39kbjMvSxvvH6fcOCJHEhJIjLRUX onDGPa29avTzWr3adVSh7HSOPMhkmZ90LVBtIRggin1eZUQN9KWAgu8Va0a3zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=cas.cat header.s=2023 header.b=J4iRV01w; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=cas.cat ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725899360; a=rsa-sha256; cv=none; b=MLka0n1SUUcudTQ2WIyMwpUD6kU2YK+riEw9sJPwcSmphD3qXTEs+f3QzsFrxkShXq9Tdc 3jGAZ8guYYKdZaPxsqj/5qlibZlPdqyZj4IhMJBejYedA18EFKyBsIxQa+BLAqJxZX5qSj TZogo0fsb46X8PBhjo9Ptudhep4YJ6DkeDU1+GqxYfAcd8KT39cTJ+0k3dKbLu28PBmI4W 5cvMZX+poyIpTPHr1yVFidn0if+bGCRhhqIhCcefG9yhOBcd2HubxJfVyCNAnVeH6EZvxU LOBZMcUsyTGhXlvIjz5TE+o6W1u7lIlJrAktwKH3QRpGVwFl3cVCuxlfttDzxw== 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 25AD46ACA1 for ; Mon, 09 Sep 2024 18:29:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snhFj-0005Mj-TX; Mon, 09 Sep 2024 12:28:39 -0400 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 1snhFV-0004vE-Ug for emacs-orgmode@gnu.org; Mon, 09 Sep 2024 12:28:23 -0400 Received: from cas.cat ([45.150.187.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snhFT-0008QV-ON for emacs-orgmode@gnu.org; Mon, 09 Sep 2024 12:28:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cas.cat; s=2023; t=1725899288; bh=NNfSz4oCpq/lON2OZmFJpfsaz7BNVeK8gj5OFTDF6CY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=J4iRV01wi14PqMdGH3lnKF/LsfnqJjbhpDrvksjyZnvZFHCxpjfxwLG+BXhI18AFe QYP658X5pvX00Jv+pPw2RahVphGNtQVY1pOjfraGTtEMqud9gALKmpGaWVQkI3zspu qWTxMJRBXEqJBm0KGlmR0D8rX4/wKY1Bod+jlZbK7V/ErI/Zp8KjcfVtYWJgXDh0Ll 4qY0XCY+9IZH+dgmpUaw489ikg5hB8vVAxLiPn7x/4O43x1qnSMSO/tufngIJUkhMO YUVG936gZgRWROhgK4EIH3RrPFXYlUcwFoonYi0WU59UKNaXEmxkzUqFZPK8v3Eckn 9U1wBKwSR3FbQ== Message-ID: <9639b136-4c6c-419b-b7a8-f48ed56cfbb2@cas.cat> Date: Mon, 9 Sep 2024 18:28:08 +0200 MIME-Version: 1.0 Subject: Re: BUG: after an org-capture to an inbox entry, statistics-cookies are not updated on certain circumstances To: Ihor Radchenko Cc: emacs-orgmode@gnu.org References: <8734marp89.fsf@localhost> Content-Language: en-US From: pinmacs In-Reply-To: <8734marp89.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=45.150.187.15; envelope-from=pinmacs@cas.cat; helo=cas.cat 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 25AD46ACA1 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -10.05 X-Spam-Score: -10.05 X-TUID: sFtkoIo0GV51 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