From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kPpZL5JXr2G+MgEAgWs5BA (envelope-from ) for ; Tue, 07 Dec 2021 13:46:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eGIOK5JXr2GbewAAB5/wlQ (envelope-from ) for ; Tue, 07 Dec 2021 12:46:10 +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 4939E87B7 for ; Tue, 7 Dec 2021 13:46:10 +0100 (CET) Received: from localhost ([::1]:48924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muZrF-0006ln-Ej for larch@yhetil.org; Tue, 07 Dec 2021 07:46:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muZpY-0006jA-1M for emacs-orgmode@gnu.org; Tue, 07 Dec 2021 07:44:24 -0500 Received: from forward501p.mail.yandex.net ([77.88.28.111]:59608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muZpU-0006aA-5Y for emacs-orgmode@gnu.org; Tue, 07 Dec 2021 07:44:23 -0500 Received: from myt5-e1865bd3a7d9.qloud-c.yandex.net (myt5-e1865bd3a7d9.qloud-c.yandex.net [IPv6:2a02:6b8:c12:3e2c:0:640:e186:5bd3]) by forward501p.mail.yandex.net (Yandex) with ESMTP id A70186212F34; Tue, 7 Dec 2021 15:44:09 +0300 (MSK) Received: from myt6-5751e79998e4.qloud-c.yandex.net (myt6-5751e79998e4.qloud-c.yandex.net [2a02:6b8:c12:5224:0:640:5751:e799]) by myt5-e1865bd3a7d9.qloud-c.yandex.net (mxback/Yandex) with ESMTP id gn1PdwhG29-i9dW3gWe; Tue, 07 Dec 2021 15:44:09 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1638881049; bh=EFpdtc2PKjyE/oDHCXwKw4Bsk/l5Gdg/YphU7csKxXg=; h=In-Reply-To:Subject:Date:References:To:From:Message-ID:Cc:Cc; b=wU+qyWISuGJxFcwi/eEnxX+om3Bp1VSNc5sJXN3OiHfWB0dBQq5ZDkvBYHx1mewTf 0PSlRBdvyLyo89d524UHTf1K2OuXYlsDvIQj/SUujOL/Nn7LTCjxlVLZ77NtplyDbl 8tf5fpiQ6gCVC9V4mSzcRmsCHkq0ucHkPtNA2gdA= Received: by myt6-5751e79998e4.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 6bOv4KSaXI-i8Pu6Jlx; Tue, 07 Dec 2021 15:44:08 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Fwd: 2 From: =?utf-8?Q?Colin_Baxter_=F0=9F=98=BA?= To: Michael Eliachevitch Subject: Re: [BUG] Plain capture template clocks into following headline instead of given olp [9.5.1 (release_9.5.1-15-gdb4805 @ /usr/share/emacs/29.0.50/lisp/org/)] References: <87tufktz5z.fsf@posteo.de> X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T X-Message-My-Extra-Message: 8-) We are the only ones here =?utf-8?B?8J+YuiDwn5i6IPCfmLo=?= Date: Tue, 07 Dec 2021 12:43:59 +0000 In-Reply-To: <87tufktz5z.fsf@posteo.de> (Michael Eliachevitch's message of "Tue, 07 Dec 2021 11:12:04 +0000") Message-ID: <87wnkg7fg0.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=77.88.28.111; envelope-from=m43cap@yandex.com; helo=forward501p.mail.yandex.net 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, 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: , Cc: , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638881170; 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=EFpdtc2PKjyE/oDHCXwKw4Bsk/l5Gdg/YphU7csKxXg=; b=EqeyTtC5gMAC/m7hvtsMhmJZURF4E39qCbGIaoA81PRR1VlbfVvIXPU5/DUe+fXvRmSH6a ryhTe1dZmtatnbVyFnSyuZWnfFEuMKvhCfK8gHY+VyAaFKqqgurJZpOTnYPZRX0ORmOjjg eggTBNa9GiQ8Hdm2zYt/3GbDGlTR3JzmndZgfU3+g2WudrzGVilDuTXwBxcN8x0DTccgzR kaplwJ/z9/7TbST9ccsyAg7oYyLkBDEC6S9REHgqrWf6rQzmZn/YyyQDYGtfMr6PL3QMlq V3PyIuKW11EUksupLJCJ35agHVFh+2nDYP+N95kJKpy+1qYjYKxS7wNmYGsJPA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638881170; a=rsa-sha256; cv=none; b=FYmdzc8Kbx5hqAuvtRIYoquae3SczEiVjbguojfjbKiRyYTFykZCrlD0dwI1RAe326FO2P KbsJ4QnWKMFGSgSZEOzcaLIqC1iwO8TjQ3+/7tin5MNi8JIF9ROAuwy5C03rTxoJrR0vRE 5tUkEVpnWc0aKW1LYyklQqoAr5hlHbiTA1idIjoATLPuLbfZ/w/ouB8nEnLSbHYOVPLemi 58UWioIepmFENbZ1f0BCElMPiKOrAv71aO2N5HFj1i6oXAXD5nn6KsMwtGV8wbhpOXdt83 Emq3/C+Bnpdh2ymdq0HuZZDaKv992hBudOypuaPizUdeGkapPhPzzmBzBC512w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.com header.s=mail header.b=wU+qyWIS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.com (policy=none); 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" X-Migadu-Spam-Score: -3.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.com header.s=mail header.b=wU+qyWIS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.com (policy=none); 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" X-Migadu-Queue-Id: 4939E87B7 X-Spam-Score: -3.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: M5kfsfKTOn4q --=-=-= Content-Type: text/plain Hello Michael, >>>>> Michael Eliachevitch writes: > Hello, I found a potential bug in org which I can reproduce with a > minimal configuration. > I added some org-capture templates purely for clocking into tasks > via the capture-menu. These capture templates are for things I > want to time-track but don't want to create a special entry for > (like eating and breaks), so I used the `plain' type with an empty > `""' template hoping it would clock into the given olp: > (setq org-capture-templates '(( "c" "clock into") ("cu" > "Unintended" plain (file+olp "~/org/clock_test.org" "Time sinks" > "Unintended") "" :clock-in t :clock-keep t :immediate-finish t) > ("ce" "Eating" plain (file+olp "~/org/clock_test.org" "Time sinks" > "Eating") "" :clock-in t :clock-keep t :immediate-finish t))) > My `clock_test.org' has the following headings: > * Time sinks ** Unintended ** Eating This is amazing. I have run into exactly the same problem. I was wondering whether to report it! Oh, and I can reproduce the bug with your ECM. Thanks for reporting it. Best wishes, Colin Baxter. --=-=-= Content-Type: application/pgp-signature; name="signature.asc"; name="signature.asc"; description="Digital signature" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEaKh5nAIwFue/aConu/okkpH1QcgFAmGvVxcSHG00M2NhcEB5 YW5kZXguY29tAAoJELv6JJKR9UHI/zcH/3X8wXtHWNmhR22x+xFwRDVzPeMq/7hv eNyoYooWg3cFpvN+q9mA+3aNtqLimVQq6uNQHVLDhvK871m+VZUqcibTEAh4YwIe vJU0Nk42nDHE728Xd0kw3iFKqdfr9XlkroNyStcsHyquzDWHgDuIPd9TubPolNRF FCwYLNkG/a6/msj6eD2CiWNlDM4Vs4vETKlQpgy/afkKdmv8Js9FJYGMmkG6yOHA 2NgkQHPqcjDTB1LJQ0CWDfGGsTjCE5jmLc+Y1M/Wlt+EJ2BbvYx7O/kK48GSqxST g2HAZv+zAZhJ+tClpyzqhi9XWCDTxcVj7p9BH/GWa5eQwrMa7fF67gM= =9pvc -----END PGP SIGNATURE----- --=-=-=--