From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oHcLHk9Dbl9eFgAA0tVLHw (envelope-from ) for ; Fri, 25 Sep 2020 19:21:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oCUHGk9Dbl/2OwAA1q6Kng (envelope-from ) for ; Fri, 25 Sep 2020 19:21:51 +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 DDF949406A1 for ; Fri, 25 Sep 2020 19:21:50 +0000 (UTC) Received: from localhost ([::1]:46438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLtHw-0003Yw-4t for larch@yhetil.org; Fri, 25 Sep 2020 15:21:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLtHJ-0003XX-Ra for emacs-orgmode@gnu.org; Fri, 25 Sep 2020 15:21:10 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:46004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLtHH-0004fv-I8 for emacs-orgmode@gnu.org; Fri, 25 Sep 2020 15:21:09 -0400 Received: by mail-qk1-x72d.google.com with SMTP id o5so3897890qke.12 for ; Fri, 25 Sep 2020 12:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=MpjQeRSKmwIHyiZ8QRo7joju28pCgmYxYNt+E8vyghU=; b=WjjCh1PO64T+TO8o1tQomZHCIZk1s42mzkkp3PMtNh4771b2RrQXKBwtZO9dJ2VEc0 PmKqD1vBDdw/zyaZieB6r7jQ7SU/tfp05Hy4xYplYsxsEyj+LscBIdjK4RSUX2cL9kvv rknn9GLv6fn2b6wqQbm8D3xdBW52KS0y+xhw0X6QWyR92jhuIO5aADLNkw5wF6HdJjeG VUzn7h6JYpY47jLF77XKveYOG/JKt1HwTVyj5lC/76Hx4Tf+EBReaFymSA3PIsdjwNzE 86BUyKEbpajIo5+N1Zx+E6HqoaRXo90NkU8dtRaQibue4m9e17BDDkjibWYt9hQC0hP4 qBuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :date:message-id:mime-version; bh=MpjQeRSKmwIHyiZ8QRo7joju28pCgmYxYNt+E8vyghU=; b=ipS71HsA5xJLZz0zjBcFWAUUBOBp+TQ+Fbq0wg9pGQZCNDoehxurrqw5B7DdB4khW8 9V+od7KvnM4FAhscPP6Mmo2yyhbgMVpocNWcnplKtErLSWyXbNkejXahb2/WH+I4MV6n Rq7zVSNTD0A8ljBVt8dYXlytaRQQ007XQmvMDBJHncE25mDLxSglhOV0WX3QZO3U2ekX ZdtZfruF4psTypllM2lNTNcdo1W1DUw5MgqUZUP6tfyrRLFLoOSZkeF2XQM/ZqIwaaXv qbiztmkAKK8liumqLaQXpyFibcyUPe2N1ceFuGxzSFY2G1UQVKbl6asb2onNHb0yeSxk VIvg== X-Gm-Message-State: AOAM533R6QxAi1e7H86BqNnOBh5EKUZVx16XOOR89+FEDAADEwsXhNMC amZnszJDbXu973RsDkKEDWaZwYWeuTPMWA== X-Google-Smtp-Source: ABdhPJxm8Y3Ga99farnWhnCQhGhLRpUyE0h2wulOz9iP0/1NsqjGxIg5keW1xStJW7kQdBMK6k/WAA== X-Received: by 2002:a37:c404:: with SMTP id d4mr1476227qki.273.1601061662669; Fri, 25 Sep 2020 12:21:02 -0700 (PDT) Received: from gonk ([2607:f2c0:e360:1126:30c0:f98a:9556:a38]) by smtp.gmail.com with ESMTPSA id 134sm2426456qkj.53.2020.09.25.12.21.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Sep 2020 12:21:02 -0700 (PDT) From: James N. V. Cash To: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: Bug: Occasional error with recurring tasks in agenda [9.4 (release_9.4-3-ge6021b @ /home/james/.config/emacs/straight/build/org-plus-contrib/)] In-Reply-To: <87o8lwo6jg.fsf@gmail.com> References: <87a6xhq42n.fsf@gmail.com> <87h7rpw9ra.fsf@localhost> <87o8lwo6jg.fsf@gmail.com> Date: Fri, 25 Sep 2020 15:21:01 -0400 Message-ID: <873635oe76.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::72d; envelope-from=james.nvc@gmail.com; helo=mail-qk1-x72d.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: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=WjjCh1PO; dmarc=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: 0.99 X-TUID: a/zE80BNWEon >>> It seems to always work properly from the org buffer itself, so I assume >>> it's something happening in the agenda, but I'm not sure where to look. >>> I've tried debugging `org-agenda-todo`, but I can't see anything in >>> askance there. Any advice as to what I should be looking for? Trying to do more work to track this down and I'm perhaps more confused than I was before. I can consistently make this happen by opening my todo.org file which contains two recurring tasks, call them A and B. I start by putting the cursor on task A, then running org-agenda and using that to complete task B. This then results in task A showing twice in the agenda list and refreshing the agenda/checking the file shows task A completed & rescheduled to the next day and task B marked DONE and not repeated. Trying to track this down, I see in `org-todo`, the point moves from where org-agenda-todo positioned it in task B to inside where I had the cursor originally in the todo.org buffer, in task A. Strangely, I see the point changing when the `next` variable is printed out via `message` (I can also see the point changing after logging out org-state). If I print out either of those variables with the "%S" format string instead of "%s", the point doesn't move. This doesn't happen with emacs -Q, so presumably there's something in my config that's making this happen, but I have no idea what I should be looking for. Any suggestions? James