emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems with remote (in table) and (org-id-locations-save)


From: Uwe Brauer
Subject: problems with remote (in table) and (org-id-locations-save)
Date: Wed, 18 May 2022 15:37:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)


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: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]