emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: how to be sure that there are not doble entries for org-id-locations
Date: Sun, 18 Jun 2023 18:20:15 +0200	[thread overview]
Message-ID: <87zg4wn3nk.fsf@mat.ucm.es> (raw)



Hi I am using the following workflow (for the org-aggregate pkg, but the
logic for lookup is similar)

I have one file with a table
#+Name: short-notes
| Name  | Exam1 | Exam2 | Result |
|-------+-------+-------+--------|
| Smith |     8 |    10 | 9      |
#+TBLFM: $4=vmean($2..$3);f2


And I want to extract the last column in another org file

#+BEGIN: aggregate :table short-notes :cols "Name Result"
| Name  | Result |
|-------+--------|
| Smith |      9 |
#+END:

That *does not* work, so what I do I add to the file with short-notes
via 
=org-id-get-create=

And org-id, 

However I find the selected «name» cumbersome (although I understand its
purpose) so I replace it by 
* Short notes
  :PROPERTIES:
  :ID:       short-notes
  :END:

and run 

=org-id-update-id-locations=

then everything is fine.

however my «smart» way of selecting org-id might run into problems,
since I accidently can introduce such and id, twice. 

Therefore is there any way to check it (other then opening the opening
.org-id-locacations and check it manually)?

Thanks

Uwe Brauer 


-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the NATO membership of the Ukraine.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/



             reply	other threads:[~2023-06-18 16:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-18 16:20 Uwe Brauer [this message]
2023-06-18 16:35 ` how to be sure that there are not doble entries for org-id-locations Ihor Radchenko
2023-06-18 20:02   ` Uwe Brauer
2023-06-18 20:51     ` Ihor Radchenko

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=87zg4wn3nk.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).