, Nicolas Goaziou
wrote:
> Hello,
>
> "Frankie Y. Liu" writes:
>
> > For:
> >
> > \\.pdf:\\([0-9]+\\)\\'
>
> You forgot a colon.
>
> > [0-9]+ vs \d+ same issue, since the path not the link is being
> > matched.
> >
> >
r 12, 2018 at 12:38 PM, Nicolas Goaziou
wrote:
> Hello,
>
> "Frankie Y. Liu" writes:
>
> > I wanted to open a pdf at a particular page, the instructions under
> > org-file-apps suggested using
> >
> > (add-to-list 'org-file-apps '("\\.p
I wanted to open a pdf at a particular page, the instructions under
org-file-apps suggested using
(add-to-list 'org-file-apps '("\\.pdf::\\(\\d+\\)\\'" . "evince -p %1 %s"))
This doesn't work because the regular expression doesn't parse the link but
the path. Therefore the ::(\d+) part is not be