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 iMpmHg+mWl8ALwAA0tVLHw (envelope-from ) for ; Thu, 10 Sep 2020 22:17:51 +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 hqM7Gg+mWl9vXAAAbx9fmQ (envelope-from ) for ; Thu, 10 Sep 2020 22:17:51 +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 1B837940390 for ; Thu, 10 Sep 2020 22:17:51 +0000 (UTC) Received: from localhost ([::1]:45650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGUt3-0004Ij-NX for larch@yhetil.org; Thu, 10 Sep 2020 18:17:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGUrw-00034M-D4 for emacs-orgmode@gnu.org; Thu, 10 Sep 2020 18:16:40 -0400 Received: from server173-4.web-hosting.com ([68.65.122.210]:42202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGUrt-0002j3-Qs for emacs-orgmode@gnu.org; Thu, 10 Sep 2020 18:16:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=isnotmyreal.name; s=default; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:To:From:Date:MIME-Version:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xv5tezVsn5oAwk33jk7DnocBWblbWYMhe8526TGapz4=; b=BcRzVkfBdIfl8c0DEjVvc/UvBz mNV4C0XnvP6xqkS4e8PAEU+5O9EO1aH13w1tVaHiYTePntcIiF19KFZtY1SIH2KCX6fRmElhcc1TF aPfG1QO/wxKyX9wLAk9HkpKtuzEuJoSLIjLPLpi890hhEDv7gBnEgiUdUlO8T/TiZny58EsgG9oP5 4AlRU01DxnkaGhozxz+RLAk5NvAnmeRxaDZAv2lLRNaIWPE/zZnCAJ6F55keB3AV2q1qWaSD9IcrB HTSkTCaKjjOQnqTYaecg/aH0Bq4fd9VdBHIYYUYXTtTMsoRHxvVsyvXQMXA6/p+ekQ0sfnfw4puv8 /pjQ/gDA==; Received: from [::1] (port=55946 helo=server173.web-hosting.com) by server173.web-hosting.com with esmtpa (Exim 4.93) (envelope-from ) id 1kGUrm-002ENv-WA for emacs-orgmode@gnu.org; Thu, 10 Sep 2020 18:16:35 -0400 MIME-Version: 1.0 Date: Thu, 10 Sep 2020 18:16:30 -0400 From: TRS-80 To: emacs-orgmode@gnu.org Subject: Re: Any reason not to generate my own custom ID value (NOT CUSTOM_ID)? In-Reply-To: References: <8e204de9ad9da09812991449c64d7aad@isnotmyreal.name> Message-ID: X-Sender: orgmode.trs-80@isnotmyreal.name User-Agent: Roundcube Webmail/1.3.13 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OutGoing-Spam-Status: No, score=-0.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server173.web-hosting.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - isnotmyreal.name X-Get-Message-Sender-Via: server173.web-hosting.com: authenticated_id: trs-80@isnotmyreal.name X-Authenticated-Sender: server173.web-hosting.com: trs-80@isnotmyreal.name X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: rewritten was: [orgmode.trs-80@isnotmyreal.name], actual sender does not match Received-SPF: pass client-ip=68.65.122.210; envelope-from=orgmode.trs-80@isnotmyreal.name; helo=server173-4.web-hosting.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/10 16:02:50 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=isnotmyreal.name header.s=default header.b=BcRzVkfB; dmarc=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-Spam-Score: 2.49 X-TUID: g8dEBABAg6H3 On 2020-09-10 18:00, Gustav Wikström wrote: > Hi TRS-80, > > Your approach should work just fine. So fine, in fact, that it's > already kind of built in! Configure org-id-method and set it to 'ts > and you'll get timestamps as ID instead of uuid. > > I do believe the manual lacks a description for this. Not entirely > sure though, and can't check atm. But the configuration is there none > the less, and supported. > > Kind regards > > Gustav Hi Gustav, Thanks for the fast reply. I am aware of the 'ts' option to org-id-method which does not seem to be documented in manual, only docstring of its defcustom in org-id.el. I had left that detail out for the sake of brevity. :) My problem with that is that I do not like the format it outputs which is "%Y%m%dT%H%M%S.%6N" (in other words, output which looks like "20200910T180910.747026"). Only a little bit better than the "uuid" option, IMHO! :) It would be great if that format-time-string was a configurable variable, instead of hard coded, but alas it is not. Well, since we are now on that subject, perhaps I should ask is there some reason for this? Or would Bastien perhaps consider something like that? :))) Regards, TRS-80