Re: [O] org-file-apps regex matching against path not link

2018-04-14 Thread Frankie Y. Liu
, 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. > > > >

Re: [O] org-file-apps regex matching against path not link

2018-04-12 Thread Frankie Y. Liu
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

[O] org-file-apps regex matching against path not link

2018-04-12 Thread Frankie Y. Liu
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