From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cK1FGoHdv2WaRQEAe85BDQ:P1 (envelope-from ) for ; Sun, 04 Feb 2024 19:54:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cK1FGoHdv2WaRQEAe85BDQ (envelope-from ) for ; Sun, 04 Feb 2024 19:54:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hOFGuyik; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707072897; 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=fz8YmsyBlyjnAE6Ptg4XZT7A9gYoCD+n0LY1lue3jTM=; b=TqmLrb/AEruyZsV1+WYAGd3Nlm8O4dsJac098wzpc3FujmcZg92HmlZidBsteB/13QSjiL TH9ys1D+uHMglY7UDMkpGao+EKAOO8lu040YTvnuccYe7Jlly6hT2o7/cVlW+cwxfj/ocX 0ejVM2bnJD86tsthWlLKuNa6UoIZErBu8dq9aShzoMuBMm7bQibHA4542FAuO78Hwj3Avm KO3HKVKYAdvFoTPZAlCDU4Ch7ABvnTvfUKvNYU3xwb99B5DTAX8ZQj8IoitqtVkV9n+3lI G9aPWGrgbBkkYUSX0z2oZwo1Ncl3EPtNS4ExqaxfI1hV9+CwpUb+uYpgiRDtdQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hOFGuyik; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707072897; a=rsa-sha256; cv=none; b=KTyjtVm1QdspFWS7U1T9XeD6oelVzos/Wm8eRXUWlogYNlfAaCHouk57EdUn8/0WZU0i3U Msah8xpuuski7U/hPiInAVWyLQLZxddFh0Nky0x0N9PTOp57wJJZHdJ+EOYQ0ZioFosPLR igmUhIm3IYetbxZr9aIDYgReUGPBXN9TqT3ghCMFc4HYdWG+obCZwnYrPDkz4HgCRxn/Nz m6SzPVVs9lk+U1LI5q9QKjcJ3g3zVBb2nDjKVMX2Aj4fbyuI3Jvhyliu6zG+lpY76bRm5S gEoZDKaUSCmPN7JJ0ymIYmZF13L+Xci/9kVO1XUgwKv+G5nJSEyxJhvkvhffhg== 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 063E03B19E for ; Sun, 4 Feb 2024 19:54:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWhd5-0001pg-IX; Sun, 04 Feb 2024 13:54:11 -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 1rWhd2-0001pU-Pz for emacs-orgmode@gnu.org; Sun, 04 Feb 2024 13:54:09 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWhcy-0006jT-VZ for emacs-orgmode@gnu.org; Sun, 04 Feb 2024 13:54:07 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E1C7D240104 for ; Sun, 4 Feb 2024 19:54:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707072842; bh=5OCODSDUIEWW4w/uEtNzwKb+7AwOdamk0sEK7XsT4Ho=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=hOFGuyiksfObhcy7p8gFkaDn/g5Hir/3u6va1TTfsVT8vaF0ogCQr35ip+uo3DTzk QUAdgf3oFKWGh7a0R/qQ2MTDZEQyWtuOmR9X8O74DK54/PjDCqWNT3otB1phfZHJr5 7/AFuKBafSWf64FSot9CFxF4EUGzkjx2afg+/h9PT/8WoRtJNlJkVKVCid9vvHn9eU LBQ8ox4H/WgjURJFyP6WiYhmsk3srl/97sHx3d5QLmXL0f2R/LheaTPrPdrbxS6l1O AyYycc7uN1wLwwqksbtnwDvY4fqhLWUDu63YSvx8xuqMol6LEnwZK/MzDVFak0uRiR daUhX3uxwobeQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TSdvt0sPqz9rxF; Sun, 4 Feb 2024 19:54:02 +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: <871q9sxeg0.fsf@mat.ucm.es> References: <87wmrn6rsk.fsf@mat.ucm.es> <87plxfx9hr.fsf@localhost> <87o7cz6jzv.fsf@mat.ucm.es> <87a5oiu7x0.fsf@localhost> <87fry9gwuz.fsf@mat.ucm.es> <87r0htxljm.fsf@localhost> <87v874g0gt.fsf@mat.ucm.es> <87ttmoz6w9.fsf@localhost> <87a5ogxeuz.fsf@mat.ucm.es> <87edds13h1.fsf@localhost> <871q9sxeg0.fsf@mat.ucm.es> Date: Sun, 04 Feb 2024 18:57:33 +0000 Message-ID: <87a5og12hu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-Spam-Score: -8.52 X-Migadu-Queue-Id: 063E03B19E X-Spam-Score: -8.52 X-Migadu-Scanner: mx11.migadu.com X-TUID: Y9iXaMJmyeTv Uwe Brauer writes: >>>> "IR" == Ihor Radchenko writes: > >> Uwe Brauer writes: >>> ("my" "Annu Grupos Ejercicios" entry (file+olp "~/ALLES/HGs/tex/vorlesungen/HGAnnu/Hojas-Teoria/Soluciones-2024/grupos2024.org" "Grupos") >>> "** TODO %^{Grupo} %T %^g %(org-contacts-template-name) >>> :ID: %(org-id-new) >>> :Link: %a >>> :Email: %(org-contacts-template-email) >>> ... >>> Works concerning the ** entry but inserts the unwanted END after >>> org-id-new. > > I obtain. > > gnorb-registry-capture() is this the culprit? > > > Debugger entered--entering a function: > * org-id-new(nil) > org-id-get(12826 create) > org-id-get-create() It is actually not the culprit. The problem is much simpler. You forgot :PROPERTIES: line in your capture template. So, what Org sees is * Heading :ID: ... :END: And it is not considered a property drawer :) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at