emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Frankie Y. Liu
Subject: Re: [O] org-file-apps regex matching against path not link
Date: Sat, 14 Apr 2018 07:05:54 -0700

Hi Nicolas,

Sorry I mistyped in the message, I did have two colons when trying it out.  I will look into the
function you pointed out.

When you said you cannot reproduce it, does that mean it works/matches for you?

I am using Emacs 25.3.5 and org-20180226

-f

On Sat, Apr 14, 2018 at 12:42 AM, Nicolas Goaziou <address@hidden> wrote:
Hello,

"Frankie Y. Liu" <address@hidden> writes:

> For:
>
> \\.pdf:\\([0-9]+\\)\\'

You forgot a colon.

> [0-9]+ vs \d+ same issue, since the path not the link is being
> matched.
>
> Example:
> file:foo.pdf::1 will be matching on file:foo.pdf and the ::1 is
> dropped.


I cannot reproduce it here. The function
`org-file-apps-entry-match-against-dlink-p' is responsible for deciding
if a link needs to be matched in full, or not.

Regards,

--
Nicolas Goaziou                                                0x80A93738


reply via email to

[Prev in Thread] Current Thread [Next in Thread]