emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: PDF Export of Link fails (emphasis ends inside link target)
Date: Sun, 19 Sep 2021 19:11:44 +0700	[thread overview]
Message-ID: <si79e1$10bj$1@ciao.gmane.io> (raw)
In-Reply-To: <sgtd55$16os$1@ciao.gmane.io>

On 03/09/2021 21:57, Maxim Nikulin wrote:
> 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>
> 
> `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.

Maybe additional undo step while adding link is enough to alleviate the 
issue with false positives (similar to autoreplace patterns in text 
processors). If a user notices that additional markers are added 
incorrectly, she can remove them through undo. Next undo removes the 
inserted link completely.



      reply	other threads:[~2021-09-19 12:13 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
2021-09-19 12:11       ` Max Nikulin [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='si79e1$10bj$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).