From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oKdvDHDo3WYgFwAA62LTzQ:P1 (envelope-from ) for ; Sun, 08 Sep 2024 18:09:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oKdvDHDo3WYgFwAA62LTzQ (envelope-from ) for ; Sun, 08 Sep 2024 20:09:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IuGXxsNv; 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=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725818992; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=U34m/aWmJH6TyzN9MxFng/iztUULWFX97GVDDCpaaw0=; b=LrfxwdbE2bNZAMLFUJ/fGGsfrNDNgWmQjnmTSoeIezwWfHcfqKUm5DSE/1PpHj2gizMRvv 8Z63IUxaEdePoa21tAyGqC4WqjH39h3P5fUeCpbHk6VgSz01SlqLoLGZC9J/8T6ThmWvTW QOLE5W1AWYYfHcNcNgf3qZRlmxG6HSAVw74HWAtF1cTOt4bezpO4X9Pe7ydVa5ztIjZb8U auqXwYwN8ObnPHE/iPUwh+PN1to+BNMqDlvucugvfcqN+fDUKgki26nfp0mwTbF88stQvh qlV8gFJTWhw4aBXnpC65r1hkS9DVbJmzkrCs1945hNsLXlQkksRfcZdo1TCoJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IuGXxsNv; 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=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725818992; a=rsa-sha256; cv=none; b=oQ6on2Cg4OWfuFPUj4NvO6Khdu2xwKhDARtgQxkrp0p7yYugKCaZobFgwSJLcKR+N2FFz3 Hw2Ma6n46dG+qxdPnP9Hi2b1hP5DueMtmqzfzKZNE5SGNqi4jxtjRxnl63Z7XDeQ3TuEAk Q8nT9wruNd2++hGNnMgVQYbokbOAHCYhYNtPPFGGjYa/3M/PSBYB+TWa1bWBGfeWqXreab ppuOaH06x74bbqAAFVSiVgKaFAn2HML/YWl7zs1kgPMeVSwUQefRDIHh4Bd0ZrNJUbnkpf JhUIYlHWA/htknDrHwUJ5G1beFMWPWa6kJwYU7/RHBh+Qo8gdd0XRK6bXhPj2A== 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 EC96E43A0 for ; Sun, 08 Sep 2024 20:09:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snMLH-0003j7-Hq; Sun, 08 Sep 2024 14:08:55 -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 1snMLG-0003ix-0o for emacs-orgmode@gnu.org; Sun, 08 Sep 2024 14:08:54 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snMLD-0000Yo-6K for emacs-orgmode@gnu.org; Sun, 08 Sep 2024 14:08:53 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 13E16240101 for ; Sun, 8 Sep 2024 20:08:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1725818928; bh=wjZkZ2mx5ZD0MW+Q538pN4KAUVF0qbjFZv+Xp5wb+nk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=IuGXxsNvIbyez1WHV24UALnJXoeFIhxjAOFuuDV5FmpV1fzDGevhQTpX8i6g/R0et G6R/yEVM+wWn+Q4jKoEjfyREtHeA2m9xbw6h1LMNunsluX3FkYp0snpUqSQrrK4mQv N7tMrXRN9sd3cCXJb+HX7SmdTi79HKCTkSXWFnQEIFgDezu/RV2OHu5iO6Ag5fDz31 HPRcYrd+aw8AM//biwyb6roYXgmkT4txGM4M70QtzUVlx07/Ghd1+k9HFefNp8CUgn tO8VEQn5MrIQ71TuX+Oxez1ru4VOwzNTZiP7f34klSHgL39zmok/Jyl+Y4P5ScoziB LuZeUaF0nf94Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X1ydV5jlSz6twG; Sun, 8 Sep 2024 20:08:46 +0200 (CEST) From: Ihor Radchenko To: pinmacs@cas.cat Cc: emacs-orgmode@gnu.org Subject: Re: BUG: after an org-capture to an inbox entry, statistics-cookies are not updated on certain circumstances In-Reply-To: References: Date: Sun, 08 Sep 2024 18:10:14 +0000 Message-ID: <8734marp89.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=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-Spam-Score: -9.71 X-Migadu-Queue-Id: EC96E43A0 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.71 X-TUID: GhFXWFGKvzCD 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? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at