emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kiwon Um <um.kiwon@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Incompatible changes regarding link
Date: Fri, 6 Dec 2019 21:55:24 +0100	[thread overview]
Message-ID: <CAKBDj42f=NOSrHaHpFww7q0hjjgWQ4crGWa+-T90pcYXxeA2iw@mail.gmail.com> (raw)
In-Reply-To: <87o8wlw5wa.fsf@nicolasgoaziou.fr>

Hello,

Thank you for the reply.

On Fri, Dec 6, 2019 at 9:33 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Kiwon Um <um.kiwon@gmail.com> writes:
>
> > I just noticed that the recent updates regarding the bracket link escaping syntax seem to have an issue.
> >
> > Does anybody happen to know how to put a pair of [] around a link without using "zero width space" or something similar?
> > For example,
> > [[[https://somewhere-to-url][My Link]]] does not succeed in exporting to HTML showing "Unable to resolve link: "[https://somewhere-to-url"".
>
> I don't see any issue here. The "zero width space" is exactly for that
> situation.
> But, honestly, the fact that it worked differently in the past is the
> real issue. The current interpretation is correct.

I didn't know what the issue in the past interpretation was, but I am
just not sure whether it's a good idea to enforce that we must use
such a special character, which we cannot directly see from the
editor.

> > [[https://somewhere-to-url][[My Link]]] is not properly exported; the
> > closing bracket "]" is not included in the exported link.
>
> This looks like a different problem. If you want to include the
> brackets, you need to escape them, as explained in the ORG-NEWS
> document, or in the manual:
>
>   [[https://somewhere-to-url][\[My Link\]]]

Unfortunately, this doesn't work either.
[[https://www.youtube.com/][\[You Tube\]]] is exported as <a
href="https://www.youtube.com/">\[You Tube\</a>]

Regards,
Kiwon

  reply	other threads:[~2019-12-06 20:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-06 15:35 Incompatible changes regarding link Kiwon Um
2019-12-06 20:33 ` Nicolas Goaziou
2019-12-06 20:55   ` Kiwon Um [this message]
2019-12-06 21:10     ` Nicolas Goaziou
2019-12-06 21:45       ` Kiwon Um

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='CAKBDj42f=NOSrHaHpFww7q0hjjgWQ4crGWa+-T90pcYXxeA2iw@mail.gmail.com' \
    --to=um.kiwon@gmail.com \
    --cc=emacs-orgmode@gnu.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).