emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-set-property does not add property at point, but at the end.
@ 2022-04-22  6:49 Uwe Brauer
  0 siblings, 0 replies; only message in thread
From: Uwe Brauer @ 2022-04-22  6:49 UTC (permalink / raw)
  To: Org Mode List

[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]


Hi

Given a header with properties, to which I want to add a new property
via org-set-property. That works but the new property is added at the
end of all properties not directly below by cursor.

#+begin_src 

* Properties
   :PROPERTIES:
   :ID:       f76a5b78-919c-4375-a5d5-b0d0f3f071da
   :StEnv1:   [X]
   :H1:       2 (error de redondeo)
   :P1:       10
   :StEnv2:   [X]
^ cursor
   :H2:       2 (Euler-Trapecio)
   :P2:       40
   :FH2:      <2022-04-20 mié> 
   :H5:       1 (sistema rígido)
   :P5:       10
   :End:
#+end_src

gives

#+begin_src 

* Properties
   :PROPERTIES:
   :ID:       f76a5b78-919c-4375-a5d5-b0d0f3f071da
   :StEnv1:   [X]
   :H1:       2 (error de redondeo)
   :P1:       10
   :StEnv2:   [X]
   :H2:       2 (Euler-Trapecio)
   :P2:       40
   :FH2:      <2022-04-20 mié> 
   :H5:       1 (sistema rígido)
   :P5:       10
   :TH1:      [ ]
   :End:
#+end_src

Can this behaviour be changed? I'd like to that the new property close to the cursor!

Thanks 

Uwe Brauer 
-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-22  6:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22  6:49 org-set-property does not add property at point, but at the end Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).