From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QFNmM0jjf2AlewEAgWs5BA (envelope-from ) for ; Wed, 21 Apr 2021 10:33:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2CU8L0jjf2AjNAAA1q6Kng (envelope-from ) for ; Wed, 21 Apr 2021 08:33:12 +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 31EB516238 for ; Wed, 21 Apr 2021 10:33:12 +0200 (CEST) Received: from localhost ([::1]:36946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZ8II-0005V8-1Z for larch@yhetil.org; Wed, 21 Apr 2021 04:33:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZ8Ha-0005Sr-Tm for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 04:32:26 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:44593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZ8HY-0002V2-L1 for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 04:32:26 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 016F91C0003; Wed, 21 Apr 2021 08:32:19 +0000 (UTC) From: Nicolas Goaziou To: Samuel Wales Subject: Re: stability of toc links References: <877dkzg9y2.fsf@nicolasgoaziou.fr> <87wnsx9rcj.fsf@nicolasgoaziou.fr> Mail-Followup-To: Samuel Wales , emacs-orgmode@gnu.org Date: Wed, 21 Apr 2021 10:32:18 +0200 In-Reply-To: (Samuel Wales's message of "Tue, 20 Apr 2021 17:33:13 -0700") Message-ID: <87y2dc82ct.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.197; envelope-from=mail@nicolasgoaziou.fr; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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@gnu.org 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=1618993992; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=ALm5Tq7XmHYhrYsl/gUR5EgByFfuz9VBoDBpWepohWc=; b=N1ATkjy7XFum9B+L7TqW3gYhiSSdbl8HWQ6fYLFrGvNdAdi06Y1d+fwFNHTmIRB2BAxXAF g2lo+8jUvMYXYMVzkVaEvUzGtO334hKYaltDDQ2RuTxMsvDQNO1tCsV7rUT2VDYXw8BRrm XJAi1f1nGTcek69sg9V/uDSAw2dIF0uwAt0D+mqT88jJXGftf5y7XHBR8zXKYiWSqYiZWK eMWZbCOIgXGypDk9u/PvUSMp2JAyEwcW/Cppa5QEd+q/D2xSzN2s0qywLAeDWpO+9YekqS bxlkHU2jCGiOXVMg2nhWwPX8qd10KEVGsazoIQhH/oq8BIGqZh/hDDsTH0pX5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618993992; a=rsa-sha256; cv=none; b=FISwCDMK7Y84VQEfeWUX+RE7pDHPQkUzdb9bMdmSJb7Y77SoMnOl2ba4boNLWGFuzRlBmB Zn5RAMmK7v/Pt+kLxxiyhhMup+zVlVqD869JSYOnHLP/PB47yO9iLIt3qnd+OVRVAePI/r A47NDHtFKF+WYWR2yFnCkOgBZzVBtpOBknAYlxr0UsUt0ND4dFXW6+KGYounSzyqLfFYog x46q8LJtayPl5vYWJiGNvNUqUGTJ/MX9wgEILZhjJdg7hIoAcaqLmi91h3rr8b6Xdt+TE0 cdFUrXg91ailQ9x/Wq1EesUz1cDrfv+6GVK8z7xBwTrBqCArFpTZu5x+6uccpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Migadu-Spam-Score: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Migadu-Queue-Id: 31EB516238 X-Spam-Score: -2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: PcCncOZyDpkl Hello, Samuel Wales writes: > i was referring to: > > Message ID <87v9dbelky.fsf@gmail.com> > > in this thread. > > [and other posts in this thread related to it.] Unfortunately, I won't have time to look at the whole thread anytime soon. However, feel free to explain how "tec's fix" works, or point me to the exact post where it is explained so I can understand it. > the problem as i see it is link stability in generated output. The links are stable if you publish a document. Note that you can even "publish" a single document. For exported (i.e., one off documents), this is not so an issue (IMO) since you have custom ID. I assume this was evoked in the thread. Link stability is also tied to publishing process because it needs a cache. And I lazily re-used the cache already implemented there. Regards, -- Nicolas Goaziou