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 WNg0O+eDbGTcegAASxT56A (envelope-from ) for ; Tue, 23 May 2023 11:14:16 +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 ANwaO+eDbGSlwwAA9RJhRA (envelope-from ) for ; Tue, 23 May 2023 11:14: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 CAD998CCC for ; Tue, 23 May 2023 11:14:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1O4w-0001ew-B5; Tue, 23 May 2023 05:13:15 -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 1q1O4t-0001eQ-8H for Emacs-orgmode@gnu.org; Tue, 23 May 2023 05:13:11 -0400 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1O4q-0002C5-Kh for Emacs-orgmode@gnu.org; Tue, 23 May 2023 05:13:11 -0400 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-970056276acso260955666b.2 for ; Tue, 23 May 2023 02:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684833186; x=1687425186; 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=4Z3HPLkhLeKNCyGVS28EXKm7fmEcYO83CEvEPobht8Y=; b=FPPv2SVeNkslSS9fwhnWql2+JCEcl1cv6STGIa2ZoII+Fm0ZJpyhvXRJSCLGh/juWT 5k6vjfnZzimbfvz+Dfh0YtOW5j9QkMgFsZhffBRnhW4Vos9HShp7mHWWj8rLHa4GgrWB MbQ9for9Ne7B2mliPhQPXODUXCtuga3vK7B5ORzN5qrNjXmpXLax+3nmTkTvZUwdh0DZ fAQjZazkLuUTMa/MG3twHX8XHGD+QJ6cvcXvsjp7pSiZnjfBJUGQ7rsWRyxoC8sGmLJX ti6Fwy34xbNjBKgBanGOJL4H1+pYVAuipAKTLMlKdBpk5VadTXOYsOs4BpkZ9wiSMxbc IVjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684833186; x=1687425186; 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=4Z3HPLkhLeKNCyGVS28EXKm7fmEcYO83CEvEPobht8Y=; b=AJT7GWPAL4feXVEVSa3l1Rf7q2e4Hf4HMlDM31izyhbthzhnnDk2sFE7Xkje7q5KKF SBkMr3k4epgww6vBDrl8LNdIrqmSXO00wtCGS7aFsG9YUYcc4i8WX1hfnOZnhm/7QK2S b437RE/8gr/HL3RjrDnyBHBY8HsvRETh377cDiZuOSGYwGb9m2IxL1ZFlpRFaf/yXD8/ aNyepjYEiJ8hMm+RiYGHa0M0mWSfXqGkz0XEFUPfHYodg00GOC1PSLUb+ksrVWDcs1tt oM7f39qBjZ1SHLgrFhIKA0ed11wDibDbdgqgTp+KijD093l8K4hNwm9qcWejaUJk2hp3 Mwiw== X-Gm-Message-State: AC+VfDzeZ5cw2JpZRFsUcVMHwObsUXSprrHpIvIKdwEp/k/3wFk7sBFI /2RVXrq+MIa1qKEeEmlInAk4iOiYy+aKYw== X-Google-Smtp-Source: ACHHUZ4FP+rgM32EMaywE9otGKwYKQ13pkwtehYnDjh8c+jDJIo0LYjZP8Fo9jt3QRro/dKqaVB7wA== X-Received: by 2002:a17:907:3da1:b0:94f:956:b3f7 with SMTP id he33-20020a1709073da100b0094f0956b3f7mr13287023ejc.2.1684833186219; Tue, 23 May 2023 02:13:06 -0700 (PDT) Received: from ?IPV6:2001:7e8:f813:d601:8d09:f7a2:7eda:bc59? ([2001:7e8:f813:d601:8d09:f7a2:7eda:bc59]) by smtp.gmail.com with ESMTPSA id a17-20020a17090680d100b0094f7744d135sm4130273ejx.78.2023.05.23.02.13.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 May 2023 02:13:05 -0700 (PDT) Message-ID: <38eff201-0e24-5cd5-979b-7044726ae228@gmail.com> Date: Tue, 23 May 2023 11:13:05 +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::635; envelope-from=uselpa@gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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=-0.091, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684833255; a=rsa-sha256; cv=none; b=Gc7vwQl3GneqbwkGKVoy9GIf0rZo/1FG9mZ6QADWUhei4IHukhCD1DoQWJLVFOYJ+ywUbo hpDDHx8OohRZQ/6mF7pKYbDh0Lz1opmaLnxnxU4cPgOZshs7LeHIm5HSh891Abqd5cBtdS iUquIVl4EmF8qz2RQ9SHhq1Bsh+7mWta9BcLPMiKm4aZcvZLCrghqdoQ47tV5lq0c9qKkg HNSv45LEb8yX3EZUGw4XKLxF80HZsnzC29Aagzvliy6eLMz/7BGSBpoJXgydEHVhDHnNjf dZTcgwEF/OlEiyjMywXIhTy6LSvOcOAsrF8GAiIBlhkXfH+tesphECpWYddvRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=FPPv2SVe; 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=1684833255; 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=4Z3HPLkhLeKNCyGVS28EXKm7fmEcYO83CEvEPobht8Y=; b=tJVe+SE0RndV4qPyibw7z2dUkU+FY+t9bPwUhw+uQXJoZkBKKIseADVvQGLCXKFLYboTHI n8cGUYGhK/lXWvFK19oI5RX3Yi1P1Ws63RN6d6p9mHOL+he9XnT9+4VhEyVwx8fZ0OmEpl a/fYe85rel/yTOSzImHPQW5d6hZ4y39aaI0lBj06cHn+9o32urX2YSA/+lNlIAGnSkmh3j dVt+9LL3YfwhhMqQu+Qrtb4zip3znFWNnjXxQjl8PGYHXRWm79dSESPSq0q+57k96YsHP7 SFwCb3dSdfMVC1hnzKKe6bUaDi9uMrOFaZpF600jykOxo02chHi02KiAVDNVnw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=FPPv2SVe; 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: -6.33 X-Spam-Score: -6.33 X-Migadu-Queue-Id: CAD998CCC X-TUID: Eu0RzinFuD8j On 20/05/2023 18:04, Ihor Radchenko wrote: > I am unable to reproduce. > Could you please try to detail all the steps more precisely, starting > from emacs -Q? > I have been able to create a minimal set of init.el and WORK.org which allows me to reproduce the problem: 1) start Emacs 2) F6 (shortcut for capture) 3) x 4) create a task in the capture buffer 5) press C-c C-q and enjoy the loop 6) C-g breaks the loop OTOH, using t at step 3 works well. As indicated, the only difference between the remplates x and t is that x uses 2 levels of heading, whereas t only uses one. --- WORK.org ;; -*- coding: utf-8 -*- #+TODO: WAIT(w) TODO(t) DELG(d) | DONE(x) #+STARTUP: show2levels hidestars nologrepeat #+ARCHIVE: %s_archive:: * CAPTURE ** Regulars *** TODO [#C] -- Empty CAP.org/CAPTURE SCHEDULED: <2023-05-26 Fri ++1w> ** Cap-X ** WAIT hello :test: ** DONE read "acceptable use" DEADLINE: <2023-05-19 Fri> --- init.el ;; custom variables (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(org-capture-templates '(("x" "Todo (test)" entry (file+olp "/Users/pu/Workcloud/org/WORK.org" "CAPTURE" "Cap-X") "* TODO %^{Task Description}" :prepend t) ("t" "Todo (work)" entry (file+olp "~/Workcloud/org/WORK.org" "CAPTURE")