emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Tom Alexander" <tom@fizz.buzz>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Inconsistent formatting when terminating bold inside a link [9.3 (release_9.3 @ /usr/share/emacs/27.0.91/lisp/org/)]
Date: Tue, 23 Jun 2020 15:57:16 +0200	[thread overview]
Message-ID: <87lfkdx4ub.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <ef398386-2d64-4c57-b63a-74b688f64e0b@www.fastmail.com> (Tom Alexander's message of "Sun, 21 Jun 2020 18:56:22 -0400")


"Tom Alexander" <tom@fizz.buzz> writes:

> When you have a section of bold text that ends inside a link, for example:
>   *can you [[http://foo.bar/][terminate *bolds* inside]] links*
> Inside emacs it bolds the text "can you terminate bolds" and represents "terminate *bolds* inside" as a link, but if you export to any non-text format (I tested html, LaTeX to PDF, and ODT) then it breaks the link exporting the raw org-mode link syntax.
> Expected behavior: I see three options. 

There is only one option, per Org syntax.

> 3. or the emacs rendering can be updated to accurately reflect the
> link being broken as it currently is in the exported output.

The link is broken. The fontification is at fault here. This is because
its implementation cannot understand fully the syntax(!). So, you'll
encounter some glitches like this one from time to time.

Patches welcome, of course. However, the fontification will never be
perfect unless its internals are rewritten.

Nicolas Goaziou

      reply	other threads:[~2020-06-23 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-21 22:56 Bug: Inconsistent formatting when terminating bold inside a link [9.3 (release_9.3 @ /usr/share/emacs/27.0.91/lisp/org/)] Tom Alexander
2020-06-23 13:57 ` 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:

  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=87lfkdx4ub.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=tom@fizz.buzz \


* 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


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).