[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ANSWERED] Re: [BUG] (org-element-context) on some link does not return
From: |
Christopher M. Miles |
Subject: |
[ANSWERED] Re: [BUG] (org-element-context) on some link does not return search-option correctly |
Date: |
Sun, 21 Nov 2021 16:15:22 +0800 |
User-agent: |
mu4e 1.7.0; emacs 28.0.60 |
Ihor Radchenko <yantar92@gmail.com> writes:
> "Christopher M. Miles" <numbchild@gmail.com> writes:
>
>> When I put point on an custom org link:
>>
>> #+begin_src org
>> [[pdf:~/Org/Wiki/Computer Technology/Programming/Programming
>> Languages/Clojure/data/Books/Clojure
>> 经典实例.pdf::40++0.00][Clojure经典实例.pdf: Page 40]]
>> #+end_src
>> ...
>> You can see the result ~:search-option nil~. It suppose to be ~40++0.00~.
>
> AFAIK, only file: links are parsed to have search-option.
>
> If you want a custom link type to have search-option property, you
> should use link abbrev.
I see. Thanks, I will use other code way to parse the :search-option value.
--
[ stardiviner ]
I try to make every word tell the meaning that I want to express.
Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
signature.asc
Description: PGP signature