From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iAUSLp/oZmEJSQEAgWs5BA (envelope-from ) for ; Wed, 13 Oct 2021 16:09:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KDK9KZ/oZmE6VQAA1q6Kng (envelope-from ) for ; Wed, 13 Oct 2021 14:09:35 +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 3825229C1E for ; Wed, 13 Oct 2021 16:09:35 +0200 (CEST) Received: from localhost ([::1]:35434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maewn-00048l-J2 for larch@yhetil.org; Wed, 13 Oct 2021 10:09:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maevh-000478-0l for emacs-orgmode@gnu.org; Wed, 13 Oct 2021 10:08:25 -0400 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:36615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maevd-0007it-D3 for emacs-orgmode@gnu.org; Wed, 13 Oct 2021 10:08:24 -0400 Received: by mail-lf1-x134.google.com with SMTP id c16so12451451lfb.3 for ; Wed, 13 Oct 2021 07:08:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=oQx9Ica/k6rMYEfRY+NnRW16UQPigj7KdvXaZPDTs64=; b=gbk7tVcOFJrt57LhGa6DfnPXcikxcEBSzl3NRFzuYbT/qllf0P5sYqsFuKq5hNOHq5 LTEu1/VeVzm5CTkW0lBGbqepPkP9bTJxmZkDTzO+yHwf75a0mxie4erwT9KkqU/luOnu dw5r5zQRH+CDmelj9OggD/4kgu0VOl6cpfD5KvNC8WjEb+VECv82/unIUY+u1d3SPOhj XRVwuJwWe2NGBItSvjoBv2piZw1aquBYe457rRbDSwrpQkM1fhAAlUPYeTlk9IIHi+lw HY7OhwfT5/ZG5nWlBj4Mn2a/kfEKGpKB4/P4cofzWO+Qt7xDRZv15sz1u9BUREFqkSE5 ZEkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=oQx9Ica/k6rMYEfRY+NnRW16UQPigj7KdvXaZPDTs64=; b=Gfp5sttlEvlPns5yCy7D6srDjbx19UcPKazlzS39bLeUZWJJyDxNeFDbUJzIjCq+0b W43cIE3fiQXTwq61ABPsBEoHErROuKlDneXBISHttFZzZCRCZerRZb4recbt5LchJmzH T70t/3TX4Si0CZ9vv9kb18CLXQLL8Y6wScGjALhbIcWjjatErPE4gsTbwLeXilx+asii 4UhmUi+X6cblTUnlmxiBX0qsyH25AFCO9MRKnnedVyFl0HflFYATzoIcq6CPJq9ZFLy7 G8BNeQ+GPjJ2pS9vXmgDNfr74gbSsRF+gD3V59Oh/Y151spFWUu6gnzlG1edK8QDJ1Qp XDgA== X-Gm-Message-State: AOAM533/7Q1YHKtpdZ2KJCzqcdGwfEfkE2fpPi3zBjb4aj6uGMFFFsJY LuLkXDXheOGmlxtGFluDPhLdmNskL/E6uaHt X-Google-Smtp-Source: ABdhPJydfKYoQ7jSxkMLMVj5ETEAPkpqFGmZ3WNeKdh9w8Ip41M2SKU57ac67blNDQo3APbChLTsLQ== X-Received: by 2002:ac2:4c51:: with SMTP id o17mr41774088lfk.457.1634134085332; Wed, 13 Oct 2021 07:08:05 -0700 (PDT) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id b4sm1342458lfq.9.2021.10.13.07.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 07:08:04 -0700 (PDT) From: Ihor Radchenko To: Ypo Subject: Re: Customization of IDs generation method In-Reply-To: References: Date: Wed, 13 Oct 2021 22:09:24 +0800 Message-ID: <87mtnduicr.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=yantar92@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Cc: Org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634134175; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=oQx9Ica/k6rMYEfRY+NnRW16UQPigj7KdvXaZPDTs64=; b=nFkd+pB7AupGuHQ84OWdAVFdc4y6syKHX+50JXR3bIS+ZGR4gng4HrF3NhP+57MaLznbrt o65pHB6eZBiiF8pjhNHmx7EP22ETlVT3T5DVRC7/x/v8LE4fy63iFDQqwj/ZQEVJ5cpWCO 6HuOYbeeOKnTOXSajGm50jHSLhyG1jCjOdv6txiIDGjXE1h16MzcoQo8VQbyEkeIgGoqb2 KSDloha2eWyXXvmOATxqIT1tLz2OHVQgSE1QNNU4cDd2BZr3+q/GrNhJCWe6PCcaOY9gG2 p+lLHDmXNB8hozfDT8Uy4zv2UoTVedYFg/y8vCJ5E6y+PaBU3zSK6uDqcLUFGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634134175; a=rsa-sha256; cv=none; b=Fu3o4yLS+6FlSRUBn678Y2iJVJWgk8mIfbngDcQJE2nS07AmkRnJUk5E7FzKcRauN93D+9 fGjfjHjzJ+lHskgMwqW20/9hK3GBcWybZGeR4FFVNjFOl8x8t6msI9blmIOBcRHTUDEvn1 Rcy81jVfRlcAssYUzAsgII1SzrPGuA/PIxEFsRo7agFb4TzDAb/fDYkyOI6S0fDi7WNtSr 20Zpi9Y3TI8grHGTJ0AuKLycJAvyF7PE1H+kp80K9KAjx44hR5efPznHaA77pgDX3elhjX upCOr9luguX66Mf4tdTG387GEdQorjMnS3lMCVxIO8O3iI1B7NyTUdjl1phPSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gbk7tVcO; dmarc=pass (policy=none) header.from=gmail.com; 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-Spam-Score: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gbk7tVcO; dmarc=pass (policy=none) header.from=gmail.com; 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: 3825229C1E X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: xIhOmE/JSppU Ypo writes: > How would the "New option org-id-ts-format" work? > > I added to my init.el these lines with no result (sorry if I am=20 > commiting heresy): > > (defcustom org-id-ts-format "%Y-%m-%d-T%H-%M-%S.%6N" > =C2=A0 "Timestamp format for IDs generated using `ts' `org-id-method'. > The format should be suitable to pass as an argument to=20 > `format-time-string'. > Defaults to ISO8601 timestamps without separators and without > timezone, local time and precision down to 1e-6 seconds." > =C2=A0 :type 'string > =C2=A0 :package-version '(Org . "9.5")) Hmm. Did you literally add this "defcustom" code? You should either use Emacs customize interface (see 49.1 Easy Customization Interface section of Emacs manual) or use setq (see 49.4.2 Init File Examples) like the following: (setq org-id-method 'ts) (setq org-id-ts-format "%Y-%m-%d-T%H-%M-%S.%6N") Hope it helps. Best, Ihor