From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OMOhCAkr0F87JQAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 01:40:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AOJpBAkr0F8/aAAAB5/wlQ (envelope-from ) for ; Wed, 09 Dec 2020 01:40:25 +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 4B7EE940111 for ; Wed, 9 Dec 2020 01:40:24 +0000 (UTC) Received: from localhost ([::1]:49228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmoSs-0004py-VF for larch@yhetil.org; Tue, 08 Dec 2020 20:40:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmoRv-0004ps-HB for emacs-orgmode@gnu.org; Tue, 08 Dec 2020 20:39:23 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:45612) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmoRt-0008RJ-Q0 for emacs-orgmode@gnu.org; Tue, 08 Dec 2020 20:39:23 -0500 Received: by mail-wr1-x434.google.com with SMTP id t4so228045wrr.12 for ; Tue, 08 Dec 2020 17:39:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n8UPLI1aWUZsU8vM20sBHt9AorE/JCoLVypjkr66G5Q=; b=FSZmca0yRiLi3WiZ7d9SHrvyusw5fE7MSV1kBDlPbz8lzPNjnhtocRo5xI5kcvcfxT Mkd59K/IMAKmv91Ln5FP8p1sGCSeQMxD7oZDlO5n9ZvhiJJJFawN8rSBq1l6T2+zFWkm ACExID115dtGGXC7vBFdo9PITeUeQF+wo0tdUilE+y9YHNqc3ADfxgQAVEtzGoVcrMx6 Si2UCjzuk70JDM4V00OxtQMfhIiaYza0eQz4WbfsJ80mP0tlj9NoJH+NT+1eYd7osRdz LkLxVDYkZeqecAzPXmq1cH8zjCfLD7DS2/3JgKGgaXzAAE+TU7DbqQOfi0trLQr9njIO o7zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n8UPLI1aWUZsU8vM20sBHt9AorE/JCoLVypjkr66G5Q=; b=h5I80QR1m7t4N9aVUU2DgnchjKOdrNZzPByCdKYfQ9xUVTohCDnNoNfwYrvy2gSlAU NYCDwyYL/9cgHgSkb6O2d1U0F8FnEf+hUZRDKIXYxXosu3+II1r8BvsSm8Tw3dyVe8Mx GcVXHTXUvRnxg8ZHkNyNbmDn5xSzFq/47nBO81CGxVTW2kFbMNlz9uWr6KP4miD+gMr0 OHNN+NqYP7z6+YFfg2zw09MiuZPbpRMmzxWvE7ehoKbguVE7MaAgl7LLpzXf1bUR0shN DJSUd98DZSGoJQ5a8ggzeJScW2lueyrbUUe9YkxqQVYDFIKJq9KodNToBsn37hNp66r0 WCXA== X-Gm-Message-State: AOAM533v5wlW/ChNAXiR+Tpu6/Z+ySXEXZEJc8R2nTwPb4JleD2Zi2n8 NgSeSGLgspB8K43Nz0S4EwqvWQNG/MLBrS7UtgQ= X-Google-Smtp-Source: ABdhPJyMBA29bqWQJyw2BSJc0qsIIh8qcYdQgi844fCMjfZpcB68YHTHKgJNuFBFHjaWwiPBgo/rq1+qtlvkfne9OFQ= X-Received: by 2002:adf:916e:: with SMTP id j101mr851471wrj.55.1607477960027; Tue, 08 Dec 2020 17:39:20 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Tom Gillespie Date: Tue, 8 Dec 2020 20:39:08 -0500 Message-ID: Subject: Re: stability of toc links To: Samuel Wales Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=tgbugs@gmail.com; helo=mail-wr1-x434.google.com 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, 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: emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FSZmca0y; 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: 4B7EE940111 X-Spam-Score: -1.71 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: E4blk4YEdOj/ It sounds like you are looking for the CUSTOM_ID property. See https://orgmode.org/manual/Handling-Links.html and https://orgmode.org/manual/Internal-Links.html. I don't remember whether there is a way to generate ids matching headlines within org itself, but there is https://github.com/alphapapa/unpackaged.el#export-to-html-with-useful-anchors. Best! Tom