Re: Auto-activate new <<>>

2021-02-08 Thread Kyle Meyer
Adam Sneller writes: > Thanks John! It looks like there is also an org-activate-target-links > which may narrow the field a bit. Here is what I have so far: > > (defadvice org-activate-target-links (after ad-update-target-links ()) > "Activate radio target links as soon as a new target is

Re: Auto-activate new <<>>

2021-02-08 Thread Adam Sneller
Thanks John! It looks like there is also an org-activate-target-links which may narrow the field a bit. Here is what I have so far: (defadvice org-activate-target-links (after ad-update-target-links ()) "Activate radio target links as soon as a new target is created." (lambda ()

Re: Auto-activate new <<>>

2021-02-08 Thread John Kitchin
I guess the place to do it is with an advice on org-activate-links. Maybe a simple after advice would do. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803

Re: Auto-activate new <<>>

2021-02-07 Thread Kyle Meyer
Adam Sneller writes: > I want to call org-update-radio-target-regexp as soon as org-mode > recognises a new <<>> has been created (which seems to > happen as soon as the third ">" is typed). > > What hook can I use to get this done? I'm not spotting any hook that could be used for this. The

Auto-activate new <<>>

2021-02-07 Thread Adam Sneller
I want to call org-update-radio-target-regexp as soon as org-mode recognises a new <<>> has been created (which seems to happen as soon as the third ">" is typed). What hook can I use to get this done? Adam Sneller – CCO MS2 Digital 20 Old Bailey, St Paul's, ​London EC4M 7AN