From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 IOrkKTPyvGXTDwAA62LTzQ:P1 (envelope-from ) for ; Fri, 02 Feb 2024 14:46:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IOrkKTPyvGXTDwAA62LTzQ (envelope-from ) for ; Fri, 02 Feb 2024 14:46:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OPk7Fbc2; 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=1706881587; 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=9W6sIGK3vf+NXBRJHLq1l5iOeNu+RtlfFFKrqXrosxA=; b=qg0yticXoDCgkR9ldE90GPXPGUvTWoJkYbLRQ3wG3JKBJ+xLRylaOyjyr2EP5boVIgRE89 H3/a2urll6fEAk3xBln/fe3qiSKPDvUPJY2b+qJluA25mBdkZfGiVmReKXQw3USj8RU2C3 2lCJbZg/zdgCFkaEM1a+IqB1FEK5UD27ClgcPYTrBWqgal9E5EYrkaHKt2GXjq4Ky+iKVh lpTRMjzVF4nj6SUoJFLbZTBA6TO7+foEf6vu+BDca+Jv1O4WwHPr+MCVNh9epX8YFrkeR1 I1vN6uyZ0XWkV8yooUHXO06BPirdPSvrvF9BZ4phyLt0UvLr8D6Kg748XBQilg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OPk7Fbc2; 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=1706881587; a=rsa-sha256; cv=none; b=CgZZjiyjbQZdbl+m8A75JZJOWntDZ3vTZVwC7H6hTIaram9LShyWWafM7LqvKlfIGiAmIn hFtLfe9JCcAPVB/QppfxZYF81sYpy+xPv/7WYqnDH0pavbwpCUOVvtHPZucQKLS0MD4Zzq bbqoNtNkZgGxpU7kX/ejs01K2DOgA6CnEWJat2V0gl2us6in0n49Xp7J4u1L8cLt4dG5ME 8bbgob3LYJlp4SfMVT3jTkCO1scElVfuFAwPJSBekGmtAWvihKH8tVEI9MaF8kABoKJJ+J R+v7RBY+Vp3cNVLRq37oWRMAgDcBxJlBcPHTOcmXvD7u48p+gyJup+FiATUgbA== 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 62A1543E3B for ; Fri, 2 Feb 2024 14:46:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVtr9-00081D-JI; Fri, 02 Feb 2024 08:45:23 -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 1rVtr6-000814-UE for emacs-orgmode@gnu.org; Fri, 02 Feb 2024 08:45:21 -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 1rVtqs-0002s9-Q6 for emacs-orgmode@gnu.org; Fri, 02 Feb 2024 08:45:20 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3809B240104 for ; Fri, 2 Feb 2024 14:45:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706881504; bh=niNqRtyJmQDk2wNombedlUeH+k3qTfHtufYtUTuuteg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=OPk7Fbc2zA37d1rQ0c1s/dR0ZFHOJFKLDXNuWOEesebi1UI6rK6ordVH1NulzwP+I YnnvomFek6rrUKKaDColXTjc3R4TaovS28110av3wROCMYZk8j0GNi8eL2lBgWrLXV dt+HlEqwdk4qUbWxHymg1f4gsDxk+2dNt//0cewS4soGiK8jkFxJWH77DYpUogYVj+ hKQsuE7sBfuyju6BNV4Ms8bbynlrxmvbdAMnbTSOQ5AKPMbBjz9Yr9ev2jO9YhqMO7 j4wufBjmBBAlwCBGJ1gfCy3cgWKOLvDjf92TWixeAVB+ojCRFRb7FBbPgVqYgYfgDL Yuh/nRkTh5kaQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TRH8H3X4tz6tw8; Fri, 2 Feb 2024 14:45:03 +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: <87wmrn6rsk.fsf@mat.ucm.es> References: <87wmrn6rsk.fsf@mat.ucm.es> Date: Fri, 02 Feb 2024 13:48:32 +0000 Message-ID: <87plxfx9hr.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: -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-Spam-Score: -9.70 X-Migadu-Queue-Id: 62A1543E3B X-Spam-Score: -9.70 X-Migadu-Scanner: mx11.migadu.com X-TUID: qWqpdxn2F5ES Uwe Brauer writes: > I have the following setting > > (setq org-capture-templates > ... > "** TODO ... > > and I am facing two problems. > When I call org-capture and select this template the corresponding buffer > 1) the corresponding CAPTURE buffer looks like > ... > * TODO G13 <2024-02-02 12:06> :Annu24: Joe Foo > .... > In other words ** has been replaced by * which I don't understand. 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: "* %? > The second problem is concerns the ID > the resulting entry looks > --8<---------------cut here---------------start------------->8--- > * TODO G13 <2024-02-02 12:06> :Annu24: Joe Foo > :PROPERTIES: > :ID: 298f63f5-b67c-4c21-a820-2c8a6501b48c > :END: > ... > :Email2: jane@gmail.com > :Status: [ ] > :Hoja: > :Ej: > :End: > ... > So automatically an ID has been inserted, that is fine but now there are > two ENDS which I have manually to repair (and the indentation is wrong) I am unable to reproduce this problem. May you please simplify the example, so that it can be reproduced 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