-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using denote with radio target <<<[[denote:IDENTIFIER][DESCRIPTION]]>>> ? #262
Comments
Hello @reyman! I need to refresh my knowledge of Org radio targets. I think it should be possible, but I must double-check. When do you need this though? Even if we make the change now, it will take a while before it is available on GNU ELPA. I will publish the next version in a few weeks. Maybe in April. |
Great ! No problem, April is perfect, this feature doesn't block me to build a wiki with manual link around the different interviews. |
Radio targets work within a single Org file.
|
Yeah you're right @nobiot, at this scale it works well using your snippet. But, i think about that all this day, and i need to refine my problem. A function that do some sort of "search and replace" in the text based on the content of the description in denote [[link][description]] could be more useful in my case. Advantage of this approach, no need to maintain a list of regex, and link are write in hard in the text. The inverse function could also be useful, removing all links in the text based on description. |
Indeed. The issue we have here is that radio links are pointers in the current file. There is no mechanism to extend them. Perhaps you @reyman can use the new feature is
I think I follow you, but just to be sure: can you show how you imagine the file will change? Like have a before and after for comparison? I do not know if we can do something on this front, because it will not be standard Org. But we may write some snippet in the manual. |
Yes ! This is a good proxy in a first approach. I need to look a new time the video to see if i understand well, and after that i will test.
Before :
Command : After :
Command :
That will be an interesting function to simplify the work for wiki creator :) |
@reyman @protesilaos , you two have moved on with an idea, so I won't dwell too long on this issue. But let me part with a couple of notes, which may be relevant with this topic of radio targets and wiki creator.
It would be easy to have Denote code to let radio targets to automatically jump to the note the denote link points to. For the user, the link works as if you go like this:
when technically the code jumps and hops like this:
Just a thought. |
@nobiot Thanks for all this hard work 💯 👍 , and for all your packages in general ! Both solution are really interesting for a wiki use case. |
I think you are right about team collaborative editing being a weak spot for Org and, perhaps, Emacs in general. But if the goal is to work with others who do not use Emacs, I would probably just use Markdown and a Edit: Apologies. The last comment about Markdown does not help you achieve what you are pursuing. Please disregard it. Sorry for the noise I caused. |
I checked again: the radio targets are not easy to extend. We cannot implement this feature right now. Closing, thank you! |
@protesilaos Ok for <<>> but do you think a simple snippet like described in the quoted previous discussion would be feasible ? I could open a new issue if you want. |
Hi,
I'm interested to rewrite some long interview using Denote linking functionalities. There are lot of names/surnames that appear and i'm interested to automatically replace occurences of the word by corresponding denote link indicated by an org radio target <<<>>>, like a wiki permit.
If i take an example with a famous book from Darwin, a similar use case finally :
Everywhere
beagle
appear in the text, radio-target, or another function from denote replace by the same link to[[denote:20240118T060608][beagle]]
Do you thinks it's possible with Denote ?
The text was updated successfully, but these errors were encountered: