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 QYKHE4MUaWQWYwEASxT56A (envelope-from ) for ; Sat, 20 May 2023 20:42:11 +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 wBnDEoMUaWT5SgAA9RJhRA (envelope-from ) for ; Sat, 20 May 2023 20:42:11 +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 D43B42E4C2 for ; Sat, 20 May 2023 20:42:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0RW6-00028o-Rz; Sat, 20 May 2023 14:41:22 -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 1q0RW4-00028a-Tu for Emacs-orgmode@gnu.org; Sat, 20 May 2023 14:41:20 -0400 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0RW3-0004Cb-Aw for Emacs-orgmode@gnu.org; Sat, 20 May 2023 14:41:20 -0400 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-96fb1642b09so38135266b.0 for ; Sat, 20 May 2023 11:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684608077; x=1687200077; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Fdzt3zfyFGcb4lR6bf2sT9MpebsrGTLy/hspj9ZwWZA=; b=lq7Qsn1ZgWPbJOH1HXonHQ/cjZoWbhgUHdyIGpq5sgptrCd+nT4O2ctIKW6183Wb3E 8dboFoye+8n9MMf5DM0fiHJpMTJ7IDw64Zd6tEo7htcvydZrhkv02H3Y4d5bpo/WvrL/ lUVkLEEHYpWDgzR28X/st11YN8sVGqkXoT8nOvbMZqdLV/zWOiYCcAZzzfultOuUHFr7 OyRpBbCkCLc+PBP1ZORytXiAcPq+t7x8Tz7SLvZHiEPj+GIHggLXwJAAnmFrRPKlydgP lULqT/czWsvLqM84kQCZdmLoUL1g8jHoAZ1RUFf/E1E80J00+bs9JRQj34Nlq9XI6d/b RcoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684608077; x=1687200077; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Fdzt3zfyFGcb4lR6bf2sT9MpebsrGTLy/hspj9ZwWZA=; b=SHdEALZTlEtBTBQzlxTkvU1KwXnQIondy8qCOGScP44XZlHSXv1MuCEvvjwfDPwHGn jSx2VypH8heUUu2QizK6NSWRNxLZZLjYpPgGRF5l+S5ayFqziB5a3CRyaupHJ9mcbJKe rTVcWCzRMvzOzEP0GBL6N3jmwtyE946wDwTqkVJdnRlRzWpVZAhvqsLpxIb1kcjUmHD7 Z1/TnU4PiTZWiJsrLE+aQGdISf7672sB3D1HLKR2r3+St5HRyId1yus0BCFov8klObRJ kpbK2MMhnsTGdbl8djeEoH6+/E37qPGWWpp6Bqt1UXnMU5V3T2P1yklt+xm4J2Pj4R+x nVJQ== X-Gm-Message-State: AC+VfDyuXtwUaiBAdtVnfBR7DrThgZrcHmyOtd6tffFeg11CJQDJoh6H /F89VaPexebgmE5mV2vg8cA= X-Google-Smtp-Source: ACHHUZ6ZQ3GIrLuUI6lfU3dz8m2k+plF+1snvZl6ii85yWaPKFEEm1udGHMR7rs6OSbHpwJkzf/+eQ== X-Received: by 2002:a17:907:a406:b0:967:d161:61c6 with SMTP id sg6-20020a170907a40600b00967d16161c6mr5593865ejc.3.1684608077481; Sat, 20 May 2023 11:41:17 -0700 (PDT) Received: from ?IPV6:2001:7e8:f813:d601:6930:7455:9b68:ca93? ([2001:7e8:f813:d601:6930:7455:9b68:ca93]) by smtp.gmail.com with ESMTPSA id um6-20020a170906cf8600b009571293d6acsm1054468ejb.59.2023.05.20.11.41.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 May 2023 11:41:17 -0700 (PDT) Message-ID: <5c5f8319-0fbf-ad3b-4d41-fea7ab922a4f@gmail.com> Date: Sat, 20 May 2023 20:41:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [BUG] org-capture, level-2 heading, org-set-tags-command [9.6.6 ( @ /Users/pu/.emacs.d/elpa/org-9.6.6/)] To: Ihor Radchenko Cc: Emacs-orgmode@gnu.org References: <003261a7-5860-6580-d1ad-5ffd6b36c028@gmail.com> <87o7mfoup8.fsf@localhost> Content-Language: en-US From: Patrick Useldinger In-Reply-To: <87o7mfoup8.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=uselpa@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: -36 X-Spam_score: -3.7 X-Spam_bar: --- X-Spam_report: (-3.7 / 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, NICE_REPLY_A=-1.597, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684608131; a=rsa-sha256; cv=none; b=ZeezvTg5asIeMrnpArUXWLDX/KcXzrgcEOdQkwVJDpX99lD38SnQX/z/AISD8Sm09iPxk8 7aecfFLSvAJWqYDYUqipSmtR7BFsqMv1iMtCaqbULSLqW5OxBqx6flYWXB+0Pe4QR+7WuU U9rlFbtNsAovU2iSDfk8hQtFIfLytV3Qfsyhzg8iGcwS+CeVdWy4RfsOvoiUIBJLv6R5gl S3WwIUIMyBiBnFlYPVA9SJ3ZBohXn+u21IdDWJLUS9wjJw80UE1N9qbyu0UWpmjaKpPOlo FYe6snF+KmUTLHtESHFw7lXX8LBF0V8bkPuVQ3T1cWfnkanqm2WnxZJDELwMiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=lq7Qsn1Z; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684608131; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Fdzt3zfyFGcb4lR6bf2sT9MpebsrGTLy/hspj9ZwWZA=; b=SU9R6KVS1HCFxeH+NsNE/nU+WbJG0vlwIY4nkbsZmJU5fuUF5CgerT3EXjq9ZEqa9nGQFd GAsuQE2H8eS7qRfIrfxCxCcxtQK2dZqMCMh2SHG6X7URFpmng3+j3GTLshEZYCQ/GcPr2/ 7pRPhhLphImHDsP/wz+pjXBznj9oLcTVPlYdPAJyL+YfqWcXhhjHnZ2e4wCSP13ZyF1vWa zMarPnIIPghi6V1nAYo0eoa7jsHCjj2p7Nl6ZzKezVXYLtawnIoCZ3EBL3wM8SUVmu7zEb oR9+X0lb7QQElbRJ+EfvNmZF7xaj84vjgOiJcGn+9hjVNXMfSRUBtSjJp8lVlg== X-Migadu-Spam-Score: -10.65 X-Spam-Score: -10.65 X-Migadu-Queue-Id: D43B42E4C2 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=lq7Qsn1Z; 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-TUID: eK3wDygIuQ1t Thank you for your answer. I have spend a few hours trying to reproduce it with -Q and the original org file, removing every additional package - to no avail. The fact remains - it only works when the cache is disabled. Any other idea how I could get you some useful information? -pu On 20/05/2023 18:04, Ihor Radchenko wrote: > 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? >