You can get essentially what you want with a custom org-link in org-9 or
later.
#+BEGIN_SRC emacs-lisp
(org-link-set-parameters
"wiki"
:follow (lambda (path) (find-file path))
:export (lambda (path description backend)
;; do this for all exports
(with-temp-buffer
On Thu, Sep 27, 2018 at 11:03 AM Nicolas Goaziou
wrote:
> As I said, link syntax is inadequate here. I still think what Org
> provides is enough.
>
+1. Also the proposed link syntax is too confusing with the existing and
also for a very corner use case. And then we need to worry about
ST writes:
> Aaa... I see. Actually I don't need it to be in the middle, only at
> column 0.
Then the link syntax is not adequate. What would you do if the triple
bracket horror is on the middle of the line?
> Starting with which version of Org? I have 8.2.10 and it doesn't seem to
> work
Hello,
ST writes:
> What do you mean by "inlined"?
Roughly, I mean "located within a paragraph".
> During an export such a link
> [[[dir/file]]] should be replaced with the content of the "file", and
> the link itself disappear. But in the source .org file it is just
> shorter/cleaner way to
> > What do you mean by "inlined"?
>
> Roughly, I mean "located within a paragraph".
>
> > During an export such a link
> > [[[dir/file]]] should be replaced with the content of the "file", and
> > the link itself disappear. But in the source .org file it is just
> > shorter/cleaner way to
On Thu, 2018-09-27 at 13:58 +0200, Nicolas Goaziou wrote:
> Hello,
>
> ST writes:
>
> > it would be nice to be able to make URIs to INCLUDEd files clickable. In
> > order to make them also lightweight, readable and corresponding to
> > current link syntax, I would suggest the following:
> >
> >
Hello,
ST writes:
> it would be nice to be able to make URIs to INCLUDEd files clickable. In
> order to make them also lightweight, readable and corresponding to
> current link syntax, I would suggest the following:
>
> [[[dir/file]]]
> [[[dir/file]] :lines "5-10"]
> [[[dir/file][My file]]
Hello,
it would be nice to be able to make URIs to INCLUDEd files clickable. In
order to make them also lightweight, readable and corresponding to
current link syntax, I would suggest the following:
[[[dir/file]]]
[[[dir/file]] :lines "5-10"]
[[[dir/file][My file]] :lines "5-10"]
as clickable,