From: "Lukas C. Bossert" <mail@lukascbossert.de>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to get the right link using org-capture from the second level
Date: Wed, 26 Jun 2024 16:26:18 +0200 [thread overview]
Message-ID: <07e5d3ac-d98b-4b24-8f2f-a18af2c6cacf@lukascbossert.de> (raw)
In-Reply-To: <87o77ndd78.fsf@localhost>
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
next prev parent reply other threads:[~2024-06-26 14:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-25 18:31 How to get the right link using org-capture from the second level Lukas C. Bossert
2024-06-26 13:51 ` Ihor Radchenko
2024-06-26 14:26 ` Lukas C. Bossert [this message]
2024-06-26 14:35 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=07e5d3ac-d98b-4b24-8f2f-a18af2c6cacf@lukascbossert.de \
--to=mail@lukascbossert.de \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.