From: Uwe Brauer <oub@mat.ucm.es>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: problems with remote (in table) and (org-id-locations-save)
Date: Wed, 18 May 2022 15:37:20 +0200 [thread overview]
Message-ID: <874k1nm06n.fsf@mat.ucm.es> (raw)
[-- Attachment #1: Type: text/plain, Size: 2334 bytes --]
Hi
I have a strange problem. Till recently the following worked
File x.org
,----
|
| * Table
| :PROPERTIES:
| :ID: test-table
| :END:
|
| | Nombres | |
| |---------+----|
| | User4 | 10 |
| | User5 | |
| | User6 | 12 |
`----
Running org-id-update-id-locations
and then switching to file y.org
,----
|
| | User6 | |
| | | |
| | | |
| | User6 | 12 |
| #+TBLFM: @4='(identity remote(test-table,@>$$#))
`----
Worked fine.
But not any more. Now running org-id-update-id-locations
does not save the id locatations
Of course I have
,----
| org-id-track-globally is a variable defined in ‘org-id.el’.
|
| Its value is t
`----
Now
,----
| (org-id-locations-save)
|
| org-id-locations-save is a compiled Lisp function in ‘org-id.el’.
`----
,----
| (org-id-locations-save)
|
| Save ‘org-id-locations’ in ‘org-id-locations-file’.
|
| org-id-locations is a variable defined in ‘org-id.el’.
|
| Its value is #<hash-table equal 72/81 0x1274c5f>
|
| List of files with IDs in those files.
`----
,----
|
| org-id-locations-file is a variable defined in ‘org-id.el’.
|
| Its value is "~/.emacs.d/.org-id-locations"
|
| The file for remembering in which file an ID was defined.
| This variable is only relevant when ‘org-id-track-globally’ is set.
`----
BUT
,----
|
| (org-id-update-id-locations &optional FILES SILENT)
|
| Scan relevant files for IDs.
| Store the relation between files and corresponding IDs.
| This will scan all agenda files, all associated archives, and all
| files currently mentioned in ‘org-id-locations’.
| When FILES is given, scan also these files.
| If SILENT is non-nil, messages are suppressed.
|
`----
I circumvent the problem by adding x.org to the list of my agenda files, but this is not a solution
The question is what are *all associated archives*?
And how can I check the files mentioned in org-id-localisations since it is a hash table?
Any help would be very much appreciated.
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 --]
next reply other threads:[~2022-05-18 13:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-18 13:37 Uwe Brauer [this message]
2022-05-18 13:48 ` [SOLVED] (was: problems with remote (in table) and (org-id-locations-save)) Uwe Brauer
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=874k1nm06n.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).