From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +KMWNOwnCGBZWQAA0tVLHw (envelope-from ) for ; Wed, 20 Jan 2021 12:54:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oA7vL+wnCGCGOAAAbx9fmQ (envelope-from ) for ; Wed, 20 Jan 2021 12:54:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8486394013B for ; Wed, 20 Jan 2021 12:54:04 +0000 (UTC) Received: from localhost ([::1]:53266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2Czq-0004Tg-4H for larch@yhetil.org; Wed, 20 Jan 2021 07:54:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2Cye-00040y-N6 for emacs-orgmode@gnu.org; Wed, 20 Jan 2021 07:52:48 -0500 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:45123) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2Cyd-00006k-20 for emacs-orgmode@gnu.org; Wed, 20 Jan 2021 07:52:48 -0500 Received: by mail-ed1-x536.google.com with SMTP id f1so11494841edr.12 for ; Wed, 20 Jan 2021 04:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=evpK+NO5iZoApteAI1Jq7OFZgVjhB/TYC9qNBy58U78=; b=bHcCyQ8CmyPvFTV24yoP58gyZ0Yzxb9KghXHv/GDduFO8VhJBZhMBYJTgpqRlMYuY5 4+NR72FuI/Gjh46n9IkeHA0MC18baxkBuVxXmIvWu5qozolXIQo0fCfKdEh/NwYGVKMv cKKK4Rn6uHU8OrdWLi2RAi3vMHThVN8F3UjF8bJxCD0SlHxDh36dxG6fTT2JrBlp9I3D E4XAcZZV29OypGCwpaXbmSmbReehiohUltbqygI47yMqEUUTPVneShunGGI2nTADMbdq nq5xXpLHC7rZALSsFvq07VSZPYbvVuU7jkIca3qFLbY+mu/uFKgk3HZwW13bBTMnvU5e D4Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=evpK+NO5iZoApteAI1Jq7OFZgVjhB/TYC9qNBy58U78=; b=CMiEEgHafqx8YEJ1m6/xWUv/DEWBZdDsTgj3kbh8m3SaDjgtKC1fswnLN0JIikyJlj jtYmNynR3YwGucfmCqQSD+qkRNW8SqVfb9BEHSEluifSP8Gss0kUVB6vEttA8w4lSU+E cYRo1dxPUI6/Y6bPx8bna31UTeRa2QPu0j7n9TTHxWWUjuUOQg/dmsGRDXZk4cdDDVsM CyrV4WISa5Dp8Fd1BzJYjJ/Qjj3UsD9eSmLyNyk5EFl/NG9+GyN+NzexwDmwozCXekOa 6YWAdtdFvw+orl6kaWkIJrCReSeaq9bLERJh04kxLUz+XXjqU3JsxUNvTjptnYceDJQo iDug== X-Gm-Message-State: AOAM530WGgqHk57Psv54FRChbH5Ikc+RHSmRTyXrYmex6PNNd10K8KNU INYczAaHEbvduPUKxXVxXrwk85UDqmWemg7E75s= X-Google-Smtp-Source: ABdhPJyTB8+9E5w24XhmiwGDqvmqhD/zzxguKsCb+I+4J35wJeqvgzSeyXjWhgvDrsMzczVkJu2Sx8qp27QM0NlFYPQ= X-Received: by 2002:a05:6402:a52:: with SMTP id bt18mr7395555edb.228.1611147163633; Wed, 20 Jan 2021 04:52:43 -0800 (PST) MIME-Version: 1.0 References: <87ft2wvktj.fsf@gmail.com> <87lfcn3kij.fsf@gmail.com> In-Reply-To: <87lfcn3kij.fsf@gmail.com> From: arozbiz@gmail.com Date: Thu, 21 Jan 2021 07:14:30 -0600 Message-ID: Subject: Re: How can I keep Org-id links from breaking when moving files? To: doltes Content-Type: multipart/alternative; boundary="0000000000005e8d3205b9546e12" Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=arozenshtein@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DATE_IN_FUTURE_24_48=2.048, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=bHcCyQ8C; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 8486394013B X-Spam-Score: 3.75 X-Migadu-Scanner: scn1.migadu.com X-TUID: QHBWNpGwYBwS --0000000000005e8d3205b9546e12 Content-Type: text/plain; charset="UTF-8" This is helpful clarification, thank you. But does that mean that, if I change the directory where some files with UUIDs are located, there's no way to programmatically make sure that Org can find those IDs again (since there's no way to simply add a folder, rather than a list of files, to =org-id-locations= or =org-id-files=? Thanks, Alan On Wed, Jan 20, 2021 at 5:42 AM doltes wrote: > > Yeah, I also found that confusing. Basically, because both mean the > same. > > I think that a better description for those variables would be > > + =org-id-locations=: List obtained from `org-id-locations-file'. This > list maps each ID to the file in which the definition occurs. It > contains lists of the form (FILE ID). > > + =org-id-files=: List of files which contain ID definitions. > --0000000000005e8d3205b9546e12 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is helpful clarification, thank you. But does that me= an that, if I change the directory where some files with UUIDs are located,= there's no way to programmatically=C2=A0make sure that Org can find th= ose IDs again (since there's no way to simply add a folder, rather than= a list of files, to =3Dorg-id-locations=3D or=C2=A0 =3Dorg-id-files=3D?

Thanks,
Alan
On Wed, = Jan 20, 2021 at 5:42 AM doltes <d= oltes512@gmail.com> wrote:

Yeah, I also found that confusing. Basically, because both mean the
same.

I think that a better description for those variables would be

+ =3Dorg-id-locations=3D: List obtained from `org-id-locations-file'. T= his
list maps each ID to the file in which the definition occurs. It
contains lists of the form (FILE ID).

+ =3Dorg-id-files=3D: List of files which contain ID definitions.
--0000000000005e8d3205b9546e12--