Re: overlap between cite syntax and link activation

2022-04-24 Thread Nicolas Goaziou
Hello, Ihor Radchenko writes: > A quick temporary fix could be like the attached. I don't think this is sufficient. As demonstrated by John Kitchin in its message from April 4, plain link with type "bare" bare:@key matches [cite/noauthor/bare:@key] > Or checking (org-element-context) in

Re: overlap between cite syntax and link activation

2022-04-24 Thread Ihor Radchenko
Nicolas Goaziou writes: >> It's the second of the two stoppers that John identified. >> >> He seems to have reported a related issue last August, but it slipped >> through the cracks. >> >> https://lists.gnu.org/archive/html/emacs-orgmode/2021-08/msg00303.html > A long-term solution would be to

Re: overlap between cite syntax and link activation

2022-04-22 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > Nicolas (or Ihor?) - can you take a look at this too? > > It's the second of the two stoppers that John identified. > > He seems to have reported a related issue last August, but it slipped > through the cracks. > > https://lists.gnu.org/archive/html/emacs-orgmod

Re: overlap between cite syntax and link activation

2022-04-22 Thread Bruce D'Arcus
Nicolas (or Ihor?) - can you take a look at this too? It's the second of the two stoppers that John identified. He seems to have reported a related issue last August, but it slipped through the cracks. https://lists.gnu.org/archive/html/emacs-orgmode/2021-08/msg00303.html On Sun, Apr 3, 2022 a

Re: overlap between cite syntax and link activation

2022-04-03 Thread Bruce D'Arcus
On Sun, Apr 3, 2022 at 7:46 PM John Kitchin wrote: ... > When I put my cursor on the org-cite line and press spc, I see a message box > pop up, and the @key has a tooltip of "BARE LINK". > Does anyone else see this? Yes; I see the same thing with your example. Bruce

overlap between cite syntax and link activation

2022-04-03 Thread John Kitchin
I think there is some overlap between the org-cite syntax and org-link activation. Consider this org-cite: [cite/noauthor/bare:@key] Now define this link: #+BEGIN_SRC emacs-lisp (org-link-set-parameters "bare" :help-echo "BARE LINK" :activate-func (lambda (start end path _bracketp) (message-bo