From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8GjsKOqWvmUpLAAAe85BDQ:P1 (envelope-from ) for ; Sat, 03 Feb 2024 20:41:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8GjsKOqWvmUpLAAAe85BDQ (envelope-from ) for ; Sat, 03 Feb 2024 20:41:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mat.ucm.es header.s=google header.b=APG7te6n; dmarc=pass (policy=quarantine) header.from=ucm.es; 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=1706989290; h=from:from:sender:sender:reply-to: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: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tsKCKhPEj80V+wvZTdbIywmAXxr78nxA5C4Lg9HubJQ=; b=dCUxTHGd70F9mID+NwpGwngmi07+QaaJufncbP0r1NOdiIxBCeszK1ObsETH33PytDpR3f ZeB9uY7O6ByveRDqZgNtOvopXwPITZx3NmfOa3JbtfjFfos8ugHn/29SGE55J++8njHyYF t0TZp1LCDSoj1b7sdhwH2st0F+sGnnPKdygcDt7rfPouo2BiahB8LD0IYGhM6SLFP4UWiK ocpqN5STtrcY8m9p22u79fYy4sOwmG1SO8dcxmn/xEWHWn+a3j+FWTZ3Y5368qPlwK0NIj EJPDq1NeMap3uPLPL51tzFhTXYdanLCAu/Cc+4UQsLD3SMnKU0TIJeEENmDhFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mat.ucm.es header.s=google header.b=APG7te6n; dmarc=pass (policy=quarantine) header.from=ucm.es; 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=1706989290; a=rsa-sha256; cv=none; b=Nuqg2ccRvjNjyIAqbETacYr8Feu4TVpYPqaE8Smth5iNVHjFfrW284JWeO0ZONKmCnARbP IizFHa/bgGVxf+Y2uFStgrkaQa2jyGujT7TDy0/LGG03ZIJWgIOUIfVce+eyAj+rMAKm4f 8yG8iKWTDMNYI+SMzGLnPpB0DFb9nzZR7gH0NPjb+r5vYMLARTevbtGGy3NL6IfI0ZYvcs Z6eLfyJ4C/sq7bb/J9LE9mwB7UR5GcJ2gIMf/6LRey9jboz3ikd6APc2M5HZDEYya3sFG6 JtoDLBlI0DiDasgFjc2lcLG0MyEm4/zVTUFUbtAG1tsIQFUwvhse3UdbkrBWOw== 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 2008C17397 for ; Sat, 3 Feb 2024 20:41:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWLsL-0002M1-E2; Sat, 03 Feb 2024 14:40:29 -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 1rWLsI-0002Lm-VW for emacs-orgmode@gnu.org; Sat, 03 Feb 2024 14:40:27 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rWLsH-0005nF-6t for emacs-orgmode@gnu.org; Sat, 03 Feb 2024 14:40:26 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40fd280421aso4050965e9.3 for ; Sat, 03 Feb 2024 11:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mat.ucm.es; s=google; t=1706989223; x=1707594023; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:reply-to :user-agent:references:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tsKCKhPEj80V+wvZTdbIywmAXxr78nxA5C4Lg9HubJQ=; b=APG7te6ni1QJq5L45feqKff/0l6k0cHE5PGgc8XIkWQ0Xx0mPKdwSjpO/lw8m0fDZG u88tAQgAJrkH99K17fuT7rZOUfNutKR5cwqVQuCtTyMZtDzHFd+Y//poXtp4pTcOimm9 BDN2UjqdSfl+BkYkAYAK5C7N+RKDXz6f4ivmM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706989223; x=1707594023; h=content-transfer-encoding:mime-version:message-id:date:reply-to :user-agent:references:subject:cc:to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=tsKCKhPEj80V+wvZTdbIywmAXxr78nxA5C4Lg9HubJQ=; b=jeB45dA2b8I9sHSFJCyClj6a2y/p5Cw05hUaHIzaeda3/rT138gnJ7MGv4Ux1o2Yop uI5yLdn8CqRn70JFSVHxlrKy/Zm4gHh3IA/gvuP9989aJhcH+3sDmBYIzAwBSfvLZ/6N wmDh6ngv5gTDFcMnsM0n7G2kDMtOE6xkMMO0tl9FYlZpEp+4uS+OyHSZ1Xb/0ngKoTHl nDdavh3nx/ez1hekboTPw/u6/NkNDuym06U2x3tS7SqWRLIEbqp8n5HM3rI8LHYNYLRA Cyrby7JVoUo9v5gs9QRIWBCgMUV+DA9Kl09ZbIX+I85Qj5w1Bn806pUsfvutmEvQJ/iX gUGA== X-Gm-Message-State: AOJu0Yx3BVk9X9WIm9NvpGC9I1AHDmn/qPIJlovna+fm81CdVANF9iWS a1lTkcjem1flp6okGjPrbx3nfohFz9yjNQbagLWrNeNDGkCEyMb06KMzxvrboI4= X-Google-Smtp-Source: AGHT+IGqaXU7VSxC7nIt534u0IJ2yWwscyVeYBVnjC10PM24kZx/XsZgQAMHjgSXQK9skXSIlSkVSw== X-Received: by 2002:a05:600c:34d3:b0:40f:b022:cea with SMTP id d19-20020a05600c34d300b0040fb0220ceamr1478109wmq.28.1706989222718; Sat, 03 Feb 2024 11:40:22 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCW6132Aw9edGSdTXaoRo6o19fqzKeEJaamT58vwp5yeaUjFvnJhaJffcukh8HiRN5e1dVOBm6j4b+z1DgJa1LYfcgQZW+o= Received: from Utnapischtim (175.red-80-26-163.dynamicip.rima-tde.net. [80.26.163.175]) by smtp.gmail.com with ESMTPSA id l30-20020a05600c1d1e00b0040eee852a3dsm3753122wms.10.2024.02.03.11.40.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Feb 2024 11:40:22 -0800 (PST) X-Mailer: emacs 29.0.50 (via feedmail 11-beta-1 I) From: Uwe Brauer To: Ihor Radchenko Cc: Uwe Brauer , emacs-orgmode@gnu.org Subject: Re: problems with templates and ID in properties References: <87wmrn6rsk.fsf@mat.ucm.es> <87plxfx9hr.fsf@localhost> <87o7cz6jzv.fsf@mat.ucm.es> <87a5oiu7x0.fsf@localhost> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) X-Hashcash: 1:20:240203:yantar92@posteo.net::aieVSGxWiZ6tNbxo:0000000000000000000000000000000000000000004rhX X-Hashcash: 1:20:240203:oub@mat.ucm.es::tO+Uqcw/1GSGiIJh:0005Ue1 X-Hashcash: 1:20:240203:emacs-orgmode@gnu.org::pNg7ZvDMkF1UBk29:00000000000000000000000000000000000000007wWo Date: Sat, 03 Feb 2024 20:40:20 +0100 Message-ID: <87fry9gwuz.fsf@mat.ucm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=oub@ucm.es; helo=mail-wm1-x331.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01, 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: , Reply-To: Uwe Brauer 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: -12.29 X-Spam-Score: -12.29 X-Migadu-Queue-Id: 2008C17397 X-Migadu-Scanner: mx12.migadu.com X-TUID: SEuTGQHEVjkW >>> "IR" == Ihor Radchenko writes: > 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? Sure. I use this template for extracting from emails sent by my students their names and email addresses to have entries like this --8<---------------cut here---------------start------------->8--- * Grupos :noexport: :PROPERTIES: :EXPORT_OPTIONS: num:t :COLUMNS: %10GRP(Grupos) %10HOJA(Hoja Nr) %10EJ(Ejericio Nr) %17DATE(Date) %7STATUS(Status){X/} :ID: Grupos :END: ** !!TODO!! G1 <2023-01-24 12:51> :Annu24: Paul New :PROPERTIES: :ID: 0da9c464-74a1-4153-b957-72e6b562bb0a :Link: [[gnus:nnimap+UCMgmail:INBOX#CAMZEOZ24BUfHRj3_XaF6kxyPBZ4vY4G=Qvb2iuJz4zENAPOFsw@mail.gmail.com][Email from User1: [Annu23] formar Grupo]] :Email: user1@gmail.com :Grp: Gr1 :Usuario1: User1 :Email1: user1@gmail.com :Usuario2: User2 :Email2: user2@gmail.com :H2: 1 (Función implícita) :P2: 25 :STHAB2: [ ] :StEnv2: [ ] :H4: 2 (Convergencia adaptativo) :P4: 50 :STHAB4: [X] :StEnv4: [X] :End: ** !!TODO!! G2 <2023-01-29 19:11> :Annu24: John Doe :PROPERTIES: :ID: 57aed14b-6790-43de-9440-af082d555800 :Link: [[gnus:nnimap+UCMgmail:INBOX#CANpraWwp91vH=-N2y3A5pm7hwuRt-Qzq_Gy7ZyYp7jc5uZ=4AA@mail.gmail.com][Email from User2: [Annu23] formar Grupo]] :Email: user3@gmail.com :Grp: Gr2 :Usuario1: User3 :Email1: user3@gmail.com :Usuario2: User4 :Email2: user@gmail.com :H1: 4 (Método \theta) :P1: 10 :STHAB1: [X] :StEnv1: [X] :SUMMARY: ok :H2: 1 :P2: 10 :STHAB2: [X] :StEnv2: [X] :H5: 6 (Func Ampli RK) :P5: 5 :STHAB5: [X] :StEnv5: [X] :End: --8<---------------cut here---------------end--------------->8--- ** Sheet so I can use now columnview to generate a table --8<---------------cut here---------------start------------->8--- #+TBLNAME: sheets #+BEGIN: columnview :maxlevel 2 :skip-empty-rows t :indent nil :hlines 2 :format "%10Grp(Grupo) %7H1(Hoja1-Ej) %10P1(\%) %7H2(Hoja2-Ej) %10P2(\%) %7H3(Hoja3-Ej) %10P3(\%) %7H4(Hoja4-Ej) %10P4(\%) %7H5(Hoja5-Ej) %10P5(\%) %7H6(Hoja6-Ej) %10P6(\%)" | <10> | <7> | <10> | <7> | <10> | <7> | <10> | <7> | <10> | <7> | <10> | <7> | <10> | | Grupo | Hoja1-Ej | % | Hoja2-Ej | % | Hoja3-Ej | % | Hoja4-Ej | % | Hoja5-Ej | % | Hoja6-Ej | % | |-------+--------------+------+-----------------------+------+----------+------+-----------------------------+------+-------------------+------+----------+------| | Gr1 | | | 1 (Función implícita) | 25 | | | 2 (Convergencia adaptativo) | 50 | | | | | |-------+--------------+------+-----------------------+------+----------+------+-----------------------------+------+-------------------+------+----------+------| | Gr2 | 4 (Método \theta) | 10 | 1 | 10 | | | | | 6 (Func Ampli RK) | 5 | | | #+END: --8<---------------cut here---------------end--------------->8--- That however only works if the entries have level ** It my workflow now clearer? >> What command/variable could org-mode force to have always an UUID in the >> ID property? > `org-id-method' I think. This variable sets the format, but as far as I can see, is not reasonable for adding an ID. regards -- I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel I strongly condemn Putin's war of aggression against Ukraine. I support to deliver weapons to Ukraine's military. I support the EU and NATO membership of Ukraine.