all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* issues with duplicate ID's
@ 2016-07-22 11:58 Xebar Saram
  2016-07-22 15:20 ` Philip Hudson
  0 siblings, 1 reply; 5+ messages in thread
From: Xebar Saram @ 2016-07-22 11:58 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]

Hi all

i have been having many warnings on Duplicate ID's past month and finally
have time/energy to ask about this ;-)

so each time i start emacs or switch org buffers i get a ton of warnings on
Duplicate ID's:

WARNING: 20 duplicate IDs found, check *Messages* buffer

Duplicate ID "9276e354-d04c-43e4-a11e-27d90359b0a4", also in file
/home/zeltak/org/files/archive/TODO.org_archive
Duplicate ID "08e2584a-dc9f-49f9-b0b2-555d407a499b", also in file
/home/zeltak/org/files/archive/TODO.org_archive
Duplicate ID "da41e5f7-b9cf-4cd7-99e2-fad1f7844ab3", also in file
/home/zeltak/org/files/archive/TODO.org_archive
Made readonly! [2 times]
Duplicate ID "62b49339-cd19-4a3c-a6fd-70dd45be4670", also in file
~/org/files/agenda/dl.org
Made readonly! [2 times]
Duplicate ID "ecc84901-e33e-45c2-8da5-fc6876bccc2a", also in file
~/org/files/archive/TODO.org_archive
Made readonly! [2 times]
Duplicate ID "42c7ae56-5843-403a-84d2-8c12e8c4c03f", also in file
/home/zeltak/org/files/agenda/travel.org
Made readonly!
Duplicate ID "52148936-a9d5-4556-b688-e580676b05a7", also in file
/home/zeltak/.emacs.d/settings.org
Duplicate ID "b8969b3e-17d5-4913-95d1-1e68ec8550a8", also in file
/home/zeltak/.emacs.d/settings.org
Duplicate ID "b0e5fed7-b3c2-4c48-9029-be0a56b02b0f", also in file
/home/zeltak/.emacs.d/settings.org
Duplicate ID "b1bd78ae-83b5-4cb4-a4b5-6db5287f3956", also in file
/home/zeltak/.emacs.d/settings.org
Duplicate ID "5d5567f8-9f16-4b76-adb6-8600ce16e2ec", also in file
/home/zeltak/.emacs.d/settings.org
..... this goes on and on ;-)

2 questions

a) does this have any affect on orgmode performance or other effects i cant
think of?

b) any intelligent way of resolving this?

best

Z

[-- Attachment #2: Type: text/html, Size: 2468 bytes --]

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

* Re: issues with duplicate ID's
  2016-07-22 11:58 issues with duplicate ID's Xebar Saram
@ 2016-07-22 15:20 ` Philip Hudson
  2016-07-22 17:46   ` Xebar Saram
  0 siblings, 1 reply; 5+ messages in thread
From: Philip Hudson @ 2016-07-22 15:20 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

On 22 July 2016 at 12:58, Xebar Saram <zeltakc@gmail.com> wrote:
> Hi all
>
> i have been having many warnings on Duplicate ID's past month and finally
> have time/energy to ask about this ;-)
>
> so each time i start emacs or switch org buffers i get a ton of warnings on
> Duplicate ID's:
>
...
>
> 2 questions
>
> a) does this have any affect on orgmode performance or other effects i cant
> think of?

Breaks MobileOrg, for one.

> b) any intelligent way of resolving this?

Assuming they are all programmatically assigned and not explicitly
referenced by you anywhere: delete all the IDs. New ones will be
assigned.


-- 
Phil Hudson                   http://hudson-it.ddns.net
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63

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

* Re: issues with duplicate ID's
  2016-07-22 15:20 ` Philip Hudson
@ 2016-07-22 17:46   ` Xebar Saram
  2016-07-23  7:02     ` Xebar Saram
  0 siblings, 1 reply; 5+ messages in thread
From: Xebar Saram @ 2016-07-22 17:46 UTC (permalink / raw)
  To: Philip Hudson; +Cc: org mode

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

thx
it seems many of them are in the corresponding archive files. isnt that
normal when you archive?

