emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Maxim Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: PDF Export of Link fails (emphasis ends inside link target)
Date: Fri, 3 Sep 2021 21:57:39 +0700	[thread overview]
Message-ID: <sgtd55$16os$1@ciao.gmane.io> (raw)
In-Reply-To: <87lf4dbud9.fsf@gmail.com>

On 03/09/2021 21:33, Timothy wrote:
> 
> Perhaps a “fix” could be auto-escaping problematic characters in urls when
> entering links via `org-insert-link'.
> 
> [/query/] <https://orgmode.org/?q=query>

Just to be clear: while comma may be percent-escaped (`org-lint' perhaps 
would not be happy), "/?" are interpreted by HTTP server, so such 
characters must be preserved.

`org-insert-link' still may detect emphasis markers around the point and 
add extra marks. Unfortunately heuristics to detect start marker only 
(while typing text when no end marker yet) will be prone to false positives.




  reply	other threads:[~2021-09-03 14:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03  5:17 Bug: PDF Export of Link fails [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)] Dr. Arne Babenhauserheide
2021-09-03  8:24 ` Timothy
2021-09-03  9:18   ` Ihor Radchenko
2021-09-03  8:30 ` Timothy
2021-09-03 14:18 ` Bug: PDF Export of Link fails (emphasis ends inside link target) Maxim Nikulin
2021-09-03 14:33   ` Timothy
2021-09-03 14:57     ` Maxim Nikulin [this message]
2021-09-19 12:11       ` Max Nikulin

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='sgtd55$16os$1@ciao.gmane.io' \
    --to=manikulin@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).