emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the right link using org-capture from the second level


From: Lukas C. Bossert
Subject: Re: How to get the right link using org-capture from the second level
Date: Wed, 26 Jun 2024 16:26:18 +0200
User-agent: Mozilla Thunderbird

I thought that `org-roam-node-insert` (`C-c n r i`) is doing that. It works fine when I use it with the default template or when I create a new node at toplevel of a file. My workflow is that I am working on a file (e.g. `house.org`) and then I want to add a reference to a person, for example the janitor of the house. So I am envoking C-c n r i and in case I don’t have the person in my database yet, Emacs asks me which template I want to use and I am selecting "p" for person. The entry for the janitor is correctly created in my file `persons.org` but in `house.org` the link is wrong, because I don’t get back the link to the janitor-node but to the file/node of `persons.org`. (Sorry, if this procedure was too obvious).




On 26.06.24 15:51, Ihor Radchenko wrote:
"Lukas C. Bossert" <mail@lukascbossert.de> writes:

Under the `* Persons` heading, I intend to list all individuals. I've
created a template that allows me to add people from any other file
using e.g. `C-c n r i`. This template also facilitates the creation of
new person entries on the fly, and ideally, it should add a link to the
person entry in the file I am currently working in.
...
Here is my template:
```

I do not see anything in your template that creates links.


--
Dr. Lukas C. Bossert
Bussardstraße 16
52134 Herzogenrath-Kohlscheid/Bank
mail@lukascbossert.de

OpenPGP Schlüssel: 405E2C3EEF751C8C8DF62F503BD814D140275138



reply via email to

[Prev in Thread] Current Thread [Next in Thread]