I quietly followed the conversation. Thank you for the advice.
On Wed, Apr 27, 2022 at 9:06 AM Ignacio Casso
wrote:
>
> Ihor Radchenko writes:
>
> > Ignacio Casso writes:
> >
> >>> A better approach could be using org-link-expand-abbrev. It is an API
> >>> function and should be forward-compa
Ihor Radchenko writes:
> Ignacio Casso writes:
>
>>> A better approach could be using org-link-expand-abbrev. It is an API
>>> function and should be forward-compatible.
>>
>> Do you mean something like this?
>>
>> (defun org-open-at-point-global ()
>> ...
>> (cond ((org-in-regexp org-
Ignacio Casso writes:
>> A better approach could be using org-link-expand-abbrev. It is an API
>> function and should be forward-compatible.
>
> Do you mean something like this?
>
> (defun org-open-at-point-global ()
> ...
> (cond ((org-in-regexp org-link-any-re)
> (org-link-open
>> (cond ((org-in-regexp org-link-any-re)
>>(let ((org-link-abbrev-alist
>> (append org-link-abbrev-alist org-link-abbrev-alist-local)))
>> (org-link-open-from-string (match-string-no-properties 0
>> ...)
>> ...
>> What do you think?
>
> I do not like this id
Ignacio Casso writes:
> I agree that changing the current behavior of
> `org-link-open-from-string' may be problematic, however I don't think
> that it's worth to introduce the optional argument just for this
> "bug".
Makes sense. I am going ahead of what is currently on main.
> (cond ((org-in
Ihor Radchenko writes:
> Ignacio Casso writes:
>
>> So a simple solution to this would be preserving the value of
>> `org-link-abbrev-alist-local' when switching to the temporal buffer. I
>> think this is orthogonal to the issue of the parser, and it's a bug on
>> its own, since as a user I wo
Ignacio Casso writes:
> Actually, I have investigated a little bit and I think the issue is more
> simple
> than that:
>
> - Link abbreviations rely in the variables `org-link-abbrev-alist' for
> global abbreviations and `org-link-abbrev-alist-local' for
> abbreviations defined with #+LINK f
Ihor Radchenko writes:
> Ignacio Casso writes:
>
>> Link abbreviations do not work inside property drawers and are instead
>> confused with internal links. The following org file illustrates this
>> behavior.
>
> This is to be expected. org-open-at-point does the following:
>
>;; No va
Ignacio Casso writes:
> Link abbreviations do not work inside property drawers and are instead
> confused with internal links. The following org file illustrates this
> behavior.
This is to be expected. org-open-at-point does the following:
;; No valid link at point. For convenience, lo
Hello,
Link abbreviations do not work inside property drawers and are instead
confused with internal links. The following org file illustrates this
behavior.
#+LINK: org-manual https://orgmode.org/manual/
* Heading
:PROPERTIES:
:myprop: [[org-manual:Hyperlinks.html]]
:END:
- Opening thi
10 matches
Mail list logo