[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Properties ID vs. CUSTOM_ID
From: |
Eric Abrahamsen |
Subject: |
Re: [O] Properties ID vs. CUSTOM_ID |
Date: |
Thu, 22 Dec 2016 07:54:56 -0800 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) |
Karl Voit <address@hidden> writes:
> * John Kitchin <address@hidden> wrote:
>>
>> There is not an issue using a human-readable id in :ID: as long as it is
>> unique. It will store fine, link fine, etc...
>
> I also think so because I am only using human-readable :ID: without
> any issue so far.
>
> However, the argument was that no human should set :ID: but use
> :CUSTOM_ID: *instead*. See also the old thread I linked before.
>
> I'd prefer using manually written :ID: instead since migration would
> not be trivial to me.
You could also use the `org-property-set-functions-alist' trick with the
:ID: property. If you added an "ID" entry to that alist, Org's usual
automatic id creation would be unaffected, but if you set ID manually,
you could write a function that would first prompt for your
human-readable string, then check for ID uniqueness and append random
characters to your string until it was unique. I think that would be a
nice addition to org-id.el.
Eric
- Re: [O] a general ID picker, (continued)
- Re: [O] a general ID picker, Karl Voit, 2016/12/20
- Re: [O] a general ID picker, Eric Abrahamsen, 2016/12/20
- [O] Automatically Generating IDs From Title and Date, Karl Voit, 2016/12/18
- Re: [O] Automatically Generating IDs From Title and Date, Samuel Wales, 2016/12/18
- [O] Properties ID vs. CUSTOM_ID (was: Automatically Generating IDs From Title and Date), Karl Voit, 2016/12/20
- Re: [O] Properties ID vs. CUSTOM_ID (was: Automatically Generating IDs From Title and Date), Karl Voit, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID (was: Automatically Generating IDs From Title and Date), John Kitchin, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID, Karl Voit, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID, John Kitchin, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID, Christophe Schockaert, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID,
Eric Abrahamsen <=
- Re: [O] Properties ID vs. CUSTOM_ID, Christophe Schockaert, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID, Eric Abrahamsen, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID, Carsten Dominik, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID, Carsten Dominik, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID, Eric Abrahamsen, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID, Christophe Schockaert, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID, Samuel Wales, 2016/12/22
- Re: [O] Properties ID vs. CUSTOM_ID, Samuel Wales, 2016/12/22
- [O] org-depend improvements: Canceled Tasks Do Cancel Their Dependencies as Well, Karl Voit, 2016/12/18
- [O] org-depend improvements: TRIGGER in Combination With Set SCHEDULED, Karl Voit, 2016/12/18