From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KGz2EGObgGJtAQEAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 08:19:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gKfHEGObgGLhZwEAauVa8A (envelope-from ) for ; Sun, 15 May 2022 08:19:15 +0200 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 C00C42C65B for ; Sun, 15 May 2022 08:19:14 +0200 (CEST) Received: from localhost ([::1]:56884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nq7az-0008QD-RV for larch@yhetil.org; Sun, 15 May 2022 02:19:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nq7Zc-0008P3-Ps for emacs-orgmode@gnu.org; Sun, 15 May 2022 02:17:52 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:41480) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nq7ZK-0001qK-Og for emacs-orgmode@gnu.org; Sun, 15 May 2022 02:17:31 -0400 Received: by mail-pj1-x102f.google.com with SMTP id l20-20020a17090a409400b001dd2a9d555bso11446569pjg.0 for ; Sat, 14 May 2022 23:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Y8s9lRQSEmElr/8PgQwcxrhT5SQCJqXYPEIcoi7xAT4=; b=m99JF/SCIXq0F/4fte4RmlJ139PCV/6ou4Cp76ppyP9bnksM/e6pQIkq22jnVSKzYh m6cqbljRq63yhXCbe3UYR71HSbmdLmvzwE1BZrXYRCZn7iTIjT11NPymvyQE/TUqqEUf 4Ham+JCZOqZgBZhMOVyqtAaloiGKJmGpRbSmd5SNLDXHL9qm+4HqEuzxpcnLMF7vJaKp UfXEoPr+8xUIL5BjaGjH0zIL5EBvH60lp1s3JhGzT4FgPmn7vdEFuV5IlR8kv4Hw4whu GbhmfDqGLnZL2OL/N32CooRT4qistWSWhM0pMmKGyv3V2D5sDmteMYk6ZgLNN9t+U85p BvLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Y8s9lRQSEmElr/8PgQwcxrhT5SQCJqXYPEIcoi7xAT4=; b=KXTL/UnWTGAyOFJcqAUE7zpar9uBjTKLhuwRQnSbPexCIb6w5Od75Ht1sbPQs2nZTi rhSjvwGp5EzSycQqxYK1hoCMAmN2WUtJVqQ0NQV1ciekdJOUQErWtFJyyz49Cp7LDoyl gEj/Mr6lYYRYINoP0vkHgsMAwvqCHB7+ycmvZdGxlUDyx3omtqS48MLjPLjx6OZ5e99G rqj6m+2uk2/1PZjV5D2BmSzuA3J1wEZnoC8WUzOI0BFj77Va75UIyeqAxIuFvq3Surne tgBPTFpqAmyU4VlkJMA1Nf+eN1E4wtQYSjjVVUTvtSTZ8aI2Xixk5a3qvkjVS2oan4ZJ Udhw== X-Gm-Message-State: AOAM531uFdpDZB/lr9TQQnSmapGZSppLVJxAMdnGtEPNyLWpttsNBED8 7KN9g3L4NLZXM51LlTsA770= X-Google-Smtp-Source: ABdhPJwAXGPC3RO6A8jdtHq1Ovxyt2tWNjqaVIVD34MKM92C0tWNKXXZxfBSLZb9/vSeLz0ucY+Kkw== X-Received: by 2002:a17:902:e887:b0:15e:b589:fc90 with SMTP id w7-20020a170902e88700b0015eb589fc90mr12583168plg.131.1652595449268; Sat, 14 May 2022 23:17:29 -0700 (PDT) Received: from localhost (61-218-132-193.hinet-ip.hinet.net. [61.218.132.193]) by smtp.gmail.com with ESMTPSA id z4-20020aa791c4000000b0050dc76281c0sm4487108pfa.154.2022.05.14.23.17.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 23:17:28 -0700 (PDT) From: Ihor Radchenko To: Michael Eliachevitch Cc: emacs-orgmode@gnu.org 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/)] In-Reply-To: <871r28spwc.fsf@localhost> References: <87tufktz5z.fsf@posteo.de> <871r28spwc.fsf@localhost> Date: Sun, 15 May 2022 14:18:06 +0800 Message-ID: <87fslb2uap.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652595555; 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=Y8s9lRQSEmElr/8PgQwcxrhT5SQCJqXYPEIcoi7xAT4=; b=CQPeSxGeFhWpiixw0JIi6S0Pw5eD2ofr0qrxMsDypGMgTSju+qihvWTpKJEUcLQaNbf4md 4EWZXIU8F/j0bfQn+mrEXekV9nAs9lovyKeflV/B9cVTamLYUY14+UaQY8p9Ja8474sKwS DwpdIHgVLGK/Mbhh2otiBmt6PNjgH5shMPxz9jCzWwnkPvHB9mzq9xeJSzJlgPQRpMEIxu alRqBNfO6aBCfo5vK9fcQ/fDWSDQx62CZSBAFlbxH98ksF2Nu6Pqy85xT4WNpLrilrNGLV iTjSxm4HI9X/UfdesD2NVSFVEuDORXoL9n2Zd/FwVQZRbvQeb/FfSJWVsFwJkQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652595555; a=rsa-sha256; cv=none; b=LhD7pmLyGtit1XnnNw+Andf41Y3+0thOK0mw3EgTIZzbwA7X2SuoZ5KI69iDyHFbt91dHT IoMZLfgJCE53vT/tprSO+BOSdMhxT57s/fziYMPJU8+2VGSZxH7Zqr8GXP1Q3LTsXtEe1Q mORV4O900R5o3mZd1XOxXJj38MPHSMNPXNcuR/nheL1+zrapW/VuavGWnwf+aq8kKmujco XQYQVBDWRGQAh3eo8jHSXNzEjd3mKnoR6NRTYEZW2Pgbz0XDVFFIDrqrvrVVA29fVnK7Pr XHIw2Pr5WIjN7gnCCeFOY3obD+McP2Vj7Xgi41cjRFQfPkaILsnn0kup1BTZXQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="m99JF/SC"; dmarc=pass (policy=none) header.from=gmail.com; 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.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="m99JF/SC"; dmarc=pass (policy=none) header.from=gmail.com; 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: C00C42C65B X-Spam-Score: -3.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: JkWTjNHxgYTN Ihor Radchenko writes: > Michael Eliachevitch writes: > >> I found a potential bug in org which I can reproduce with a >> minimal configuration. > > Can you try the attached patch? Since the patch fixes the problem on my side, I just applied it upstream. Fixed. Applied onto main via 5c14a1734. Best, Ihor