Re: [Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Ihor Radchenko
Lei Zhe writes: > Sorry, it was [[attachment:example.pdf::2]]. > The lint for [[file:example.pdf::2]] is fine, since > org-element-context returns the raw path without the search option. > However, this is not the case for [[attachment:example.pdf::2]]. I can reproduce this one. Applied, onto bu

Re: [Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Lei Zhe
Sorry, it was [[attachment:example.pdf::2]]. The lint for [[file:example.pdf::2]] is fine, since org-element-context returns the raw path without the search option. However, this is not the case for [[attachment:example.pdf::2]]. On Sun, Jan 19, 2025 at 5:57 PM Ihor Radchenko wrote: > > Lei Zhe

Re: [Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Ihor Radchenko
Lei Zhe writes: > For the link [[file:example.pdf::2]], org-lint identifies it as an invalid > link. > This patch aims to address the issue. I am unable to reproduce this problem. M-x org-lint does not show any warning after I change the link to point to an existing file. I tested on the lates

[Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Lei Zhe
For the link [[file:example.pdf::2]], org-lint identifies it as an invalid link. This patch aims to address the issue. 0001-Check-local-file-link-ignoring-path-option.patch Description: Binary data