[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG] (org-element-context) on some link does not return search-option c
From: |
Christopher M. Miles |
Subject: |
[BUG] (org-element-context) on some link does not return search-option correctly |
Date: |
Sat, 20 Nov 2021 19:13:45 +0800 |
User-agent: |
mu4e 1.7.0; emacs 28.0.60 |
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
Then press =[M-: (org-element-context) RET]= to get link element properties. I
got:
#+begin_example
(link (:type "pdf" :path "~/Org/Wiki/Computer
Technology/Programming/Programming
Languages/Clojure/data/Books/Clojure经典实例.pdf::40++0.00" :format bracket
:raw-link "pdf:~/Org/Wiki/Computer Technology/Programming/Programming
Languages/Clojure/data/Books/Clojure经典实例.pdf::40++0.00" :application nil
:search-option nil ...))
#+end_example
You can see the result ~:search-option nil~. It suppose to be ~40++0.00~.
I tested with other link like this:
#+begin_src org
[[file:hs_err_pid20491.log::kkk+2]]
#+end_src
It returns ~:search-option~ correctly:
#+begin_example
(link (:type "file" :path "hs_err_pid20491.log" :format bracket :raw-link
"file:hs_err_pid20491.log::kkk+2" :application nil :search-option "kkk+2" ...))
#+end_example
--
[ 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
- [BUG] (org-element-context) on some link does not return search-option correctly,
Christopher M. Miles <=