emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with templates and ID in properties


From: Uwe Brauer
Subject: Re: problems with templates and ID in properties
Date: Sun, 04 Feb 2024 19:38:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "IR" == Ihor Radchenko <yantar92@posteo.net> writes:

> Uwe Brauer <oub@mat.ucm.es> 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)
>> :Grp:     %^{Gr1|Gr2|Gr3|Gr4|Gr6|Gr7|Gr8|Gr9|Gr10|Gr11|Gr12|Gr13}
>> :Usuario1: %:fromname
>> :Email1: %:fromaddress
>> :Usuario2: %(my-extract-cc)
>> :Email2:  %(my-extract-cc)
>> :Usuario3: %(my-extract-cc)
>> :Email3:  %(my-extract-cc)
>> :Usuario4: %(my-extract-cc)
>> :Email4: %(my-extract-cc)
>> :Status:   [ ]
>> :Hoja:     
>> :Ej:       
>> :END:")))
>> ...
>> Works concerning the ** entry but inserts the unwanted END after 
>> org-id-new.

> Try to remove
> :ID: %(org-id-new)
> temporarily and do M-x debug-on-entry ...



> That should reveal where else org-id-new is called.

Aha, thanks, the temporal buffer does not contain an ID, but when running  
org-capture-finalize

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()
  gnorb-registry-capture()
  run-hooks(org-capture-prepare-finalize-hook)
  org-capture-finalize(nil)
  funcall-interactively(org-capture-finalize nil)
  call-interactively(org-capture-finalize nil nil)
  command-execute(org-capture-finalize)
  recursive-edit()
  debug(error (error "Capture abort: Quit"))
  signal(error ("Capture abort: Quit"))
  error("Capture abort: %s" "Quit")
  org-capture(nil)
  funcall-interactively(org-capture nil)
  call-interactively(org-capture nil nil)
  command-execute(org-capture)


-- 
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. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]