From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mp0 ([2001:41d0:8:6d80::])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
by ms0.migadu.com with LMTPS
id KIMZDtL1pmBRXwAAgWs5BA
(envelope-from )
for ; Fri, 21 May 2021 01:50:42 +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 0MXOCdL1pmDiTQAA1q6Kng
(envelope-from )
for ; Thu, 20 May 2021 23:50:42 +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 8A11E2F28C
for ; Fri, 21 May 2021 01:50:41 +0200 (CEST)
Received: from localhost ([::1]:44840 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1ljsR5-0000nL-FS
for larch@yhetil.org; Thu, 20 May 2021 19:50:39 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49720)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1ljsQh-0000nC-Ta
for emacs-orgmode@gnu.org; Thu, 20 May 2021 19:50:15 -0400
Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:35512)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1ljsQf-0006A8-UT
for emacs-orgmode@gnu.org; Thu, 20 May 2021 19:50:15 -0400
Received: by mail-lf1-x136.google.com with SMTP id x19so27055367lfa.2
for ; Thu, 20 May 2021 16:50:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
bh=IXIGYVQywr9mz/UJgNQ7m2GH9b9AVDZzzbTAZ6RumKE=;
b=krel0WtYWIzYhrozLgwDVLozfgjiyDtL/eTh+R2Eq8dX4WScT8MoIrNzEMQ2Ha5h1g
8YX2/bjPMQ5w2fvSws2lU8F98yEwtGwDdPduhhk5KPKjvgMw0b5wRZNq8exg2BrpDKtZ
snlUIsLUXaTzMc5j9Y4lEMykhqnLxneClex1yesML80UTcKEf0Frx24TtOlekSxRuJkY
bvV+ZChl0+9XGBLhsM6K20VaLagOyhnYeDU3AA+Ggm89nZ/r57/kUVybMMeEseFtlv5O
3VAcatB0aKdwjQY/wajRhhnxsTS6FuE9SWHlQx3McXMEKsEQOnuROoO0EKpp8WOiIso0
kwZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to;
bh=IXIGYVQywr9mz/UJgNQ7m2GH9b9AVDZzzbTAZ6RumKE=;
b=A6Ij8OrdcuFnX6JewxSwu/3CFVJUZcZqKVkCDG7nfykj0P6a7mVYCFWTUGrUJn0J5Y
dq7G1gfGKCMTMpPKX3BYDt9ovEKCa91CKyCxu7B7q0DMAiDS9KZeEeN0rw0uBNj0ZBic
dUqtu7l5yMMAOwfIdjcJrGeK/IZwX4NENGSfv8z3RKOyivKOUBohHheMi5Dn5Iq1kJ7s
gyMqXCJJNA2dmo8sUX5Sox3yWwRiRlChUP3/TT8V7w+wtxT8It4uGCkg18RutcE1BGwj
R2D/sZpzUzP84xTtBbX15uuQX5GoKjbc9qboK0V4+kwKgANkey0aUNdnfUE55McI5Ygc
b4RA==
X-Gm-Message-State: AOAM532pe89ggIa25Q//5p0VTUJyQXzje/3KJsepxCL1AlGGh58yi1HT
ERZNRkrURrl4i0dPKX/mLFB6nzKLS2fHF/L3BZQ=
X-Google-Smtp-Source: ABdhPJzmERgEYPrrGEPHbCaZZ5gshMLWuBJTIXZEC/Sh0e+QDbpHCfCMWM0hmoa2LAXreFwQQAEIy8dKvs1hyaeLeeE=
X-Received: by 2002:a05:6512:2108:: with SMTP id
q8mr14409lfr.169.1621554611834;
Thu, 20 May 2021 16:50:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:ab3:6d6b:0:0:0:0:0 with HTTP; Thu, 20 May 2021 16:50:11
-0700 (PDT)
In-Reply-To:
References:
<87pmxlyy5e.fsf@nicolasgoaziou.fr>
From: Samuel Wales
Date: Thu, 20 May 2021 16:50:11 -0700
Message-ID:
Subject: Re: Custom <> possibility?
To: Samuel Wales , emacs-orgmode@gnu.org
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::136;
envelope-from=samologist@gmail.com; helo=mail-lf1-x136.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: ,
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=1621554641;
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:in-reply-to:in-reply-to:
references:references:list-id:list-help:list-unsubscribe:
list-subscribe:list-post:dkim-signature;
bh=IXIGYVQywr9mz/UJgNQ7m2GH9b9AVDZzzbTAZ6RumKE=;
b=S4sm50N9/5/BfU9zsgQUkzM2C3ibt6rIusYmpMmnZ3RCqth5nCA4B2sxe8tseIUHZAULP7
nHP7sAewbEQgRwF2KJSA2FbOPw7EJnmpMOgopxlW3LLrAZoNfLYcoohmQZfmEapyS4kcMD
ZNLa02d36Q5ZpSjSQLfqOwpGRjs9+tNrM/k3vqa2nONWx7No/GFb8MeEswjkcP//0xukxY
N/wpHkhAHO7DuwrLkeu8GEXbHPTUyNqZrfMqW3r/llnEHeLrZErch/cByU5xK5VRu/+wSL
CIwIh+0JIUdBg8vJ8kkz60jqmp9oWapAgFhLekw/T+AI5qd5TBAmBDBmd49ARQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621554641; a=rsa-sha256; cv=none;
b=DE3wQwI6br6tkDByZRTfKKSG3FA43tdSGem8XsdK4YGBDGLF0oZ1+4a1blaLFoIYOF7YR+
I5RUoUhCJD+JvxLJE4o2LECXXykD5RuXVpHMa0wtfU0ynhB7jRUyrQrSaOKoeevm93GIab
JMDmj2/+NINz1l6+/PhZ7lYgumLCWsEIiJwxexsOtNP0eHl91liZlLOCnVJ+EML/7bjPav
nr6lUjDeKTt9uHZ7zgRTaahyyag4OoacigcTnUAVQQ8rr4UnXUT4tuzm+dojsIz3oHVLNh
oq6ffmTsFZVq5w4S7L38xl77oVxM1xg58VX7s3JYlG05VcAHXpxbnIt7iiNHSw==
ARC-Authentication-Results: i=1;
aspmx1.migadu.com;
dkim=pass header.d=gmail.com header.s=20161025 header.b=krel0WtY;
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: -1.84
Authentication-Results: aspmx1.migadu.com;
dkim=pass header.d=gmail.com header.s=20161025 header.b=krel0WtY;
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: 8A11E2F28C
X-Spam-Score: -1.84
X-Migadu-Scanner: scn0.migadu.com
X-TUID: EqZhPQ1+rsyf
thanks for the example. yes, that is the example i was thinkng of.
i was asking, why does adding uniqueness do any good currently. if
the user has your example as follows, it does create duplicates in the
output, but i don't get why that all by itself needs fixing by
default.
===vvv
I may try to give the example here:
<>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam
lectus. Sed sit amet ipsum mauris.
<>
Vivamus fermentum semper porta. Nunc diam velit, adipiscing ut
tristique vitae, sagittis vel odio. Maecenas convallis ullamcorper
ultricies.
which results in:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam
lectus. Sed sit amet ipsum mauris.
Vivamus fermentum semper porta. Nunc diam velit, adipiscing ut
tristique vitae, sagittis vel odio. Maecenas convallis ullamcorper
ultricies.
===^^^
so the duplicates in the output there are apparently a problem. i am
not sure why, unless a link needs to point to each. perhaps so that
the reader of the web page can point to each? but as you say,
generating the document again foils that plot.
[note: i started the thread about toc links. this is a subtly
different question although it overlaps.]
On 5/20/21, Jean Louis wrote:
> * Samuel Wales [2021-05-21 01:19]:
>> thanks for pointing us to this variable.
>>
>> docstring says "This process ensures that these values are unique and
>> valid...", so it sounds like you could create non-unique or invalid
>> identifiers without it.
>>
>> does this mean, for example, if the user exports a subtree with two
>> link targets with the same user label, then if this variable is
>> non-nil, then the output could include more than one link target?
>
> I may try to give the example here:
>
> <>
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam
> lectus. Sed sit amet ipsum mauris.
>
> <>
> Vivamus fermentum semper porta. Nunc diam velit, adipiscing ut
> tristique vitae, sagittis vel odio. Maecenas convallis ullamcorper
> ultricies.
>
> which results in:
>
>
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam
> lectus. Sed sit amet ipsum mauris.
>
>
>
>
> Vivamus fermentum semper porta. Nunc diam velit, adipiscing ut
> tristique vitae, sagittis vel odio. Maecenas convallis ullamcorper
> ultricies.
>
>
>> what if this var were nil [the default], my brain is not working well
>> now, but it seems as if the exporter could still get confused which
>> target to link to, even if it is not printing duplicatedly-named
>> targets.
>>
>> so i am curious what the purpose of the default is?
>
> You already discovered the purpose: "This process ensures that these
> values are unique and valid..."
>
> Randomly generated internal hyperlinks are not part of author's
> document creation and I don't believe they can be unique across all
> documents as they rely on randomity, not uniqueness, but they may be
> unique in one document. The sentence should say "This process ensures
> that these values are unique to specific document and valid"
>
> Problem with it is that those random anchors/links are random, and
> that makes it a bad default for user. A user may bookmark the link
>
> https://www.example.com/doc#org2cf8625 with some title, but with the
> next document generation same link may appear as
> https://www.example.com/doc#org6ac9de0 and that means that bookmark
> disappeared, at least for HTML export.
>
> For me personally I am editing Org text (not files) on a meta level
> where all objects have its unique ID and from there I can create Org
> files. Then each object of a structure of meta level Org has its
> unique ID. Also the document has its unique ID. Then it becomes
> possible to automatically create anchors like <<1:17311:31121>> which
> are truly unique across all documents, remain immutable, and are
> trackable. With "trackable" I mean that it is possible to generate a
> list of "referenced by" documents, documents which hyperlink to that
> anchor.
>
> --
> Jean
>
> Take action in Free Software Foundation campaigns:
> https://www.fsf.org/campaigns
>
> Sign an open letter in support of Richard M. Stallman
> https://stallmansupport.org/
> https://rms-support-letter.github.io/
>
>
--
The Kafka Pandemic
Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html