>>> "IR" == Ihor Radchenko <yanta...@posteo.net> writes:
> Uwe Brauer via "General discussions about Org-mode." > <emacs-orgmode@gnu.org> writes: >>> Uwe Brauer <o...@mat.ucm.es> 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=qvb2iujz4zenapo...@mail.gmail.com][Email from User1: [Annu23] formar Grupo]] :Email: us...@gmail.com :Grp: Gr1 :Usuario1: User1 :Email1: us...@gmail.com :Usuario2: User2 :Email2: us...@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=4...@mail.gmail.com][Email from User2: [Annu23] formar Grupo]] :Email: us...@gmail.com :Grp: Gr2 :Usuario1: User3 :Email1: us...@gmail.com :Usuario2: User4 :Email2: u...@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.