emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: org-set-property does not add property at point, but at the end.
Date: Fri, 22 Apr 2022 08:49:44 +0200	[thread overview]
Message-ID: <87k0bhipdj.fsf@mat.ucm.es> (raw)

[-- 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 --]

                 reply	other threads:[~2022-04-22  6:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0bhipdj.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).