[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] coderef does not provide file path for org-insert-link when not
From: |
stardiviner |
Subject: |
Re: [O] coderef does not provide file path for org-insert-link when not in original buffre |
Date: |
Sun, 24 Jun 2018 17:10:15 +0800 |
User-agent: |
mu4e 1.1.0; emacs 27.0.50 |
I just toke a look at the source code of `org-store-link'. I think it's
possible to implement it. I will take a try.
Might need to add support in `org-open-at-point` [C-c C-o].
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> stardiviner <address@hidden> writes:
>
>> `org-insert-link` should be smart on decide whether current buffer is the
>> same buffer with `org-store-link` source buffer, if yes, use [[(set the temp
>> buffer to unibyte)]]. If no, use:
>>
>> [[file:~/Org/elquery.org::(set%20the%20temp%20buffer%20to%20unibyte)][(set
>> the temp buffer to unibyte)]]
>>
>> WDYT?
>
> It sounds like a good idea. Do you want to implement it?
>
> Regards,
--
[ stardiviner ] don't need to convince with trends.
Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3