From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id Q3TvFxxfFF8BJgAA0tVLHw (envelope-from ) for ; Sun, 19 Jul 2020 14:56:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GKZCExxfFF+UFwAA1q6Kng (envelope-from ) for ; Sun, 19 Jul 2020 14:56:28 +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 DA0E29403A0 for ; Sun, 19 Jul 2020 14:56:27 +0000 (UTC) Received: from localhost ([::1]:50032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxAjq-0004Dk-LH for larch@yhetil.org; Sun, 19 Jul 2020 10:56:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxAjC-0004BY-Ln for emacs-orgmode@gnu.org; Sun, 19 Jul 2020 10:55:47 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:52849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxAjA-00075z-HC for emacs-orgmode@gnu.org; Sun, 19 Jul 2020 10:55:45 -0400 Received: by mail-pj1-x102b.google.com with SMTP id gc9so8873950pjb.2 for ; Sun, 19 Jul 2020 07:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date::::user-agent:message-id:mime-version; bh=2r6U8FwlMDkMXlenHmp+jGbKpz3LlGN/RFn36rz0dig=; b=HZyFD+oaTDaSrvVk2lcmnGSNolw4+uceduA2LwQySpkqsX0CuYfiXH7ZLD7tY0q5Ed ajl90NGGOratxM6lysvBV1GAFT0cxR5IRY1MNJG+1LbI/LABPKjWGez+CfJPEa422J6I /mcHuiS9S/bfwoOTT4k5QyZbgAYIWW47+hnVe0AxbFm4yySYKJlqACzKj/7x0gjycNoI IVpef/raJnD2j9jP70pMugRWiqgzWO+PULtClHtrYVkAkPwNrv96EClVidwkw3bn0lkz 2E7r8CtBlMM4zREtSM3WJuN9MW17lgn26XxmrFmozMOizV1lIMXZXYr+J9clLEs3YGIX gt0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date::::user-agent:message-id :mime-version; bh=2r6U8FwlMDkMXlenHmp+jGbKpz3LlGN/RFn36rz0dig=; b=nrxjMLImTaMIM5CWQXMrKL8txajfIISG0t38Xs0NAwoNIIR8fyoEZ2mUWLm46ZHTTL OPLqFy0opiDPCdA9npGVjkP5t7Mq0B15yCwCL/aBOaYScvEk5vQNrFe/FSnlXCrzMgHr PNuSijP9oQ2wMqKqMesj3ey77iPXE1nqh3kDHW/eqqZuRTUIHjBpuI3rh22tms7YE5ip hZAH5gROFb78x1SF4ss6kEkcex+kiRELP8i3xMe7x+mnstigGDS85JLX94rn4bJxhZT9 WPOApfVaRS5TmZPnTGEH4lgbmdrJzChX03QObh3PF04ahqKqlYgKLAoAUcDSY6okjcA5 IujA== X-Gm-Message-State: AOAM531JjqkUhqrDVNSCOX4W3F6CMJQf45bG+RfL469zH0gShsFWTzZS euT0yd0RALD12yByejdoFjHDLgMz X-Google-Smtp-Source: ABdhPJxwKoboRV6jRg4pBlANHRnbzaLLFPjQ6Pdh3We609RHFqYcvmVVnlACVWNcVbTMV0u0pZSKZw== X-Received: by 2002:a17:90a:3e02:: with SMTP id j2mr20026885pjc.47.1595170541334; Sun, 19 Jul 2020 07:55:41 -0700 (PDT) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id b10sm12978352pft.59.2020.07.19.07.55.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2020 07:55:40 -0700 (PDT) From: TEC To: org-mode-email Subject: [Interest] Determanistic Org IDs Date: Sun, 19 Jul 2020 22:27:31 +0800 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" Message-Id: X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=HZyFD+oa; 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-Spam-Score: 0.09 X-TUID: hFfZTKEd99Wv :PROPERTIES: :ID: 1161308a-ef0c-4490-bb36-13634f8de727 :END: User-agent: mu4e 1.4.10; emacs 26.3 Message-ID: <87r1t7mu52.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=tecosaur@gmail.com; helo=mail-pj1-x102b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9,DKIM_ADSP_CUSTOM_MED=0.001,DKIM_INVALID=0.1,DKIM_SIGNED=0.1,FREEMAIL_FROM=0.001,NML_ADSP_CUSTOM_MED=0.9,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 Hello everyone, I have an html export of an org file checked into VCS. To try to reduce the 'noise' created by commiting the random org IDs changing each time, I took @alphapapa's unpackaged.el org-export-html-with-useful-ids-mode, tweaked it, and extended it to cover other elements. The end result it that the resulting html export is fully determanistic. While I'm quite pleased with the result, it occured to me that others might be interested in having their exports behave like this. >From my usage, these are the percieved pros/cons. Pros: - Reduced 'noise' if exported files are commited - (With HTML) links to particular elements in a file keep working across multiple versions, most of the time - (With HTML) links become more descriptive Cons: - Inceased chance of ID collisions across files Longer IDs I - think this could make a nice option for export settings. I'm - aware of the 9.5 feature freeze, but thought I'd mention the - idea to see if there's any interest in it. If you want to see what I've got happening, see https://tecosaur.github.io/emacs-config/config.html#nicer-generated-heading. Please let me know if this idea seems promising! Timothy.