From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Jorge P. de Morais Neto" <jorge+list@disroot.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: CUSTOM_ID vs ID
Date: Sun, 18 Aug 2019 17:05:09 +0200 [thread overview]
Message-ID: <87d0h23462.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87d0h28sc0.fsf@disroot.org> (Jorge P. de Morais Neto's message of "Sun, 18 Aug 2019 11:24:15 -0300")
Hello,
Jorge P. de Morais Neto <jorge+list@disroot.org> writes:
> But could not we URL-encode the dedicated target text?
My example was about HTML, but the same process is used in every export
back-end. URL-encoded strings may also be invalid in other back-ends.
> In my testing, Org generates an ugly anchor even if the dedicated
> target text is just "Target".
"org-XXX" is not "ugly", but functional :)
> The current behavior does not harm my current use cases, but I looks to
> me it would be simple to improve (for someone familiar with the
> codebase) and help some users.
Note that the current behaviour was implemented as an improvement over
the previous solution, to help some users. You may want to dig into the
mailing list archives about it. IIRC, it started out when a Chinese user
reported an issue with targets.
LaTeX back-end uses `org-latex-prefer-user-labels'. HTML could use
a similar mechanism but no one bothered implementing it yet. In any
case, Org provides a robust default solution. I think it is a reasonable
expectation as a default.
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2019-08-18 15:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-27 23:35 CUSTOM_ID vs ID Nathan Neff
2019-07-28 8:10 ` Nicolas Goaziou
2019-07-29 4:23 ` David Masterson
2019-07-29 6:38 ` Nicolas Goaziou
2019-08-02 4:54 ` David Masterson
2019-07-30 0:38 ` Nathan Neff
2019-08-01 7:55 ` Richard Lawrence
2019-08-09 11:13 ` Adam Porter
2019-08-02 14:53 ` Nathan Neff
2019-08-09 11:12 ` Adam Porter
2019-08-18 0:53 ` Jorge P. de Morais Neto
2019-08-18 10:40 ` Nicolas Goaziou
2019-08-18 14:24 ` Jorge P. de Morais Neto
2019-08-18 15:05 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d0h23462.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=jorge+list@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).