From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KFoFDwZXQWNagwEAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 12:55:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iGYwDgZXQWNJyAAAG6o9tA (envelope-from ) for ; Sat, 08 Oct 2022 12:55:02 +0200 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 E4E8938DD8 for ; Sat, 8 Oct 2022 12:55:00 +0200 (CEST) Received: from localhost ([::1]:35994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oh7Tw-0006PV-0q for larch@yhetil.org; Sat, 08 Oct 2022 06:55:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogw1U-00077i-Hh for emacs-orgmode@gnu.org; Fri, 07 Oct 2022 18:40:52 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:42567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogw1S-0000Hu-Ib for emacs-orgmode@gnu.org; Fri, 07 Oct 2022 18:40:52 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id B03A55C00BC for ; Fri, 7 Oct 2022 18:31:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 07 Oct 2022 18:31:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fortlogic.net; h=cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1665181862; x=1665268262; bh=kw43IYkp1N 6U2h/wMZSrDZUVTxax65gYgkukoI9obrE=; b=ftgUypSeHHwf8ntZ8D2bmFKZYs 2MVMBvfZfuo7+g7xY1jE9hk/yE4jdEr0e2HlPirTDjOJxv+v+X3DrthJTymV77iO EtaQxRGJSkNEspiV8/+TdVE5rfJcYxsaZAeQXOPAJ/fenk37V9PO2NhoCxPt2VPE 02yZ/Z2veivg7FPpqbTRRCZqsLq9Mvk2MrKad6l3eLQ/8TRAs058gQE4VDdRwtNO t1qg8KtLVYSuSigh2FT+GVvRcKTSzIZ+TKRzcuOKLuAfnhvuIwKgpUfJvpLj1UI+ wp3Vn2myHTTvZYYvUa+TgmGWNAQqTyegmue7786oyOqAtvpgmO2+l5AvPXKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1665181862; x=1665268262; bh=kw43IYkp1N6U2h/wMZSrDZUVTxax 65gYgkukoI9obrE=; b=TZv/jR2Ch4otWDpn/qtzKjYoQXOBCAbq5QfPDeyWVo4E KLfXSzZ70Cyjm83Sk/mVSh7V5PARufTwmnABLcN8jBY0z6VwVE+Uy0LXDHkPh9qA 9k3hC75RaxcoeDPtxg4LaH4e4OyZqsTH7KtSAgaT4NdXyxmdgy8UphxiDgtNYpnR Wsi+bq7cjw+Nbidi+XH6xWRwbtiKM/QK4Y5meufszY82CGJgSWPARQ9hx8KQ1N2E ga7gAbkyiIg3jaebT36bSXxL/39QSOQtB+a4+HJKNwtT2T30Rs65IfOG5WkVGgBp D60YisTx7qaZIXEpCdmG6yRXJCYjuQMewbDTDp1QqA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeikedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd hhtdejnecuhfhrohhmpeforghtihgrshcugfihiigrghhuihhrrhgvuceomhgrthhirghs sehfohhrthhlohhgihgtrdhnvghtqeenucggtffrrghtthgvrhhnpedthefguddtledtue dvudelkeegleevvdfffefhkeeludfhhfduieffgfelfeeltdenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghtihgrshesfhhorhhtlhhogh hitgdrnhgvth X-ME-Proxy: Feedback-ID: ifc0446c1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 7 Oct 2022 18:31:01 -0400 (EDT) From: Matias Eyzaguirre Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Markdown export is non-deterministic? Message-Id: <8B2BE812-0A06-4562-9D3F-0515EE4036D1@fortlogic.net> Date: Fri, 7 Oct 2022 16:31:00 -0600 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3696.100.31) Received-SPF: pass client-ip=66.111.4.29; envelope-from=matias@fortlogic.net; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 08 Oct 2022 06:54:17 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665226502; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kw43IYkp1N6U2h/wMZSrDZUVTxax65gYgkukoI9obrE=; b=tokK30BtXeIzW0hdXKOBSTFm7McwEeaY3X0PZ2og09fJJP2BV+Iy3o2OqnfeDa/cV7Qqhu 3aJFqyv36Piy/rHcTJsxvkRRQafMNln/5MWYv2g99q82d934X4UD6LMEeU2Vy5BUNifaaG 7X/NTVf0DP9R2TZlhQRRteSFyLI0ILztThf5L5bo0+OLXRDcOLxmSbtpLRHPfATg9c3NmX /kY5O/JefsPQz/g/FeYORc0bw7SvQOrOJ3hjkfwQEgRzNaltTondrHCxCtInEYgjZ6FQTm T+o9lkNaZK7yWHOlMH1aIUTCRdvOxqlRp0ti+sqAumgqWtw+qavdKGIlK3eVzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665226502; a=rsa-sha256; cv=none; b=PorZ+4I/h5vAxjsw/1YRVqFRabPXjF/gP36hKCG+c58EklnKEylZvsPYhM1ctg25WP0BM2 PCTgOraavcbji1AwK3O+H9ltlRgfuZPHjRv2uunP5C4XQf0arfJ6838ZYNBayaM7kRwW+5 tzWMFqC1cCtfZ8AWw1TF5VjjKO4ifmLimm9wCJB5Z7ZptXze5RRjCvaN0AwkU8ZQzxWHso /aq59OJkrXznZL/DKq/aPLy88G1s9yA0mB2MVu2/too81qMn2koXV+WcgwFVfIecj58/VM Pn1xTfz3qb5IIGKzZh0im9HE+tU1gUa7+PJ8w6Pf1p1OuEJf6EtZzRMS153ovg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fortlogic.net header.s=fm3 header.b=ftgUypSe; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b="TZv/jR2C"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fortlogic.net header.s=fm3 header.b=ftgUypSe; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b="TZv/jR2C"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E4E8938DD8 X-Spam-Score: 1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: fKsOGon/kYyG I=E2=80=99m using org-mode to generate a markdown README for a project = that is under version control. I=E2=80=99ve noticed that the anchor tags used = for the table of contents seem to be annoyingly random and change from export to export. Is it possible to make the generated ids deterministic? For example one invocation of ~org-md-export-to-markdown~ will give me this: #+begin_example 1. [Introduction](#org8f0a2e0) 2. [Roadmap](#orga3f4ca7) #+end_example While exporting a second time, even if there are no changes to the file, will produce something different such as: #+begin_example 1. [Introduction](#org775f005) 2. [Roadmap](#orgccee397) #+end_example While these identifiers are generally not visible to a reader, they add noise to the version control diffs. I'm wondering if it's possible to force the relevantrandom number generator to use a fixed seed or, more ideally, have the ids be based on the section title (or its hash)? Thanks, Matias=