From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2CxzNzPvaGRiQQAASxT56A (envelope-from ) for ; Sat, 20 May 2023 18:02:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CACONzPvaGRizgAA9RJhRA (envelope-from ) for ; Sat, 20 May 2023 18:02:59 +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 77D5E26665 for ; Sat, 20 May 2023 18:02:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0P0p-0006EG-Cu; Sat, 20 May 2023 12:00: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 1q0P0l-0006DY-UI for Emacs-orgmode@gnu.org; Sat, 20 May 2023 12:00:52 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0P0j-0006KM-UM for Emacs-orgmode@gnu.org; Sat, 20 May 2023 12:00:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A3868240028 for ; Sat, 20 May 2023 18:00:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684598447; bh=IBnDnpYxSxX+SC6xUodxiMyIkJUazmKMnOT7a+whncw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=nSlqoWdU7VtNkxqz0f2BLbOPalqZiplIjLPD+9qILs8fTuFdU2D0uHHCbZyiiLo2o eLhCTH8Eqd7ndw0EfrwOsgVEmUU4FSyIaQQtSoJUI8THH+0esnCXa//2OA+J0mUo97 t2Cw3E6C9iMKkE1A7otIasV/dnddCzyKVYa1RsBQEt65e8kD8vleC+BE2UXv1xwojp YvOPAmHlZpv1uE/6xpUGfbaa+iJ64YXnuHgnGBtIXaPTaGxgJL5lO0X7Ypc3Fzbc/n 1fzj9ffXiso62pcddvCqhX0YCR9j0zeaK/qxaWPZEePZL7B36q1RDlTqb8PwyCF1WB v2RLFOso9XZCQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QNpMz13rQz6tmv; Sat, 20 May 2023 18:00:47 +0200 (CEST) From: Ihor Radchenko To: Patrick Useldinger Cc: Emacs-orgmode@gnu.org Subject: Re: [BUG] org-capture, level-2 heading, org-set-tags-command [9.6.6 ( @ /Users/pu/.emacs.d/elpa/org-9.6.6/)] In-Reply-To: <003261a7-5860-6580-d1ad-5ffd6b36c028@gmail.com> References: <003261a7-5860-6580-d1ad-5ffd6b36c028@gmail.com> Date: Sat, 20 May 2023 16:04:35 +0000 Message-ID: <87o7mfoup8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H2=-0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684598579; a=rsa-sha256; cv=none; b=pkDk7+QlHZC34R4lwSJpk0ISGqZ+LJt0gwRS5XPlE8lXrTXm7e3PxJt7obLNWR2EOPu25d faFb3EXjKzJRkMlPUmAAc937yrDU2aAlKNo0VFaBKCBIA3Hb6Yr5PJ7V7eAZbf457vp1YR fBt1YgrbeTG9HRKgTUK1DbKuSiFnuj/xopEDgiX1D+nZwtDCpqUZlJXj91tDOhgoD1PvQy hiqi8dZD9LmfWV8YB253uKGBav1m9vCUBPfjy6Ps2oRRQij1K6qEfxBFoPCPhX+NQnmbxQ amqTToS5FxqWLHBZVgVd31icyjm4lFU5VDkI3gZDsacvm/gXBywmBmqKZCUX0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nSlqoWdU; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684598579; 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=nqaOVfIZ8vLKEgZe4FHnfPr3onLgVJnwlutsn++aDyM=; b=lz1CEdTjCKXKy9CSOzZgp6riQpXMHuD81FCMyNMuIoEEXbPIS0iFDAv/tSOY7ncUjKFADA hO/QRJaNIg2u0h9k+3wkRJNTeOijA8UisFnbGlI5ljFZdbSJrskCZH6cdhcxYChMacak0k prNthv9+d+Zf2PH0iCo/a5R1UYM7Q4jtAOdA+giB7Eiux7GvmnhnrgWYa6xhMdW43OhADE u0h6Vc+xyIPlTRnia0iBLMwZi3WRl1u9Am++muQckDKn0wS9IPmLUBSwoH6+E+l+zSezP6 bFbNrSleNHcoKdDtMp1VlK+gxHEbsxQWTi8mxF7ZSRZ3JtMp7oQeZtRgU6yhlQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nSlqoWdU; dmarc=pass (policy=none) header.from=posteo.net; 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: -4.65 X-Spam-Score: -4.65 X-Migadu-Queue-Id: 77D5E26665 X-TUID: KkKiqI+pi7sg Patrick Useldinger writes: > Hello > > I've come across what seems to be a bug in org-element-cache handling. > > To reproduce: > 1) create a level 1 heading (in my case: "CAPTURE") and a level 2 > heading (in my case: "CAPTURE-TEST") > 2) create a similar template to file tasks under a level-2 heading: > ("x" "Todo (test)" entry > (file+olp "~/Workcloud/org/WORK.org" "CAPTURE" "CAPTURE-TEST") > "* TODO %^{Task Description}" > :prepend t) > 3) create a task using this template (x) > 4) while in the narrowed buffer, try to tag the task using C-c C-q > (org-set-tags-command) I am unable to reproduce. Could you please try to detail all the steps more precisely, starting from emacs -Q? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at