Re: org-store-link and help for a key

2021-04-27 Thread Nicolas Goaziou
Maxim Nikulin writes: > On 27/04/2021 22:52, Nicolas Goaziou wrote: >> Maxim Nikulin writes: >>> My expectation is to get >>> link to org-beginning-of-line if help is invoked from an org buffer >>> and link to beginning-of-line if I came to the help page from some >>> other file. >> I did this

Re: org-store-link and help for a key

2021-04-27 Thread Maxim Nikulin
On 27/04/2021 22:52, Nicolas Goaziou wrote: Maxim Nikulin writes: My expectation is to get link to org-beginning-of-line if help is invoked from an org buffer and link to beginning-of-line if I came to the help page from some other file. I did this on master. I only tested it lightly.

Re: org-store-link and help for a key

2021-04-27 Thread Nicolas Goaziou
Hello, Maxim Nikulin writes: > On 27/04/2021 21:25, Bastien wrote: >> Even though storing links to help buffers describing key bindings is >> tempting, there is no way to recreate such buffers only based on the >> key string, because keys are contextual. >> In org-mode, C-h k C-a will describe

Re: org-store-link and help for a key

2021-04-27 Thread Maxim Nikulin
On 27/04/2021 21:25, Bastien wrote: Even though storing links to help buffers describing key bindings is tempting, there is no way to recreate such buffers only based on the key string, because keys are contextual. In org-mode, C-h k C-a will describe org-beginning-of-line while in other modes

Re: org-store-link and help for a key

2021-04-27 Thread Bastien
Hi Maxim and Ihor, Ihor Radchenko writes: >> Such behavior exists for ages, at least since 8.2.10 till current master. > > I can reproduce this. > > The reason of error is simple: help buffers for key combinations where > not considered when writing help: link type. > Current code does not even

Re: org-store-link and help for a key

2020-09-14 Thread Ihor Radchenko
> Ihor, if you add a "X-Woof-Bug: confirmed" header to your reply, your > message will make it through https://updates.orgmode.org - I'm adding > this header to this very message as an example. Noted. Bastien writes: > Thanks Maxim for reporting this... > > Ihor Radchenko writes: > >>> Such

Re: org-store-link and help for a key

2020-09-13 Thread Bastien
Thanks Maxim for reporting this... Ihor Radchenko writes: >> Such behavior exists for ages, at least since 8.2.10 till current master. > > I can reproduce this. ... and Ihor for reproducing/confirming the bug. Ihor, if you add a "X-Woof-Bug: confirmed" header to your reply, your message will

Re: org-store-link and help for a key

2020-09-09 Thread Ihor Radchenko
ers describing key sequences. Show error when trying to store such link instead 2. Write proper handlers for storing and following links to help buffers other than just function/variable help (in addition to key sequence help buffers, org-store/follow-link also fails to work with describe-f

org-store-link and help for a key

2020-09-09 Thread Maxim Nikulin
Either I missed something obvious or org-store-link from a help page for a keystroke works incorrectly Let's try to save a link to the *keystroke* help for e.g. org-insert-link: 1. Open help page with =C-h k C-c C-l= 2. Switch to the help buffer =C-x o= 3. Store link =M-x org-store-link RET=