From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>,
John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Re: org link to OCaml comment
Date: Fri, 07 Feb 2020 15:33:49 +0100 [thread overview]
Message-ID: <874kw21n76.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87pnersh08.fsf@polytechnique.org> (Alan Schmitt's message of "Thu, 06 Feb 2020 19:33:11 +0100")
Hello,
Alan Schmitt <alan.schmitt@polytechnique.org> writes:
> Thank you for the explanation. Is there a way to either escape the
> parentheses (maybe url-encode them),
*shivers* Please never suggest again url-encoding links in Org! ;) We
only got out of this hell recently. I don't want to dive in again.
> or to automatically not include the closing one as you suggest when
> creating the link?
There is some specific syntax in links. More specifically, the
following are meaningful:
- a star at the beginning of the link (or search option)
- a hash at the beginning of the link
- forward slashes around the link
- parenthesis around the link
I think that `org-store-link' should be careful about it and prevent
these pathological cases if necessary.
In any other situation, however, I think the user is responsible for
not using these specific constructs.
WDYT?
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2020-02-07 14:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-06 14:47 org link to OCaml comment Alan Schmitt
2020-02-06 14:58 ` John Kitchin
2020-02-06 15:39 ` Alan Schmitt
2020-02-06 17:10 ` Nicolas Goaziou
2020-02-06 18:33 ` Alan Schmitt
2020-02-07 14:33 ` Nicolas Goaziou [this message]
2020-02-07 15:25 ` Alan Schmitt
2020-02-19 17:49 ` Nicolas Goaziou
2020-02-20 8:20 ` Alan Schmitt
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=874kw21n76.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
--cc=jkitchin@andrew.cmu.edu \
/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).