From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: CUSTOM_ID vs ID Date: Thu, 01 Aug 2019 09:55:36 +0200 Message-ID: <87tvb1b9qf.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> References: <87k1c2mvfq.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46201) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ht5w7-00062G-6u for emacs-orgmode@gnu.org; Thu, 01 Aug 2019 03:55:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ht5w6-0008RE-AP for emacs-orgmode@gnu.org; Thu, 01 Aug 2019 03:55:43 -0400 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]:32922) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ht5w5-0008R5-SH for emacs-orgmode@gnu.org; Thu, 01 Aug 2019 03:55:42 -0400 Received: by mail-qk1-x733.google.com with SMTP id r6so51296773qkc.0 for ; Thu, 01 Aug 2019 00:55:41 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nathan Neff Nathan Neff , emacs-orgmode Hi Nate, Nathan Neff writes: > However, I usually *do* manually assign IDs (not CUSTOM_IDs) myself. > The reason is so I can reasonably search for the ID within my org > files and that the link ID makes some sense to me. > > For example, if I see a link to "id:keyboard_shortcuts" I can tell where > it's going. If this is what you want IDs for, then you probably want CUSTOM_ID. There is built-in Org syntax for links based on CUSTOM_ID: write your links like [[#some-custom-id]] or [[file:foo.org::#some-custom-id]]. And if you use CUSTOM_ID, then if you ever need ID later (e.g., for something like org-caldav), you won't have a collision between the two different properties. -- Best, Richard