emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* problems with remote (in table) and (org-id-locations-save)
@ 2022-05-18 13:37 Uwe Brauer
  2022-05-18 13:48 ` [SOLVED] (was: problems with remote (in table) and (org-id-locations-save)) Uwe Brauer
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2022-05-18 13:37 UTC (permalink / raw)
  To: Org Mode List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-18 13:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-18 13:37 problems with remote (in table) and (org-id-locations-save) Uwe Brauer
2022-05-18 13:48 ` [SOLVED] (was: problems with remote (in table) and (org-id-locations-save)) 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).