* Bug: links to filename containing word "loops" fail to export
@ 2020-08-15 14:29 Jarmo Hurri
2020-08-16 10:04 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Jarmo Hurri @ 2020-08-15 14:29 UTC (permalink / raw)
To: emacs-orgmode
* Links to files containing the word ~loops~ are not exported
** What is the problem?
It seems that if a link to a file contains the word ~loops~,
it is not exported at all.
** How to replicate
1. Save this org into file =org-loops-in-link.org=
2. Save the following elisp into =minimal-org.el=, replacing the
location of org mode with your path:
#+begin_src elisp
(add-to-list 'load-path (expand-file-name "~/src/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name "~/src/org-mode/contrib/lisp" t))
#+end_src
3. Open this file with
#+begin_src sh
emacs -Q -l minimal-org.el org-loops-in-link.org
#+end_src
4. Export to latex as a PDF file and open (C-c C-e l o), observing
missing items when the list below is exported:
- [[file:loopy.org]]
- [[file:loops.org]]
- [[file:loopz.org]]
- [[file:some-loops.org]]
- [[file:some-loopz.org]]
** My org and emacs versions
- Org mode version 9.3.7 (release_9.3.7-708-g5417e3)
- GNU Emacs 26.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: links to filename containing word "loops" fail to export
2020-08-15 14:29 Bug: links to filename containing word "loops" fail to export Jarmo Hurri
@ 2020-08-16 10:04 ` Nicolas Goaziou
2020-08-16 10:30 ` Jarmo Hurri
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2020-08-16 10:04 UTC (permalink / raw)
To: Jarmo Hurri; +Cc: emacs-orgmode
Hello,
Jarmo Hurri <jarmo.hurri@iki.fi> writes:
> * Links to files containing the word ~loops~ are not exported
> ** What is the problem?
> It seems that if a link to a file contains the word ~loops~,
> it is not exported at all.
> ** How to replicate
> 1. Save this org into file =org-loops-in-link.org=
> 2. Save the following elisp into =minimal-org.el=, replacing the
> location of org mode with your path:
>
> #+begin_src elisp
> (add-to-list 'load-path (expand-file-name "~/src/org-mode/lisp"))
> (add-to-list 'load-path (expand-file-name "~/src/org-mode/contrib/lisp" t))
> #+end_src
>
> 3. Open this file with
>
> #+begin_src sh
> emacs -Q -l minimal-org.el org-loops-in-link.org
> #+end_src
>
> 4. Export to latex as a PDF file and open (C-c C-e l o), observing
> missing items when the list below is exported:
> - [[file:loopy.org]]
> - [[file:loops.org]]
> - [[file:loopz.org]]
> - [[file:some-loops.org]]
> - [[file:some-loopz.org]]
Fun bug. This should be fixed (make sure to start from the new value for
org-latex-inline-image-rules if you customized it).
Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: links to filename containing word "loops" fail to export
2020-08-16 10:04 ` Nicolas Goaziou
@ 2020-08-16 10:30 ` Jarmo Hurri
0 siblings, 0 replies; 3+ messages in thread
From: Jarmo Hurri @ 2020-08-16 10:30 UTC (permalink / raw)
To: emacs-orgmode
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>> * Links to files containing the word ~loops~ are not exported
>
> Fun bug.
Indeed! Had to take a second cup of coffee before I believed my eyes.
> This should be fixed
Seems to be working now, thank you very much.
All the best, and stay safe.
Jarmo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-16 10:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-15 14:29 Bug: links to filename containing word "loops" fail to export Jarmo Hurri
2020-08-16 10:04 ` Nicolas Goaziou
2020-08-16 10:30 ` Jarmo Hurri
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).