best

Z

On Fri, Jul 22, 2016 at 6:20 PM, Philip Hudson <phil.hudson@iname.com>
wrote:

> On 22 July 2016 at 12:58, Xebar Saram <zeltakc@gmail.com> wrote:
> > Hi all
> >
> > i have been having many warnings on Duplicate ID's past month and finally
> > have time/energy to ask about this ;-)
> >
> > so each time i start emacs or switch org buffers i get a ton of warnings
> on
> > Duplicate ID's:
> >
> ...
> >
> > 2 questions
> >
> > a) does this have any affect on orgmode performance or other effects i
> cant
> > think of?
>
> Breaks MobileOrg, for one.
>
> > b) any intelligent way of resolving this?
>
> Assuming they are all programmatically assigned and not explicitly
> referenced by you anywhere: delete all the IDs. New ones will be
> assigned.
>
>
> --
> Phil Hudson                   http://hudson-it.ddns.net
> @UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63
>

[-- Attachment #2: Type: text/html, Size: 1732 bytes --]

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

* Re: issues with duplicate ID's
  2016-07-22 17:46   ` Xebar Saram
@ 2016-07-23  7:02     ` Xebar Saram
  2016-07-23 13:04       ` Philip Hudson
  0 siblings, 1 reply; 5+ messages in thread
From: Xebar Saram @ 2016-07-23  7:02 UTC (permalink / raw)
  To: Philip Hudson; +Cc: org mode

[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]

also: does anyone know of a function to go through all org files and
present a nice buffer with all duplicates and a way to auto remove them

i see why this happens since i often copy org headers to add new function
and the ID is copied alongside

Z

On Fri, Jul 22, 2016 at 8:46 PM, Xebar Saram <zeltakc@gmail.com> wrote:

> thx
> it seems many of them are in the corresponding archive files. isnt that
> normal when you archive?
>
> best
>
> Z
>
> On Fri, Jul 22, 2016 at 6:20 PM, Philip Hudson <phil.hudson@iname.com>
> wrote:
>
>> On 22 July 2016 at 12:58, Xebar Saram <zeltakc@gmail.com> wrote:
>> > Hi all
>> >
>> > i have been having many warnings on Duplicate ID's past month and
>> finally
>> > have time/energy to ask about this ;-)
>> >
>> > so each time i start emacs or switch org buffers i get a ton of
>> warnings on
>> > Duplicate ID's:
>> >
>> ...
>> >
>> > 2 questions
>> >
>> > a) does this have any affect on orgmode performance or other effects i
>> cant
>> > think of?
>>
>> Breaks MobileOrg, for one.
>>
>> > b) any intelligent way of resolving this?
>>
>> Assuming they are all programmatically assigned and not explicitly
>> referenced by you anywhere: delete all the IDs. New ones will be
>> assigned.
>>
>>
>> --
>> Phil Hudson                   http://hudson-it.ddns.net
>> @UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63
>>
>
>

[-- Attachment #2: Type: text/html, Size: 2418 bytes --]

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

* Re: issues with duplicate ID's
  2016-07-23  7:02     ` Xebar Saram
@ 2016-07-23 13:04       ` Philip Hudson
  0 siblings, 0 replies; 5+ messages in thread
From: Philip Hudson @ 2016-07-23 13:04 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

On 23 July 2016 at 08:02, Xebar Saram <zeltakc@gmail.com> wrote:
> i see why this happens since i often copy org headers to add new function
> and the ID is copied alongside

It would not be too hard to advise `org-yank' and `org-pasted-subtree'
to delete yanked IDs that are duplicates within the current buffer,
either interactively or automatically. With a bit more work, it could
be extended to scan a whole directory or fileset such as
`org-agenda-files'.

-- 
Phil Hudson                   http://hudson-it.ddns.net
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63

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

end of thread, other threads:[~2016-07-23 13:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22 11:58 issues with duplicate ID's Xebar Saram
2016-07-22 15:20 ` Philip Hudson
2016-07-22 17:46   ` Xebar Saram
2016-07-23  7:02     ` Xebar Saram
2016-07-23 13:04       ` Philip Hudson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.