From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oNReGOcaOV+YPQAA0tVLHw (envelope-from ) for ; Sun, 16 Aug 2020 11:39:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ACT/E+caOV80DQAAbx9fmQ (envelope-from ) for ; Sun, 16 Aug 2020 11:39:19 +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 CD543940414 for ; Sun, 16 Aug 2020 11:39:18 +0000 (UTC) Received: from localhost ([::1]:54690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7H0O-0000HJ-4c for larch@yhetil.org; Sun, 16 Aug 2020 07:39:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7Gzu-0000FT-1e for emacs-orgmode@gnu.org; Sun, 16 Aug 2020 07:38:46 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:53883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7Gzq-0003xW-P0 for emacs-orgmode@gnu.org; Sun, 16 Aug 2020 07:38:45 -0400 Received: by mail-pj1-x1032.google.com with SMTP id l60so6397000pjb.3 for ; Sun, 16 Aug 2020 04:38:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=xvIhj6bgMzEQUB83tVS0zjpW0TWNv7hIRmqtKnxAJzw=; b=jN3XFm2cfjuvVvTNCa4OJ/p23eI3nAv3+XaZVqO7Glkxg/KFISTua22dsWNtNiJM3H NnZClmvJ5NjNGEqAe8+QEvrB5Ki4QVLxzr8e7G1aR+G0Xgl8KCmQcdPQoRPP57CHG9B9 IdJCyEV6gQnO00LVaSE+Q3d7a+taINIAZN+ngcDr1fCOr3K5XrIUdG/zeGwAKfsM2vZd s3WDKSD5EAABpZtqrSsFhCOTy/GykmX+XAiTMBAnbzaDMUt9NC17p6/unTXtp7GgBE8M YR/ZbFJJa9L6gMKm54QH/x3w7eBvHeXMh/xYa6EAXTrQKaw64Ss5vvzYsG6liSrTWmgE gbbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=xvIhj6bgMzEQUB83tVS0zjpW0TWNv7hIRmqtKnxAJzw=; b=b+x9howLREJOEHjbCSHwJ82XnkTgfLEJxwEj3l7KonsbKQd1dod3IZDrRhx8iV0ShI 06ObBJ+LGgVjQG6Dua5ER6l0AyiiRFvWx/9v2/CfTnYzyptf8xSAsC8RuDU7yI1ku2JP +zC2T8h2YApDAg/PZRtxwOkWB5OvwO/Mw+/szt5udQgWULyQh+7U5HwxQKNZtyScQCen RCIsNT4lpqaJiigIZKUPqv3Bo8MzdSQC0M5R7JABFarCDOT9ftoxkf3YBW/8XHR8ZpJm Eq9rQAoTdXBMcYQmQDDCvBwyo46CUiXqaEZ+0srk6ul1tZf21eX5mQVBOr72GrZfRBv+ w4IA== X-Gm-Message-State: AOAM530fzT0sREzj0AnYS42S6O7VXAWMnP7u4imRUJVgAyBGDtm5yjFn xKlEfnM3/W2m+vr5uQ5Dn64= X-Google-Smtp-Source: ABdhPJwRtp4lNlNGsrZaLu6Tb1QChtQALN7IsxQBtN9sh+lm4PvXUWZpo4H67D5f6UtMlWdrEia6Sg== X-Received: by 2002:a17:902:b20e:: with SMTP id t14mr7961086plr.58.1597577920841; Sun, 16 Aug 2020 04:38:40 -0700 (PDT) Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id q5sm15509517pfg.89.2020.08.16.04.38.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Aug 2020 04:38:39 -0700 (PDT) From: Ihor Radchenko To: Kyle Meyer , =?utf-8?Q?Dinny=C3=A9s_D=C3=A1niel?= Subject: Re: Bug: org-agenda-todo applied to wrong line item [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] In-Reply-To: <87k0xzamdy.fsf@kyleam.com> References: <87k0xzamdy.fsf@kyleam.com> Date: Sun, 16 Aug 2020 19:37:48 +0800 Message-ID: <87v9hihldf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1032.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_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.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=pass header.d=gmail.com header.s=20161025 header.b=jN3XFm2c; dmarc=pass (policy=none) header.from=gmail.com; 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.21 X-TUID: 5Ns3uEYsbu63 > Using Emacs 26.3 with a vanilla configuration and the Org repo checked > out at 5e4542d69 (the commit reported in the subject line), I didn't see > the behavior you describe. With point at the end of the agenda line for > A, the state was changed for A. I think that may happen when you have agenda filter active and an entry hidden by filter is between the current and next line. Best, Ihor Kyle Meyer writes: > Dinny=C3=A9s D=C3=A1niel writes: > >> While in the Org Agenda, and navigating to the end of line for a given i= tem >> (assuming more than one todo items), and calling org-agenda-todo (with >> keybindings t, or C-c C-t)... this result in the call being applied to t= he >> next line item, instead of the one the cursor is on. >> >> This only happens when the cursor is at the end of the line. >> >> I would consider this to be a bug. > > I tried using the following content as the agenda file: > > * TODO A > * TODO B > > Using Emacs 26.3 with a vanilla configuration and the Org repo checked > out at 5e4542d69 (the commit reported in the subject line), I didn't see > the behavior you describe. With point at the end of the agenda line for > A, the state was changed for A. > > I also can't trigger the behavior with the master branch checked out.