From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iJ9fD+scvWVtMQAAe85BDQ:P1 (envelope-from ) for ; Fri, 02 Feb 2024 17:48:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iJ9fD+scvWVtMQAAe85BDQ (envelope-from ) for ; Fri, 02 Feb 2024 17:48:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Q8TxWthc; 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-Seal: i=1; s=key1; d=yhetil.org; t=1706892523; a=rsa-sha256; cv=none; b=gLL4xf1Rj+NZZJ3x8TfOJ49tnps+pXkXncd/SNEzJZV59rjksCr3Jw6xo1QWLDJSJQlw8S ANHT5t4+zFlyiJi6IyCenIwdmvDbNJJnAm4kn8TChEzkT/6eBxaCdyazEdqPMp72h5G2Ff WZnzfDAd8otxiU1zCw8o9cTyNVmJm4qtbhMMihGSJ3xZ+Hf8os5HlQ9sBit5uuoF37qrNP tee72qB+e0L/i3NCtnTqSkNffQ9T4ty3KY+lIMn6DijhYXNvSvkpP6z9HwzE53t83MYJuM 6TrK4d8mzNgCZtKs7CDicyE3+ZSje/2GXlllewpFfl2noXvMFa8vjBmFQB25/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Q8TxWthc; 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=1706892523; 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=SQdhuCf0TTWqGD3lPspnhg0Tv7Qo/PKhTP0m5XOm9F4=; b=lrcGNBhNcXl1e6j2lTz5/hgflQyKKceAoXHd3RQnifEONazi2N8lTKQtPqBEP0rEurzjSq AznWhjpS/lWq1qCPcmUqBd0xN0tb6L0ccgxnJ9z/wg9+FMIuUfVnSrkKTrZC9mixWChNSj NXz21xr8HC5Lg6hUZEv+P11V9e1oGlZvKyJedYUNOYvYAuYSQGDx8QUqbWefzjwBiSzGaa r0pc1heUNwCPup6u8zJqmeqb+Nq1M4ArizvwUIuYBiM2uUbqhAZ4DmbZeATBoWCumlSspe YVcDMAVF+oE1Ew0W4n6HXXb7efNk82AgsBJ7ss8n2nkD5zRO+WeyVpBgiu5eyw== 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 E69F26BD40 for ; Fri, 2 Feb 2024 17:48:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVwhW-0006Xk-Nx; Fri, 02 Feb 2024 11:47:38 -0500 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 1rVwhU-0006XB-Ae for emacs-orgmode@gnu.org; Fri, 02 Feb 2024 11:47:36 -0500 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 1rVwhK-0000B4-Vh for emacs-orgmode@gnu.org; Fri, 02 Feb 2024 11:47:36 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 01BB6240027 for ; Fri, 2 Feb 2024 17:47:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706892443; bh=A4Cu+MsQNT82BbaVelUyPw+WKd2i1Ay83xZa9tXWIvA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Q8TxWthcpter0eDcuiBKNPrsj9ddVnyoStOH2L79lp3W4ScoEAVC7FIpUTqyxsUMe ZUroikQ0Yd26TG/JU1P9PayArU7wXE1ek43V8tGa/w65936yU6+1Yj3U6pCA980og4 UZANcPnyWfaP/gnv3UEsm+NHrHkjysIVhPta0OTDFt7O8PP3SH4o14dSK7vCM0WCMk YTCdq1RCoKhfkBfkglkd8SQGNgJBXSF3Ud3H7QL00ax4WX0Yqhm8cxcfZ80qmu1JY8 X50p0g9xRD40YFZR60kmkj/NY4oevpyv48Qq2Mm6Qk2mYEh/k0Olgaqt1WNGQINSd8 edFyj0GpxEaOg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TRMBf23WXz9rxL; Fri, 2 Feb 2024 17:47:22 +0100 (CET) From: Ihor Radchenko To: Uwe Brauer Cc: emacs-orgmode@gnu.org Subject: Re: problems with templates and ID in properties In-Reply-To: <87o7cz6jzv.fsf@mat.ucm.es> References: <87wmrn6rsk.fsf@mat.ucm.es> <87plxfx9hr.fsf@localhost> <87o7cz6jzv.fsf@mat.ucm.es> Date: Fri, 02 Feb 2024 16:50:51 +0000 Message-ID: <87a5oiu7x0.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: -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, 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 X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -7.23 X-Migadu-Queue-Id: E69F26BD40 X-Migadu-Spam-Score: -7.23 X-TUID: 6ypqcSqYb3mh Uwe Brauer via "General discussions about Org-mode." writes: >> Uwe Brauer writes: > > Thanks for you answer >> This is expected. As per `org-capture-templates' docstring, "entry" >> capture type inserts top-level entries into files: > >> entry an Org node, with a headline. Will be filed >> as the child of the target entry or as a >> top-level entry. Its default template is: >> "* %? > > So that cannot be changed, do I understand correctly. It might be changed. Currently, we mimic the behavior of org-yank-subtree, so that we always insert captured entry under the correct level regardless of the capture target. For example, when you use OLP, the level will be adjusted. May you please explain more why you need to use level 2 heading specifically? > What command/variable could org-mode force to have always an UUID in the > ID property? `org-id-method' I think. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at