From: Ihor Radchenko <yantar92@posteo.net>
To: Pablo Aguado <aguadopd@hotmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [BUG] Exporting to text fails when there are broken links
Date: Wed, 24 Apr 2024 12:47:23 +0000 [thread overview]
Message-ID: <87cyqfdj1g.fsf@localhost> (raw)
In-Reply-To: <SA1P223MB070291E02E95707C31342244C2102@SA1P223MB0702.NAMP223.PROD.OUTLOOK.COM>
Pablo Aguado <aguadopd@hotmail.com> writes:
> #+NAME: source-broken-links-mark
> #+begin_src org
> ,#+OPTIONS: broken-links:mark
>
> ,* Some title
>
> ...
> 5. This [[{filename}test-nonexistent-file.org][link5]] is NOT exported correctly to text.
> #+end_src
>
> #+begin_src elisp :results output
> (org-src-to-text "source-broken-links-mark")
> #+end_src
>
> #+RESULTS:
> : [BROKEN LINK: {filename}test-nonexistent-file.org]
>
>
> NOTE THAT ONLY THE BROKEN LINK IS SHOWN HERE! BUT NOT THE REST OF THE TEXT.
Thanks for reporting!
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d6353b283
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
prev parent reply other threads:[~2024-04-24 12:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-24 3:37 [BUG] Exporting to text fails when there are broken links Pablo Aguado
2024-04-24 12:47 ` Ihor Radchenko [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=87cyqfdj1g.fsf@localhost \
--to=yantar92@posteo.net \
--cc=aguadopd@hotmail.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).