From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KBGvDTglfGYHWQEAe85BDQ:P1 (envelope-from ) for ; Wed, 26 Jun 2024 14:27:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KBGvDTglfGYHWQEAe85BDQ (envelope-from ) for ; Wed, 26 Jun 2024 16:27:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lukascbossert.de header.s=strato-dkim-0002 header.b=SOgd7Res; dkim=fail ("headers eddsa verify failed") header.d=lukascbossert.de header.s=strato-dkim-0003 header.b=UaI39aGk; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719412024; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature:autocrypt:autocrypt; bh=ycDsTS22Pw6r+WtJFar+b7kRDbAtoMuwYRQDICcN5Go=; b=nqhI0MMFnApCQWDN7FD3ENbjX8gKL1aHj9dPEisFFQ+QvhuVtJ92aFxEmiklDdMmdqoo86 QJJsNMgp+GsBw7zEKyMwIA5ISrfxS7BdkG8XYA4G9ytfpmf9pxBC44ii+48USx96XRmXgk Y8c6ke/lRgNbrLdYzEUm3aOG3NtWifkzRsrno+EWI/jIbWpCoX0W1soxBhDpfYIMfppr3I sAg+X34VNJkTWokP2w45RhB/uH0TPGhQzUeN8zlReIyfvNCiFDlJEzcZ3xgnVIBZjm9WyD GRVQRo6TY05boaPee8ZriC/kSIx94By0qP9ibxYC1FsmTTAwlZ4tPQYtdKiPKw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lukascbossert.de header.s=strato-dkim-0002 header.b=SOgd7Res; dkim=fail ("headers eddsa verify failed") header.d=lukascbossert.de header.s=strato-dkim-0003 header.b=UaI39aGk; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1719412024; a=rsa-sha256; cv=fail; b=XTVgXMc6itP0PCG1vGyljv6qp80wrUJN6V1CisWzOxuXGj3C4bPtpHSY8+QPCL/hWmTNXt B7NRHUtRggQ6L6uOD79Y4MJc24pOMHTIk3/DIM8ntFpQr5W6HlCeHbqWHiE9qmJ+PD0cn+ PVnyGzonXWVDVjTIje9jv40QqBd4B/TPwuBWLeW5E+Xd7JRGQsFZ3/UguBVg08Zr8u8jCA Efmbpy8+9ocIvUdhuY1h4yBhX+syxjrPvjC3ffeNiM0OzQ0tDqtLdCzgkBdZLGgTDYclSk jQI6hdg7ticjiwWS0A6icP7vVGAllJbZDB4iEsNzz7vpKl5UN+x+nBp0Sb9i7w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CC2F36C765 for ; Wed, 26 Jun 2024 16:27:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMTbQ-0003MX-Px; Wed, 26 Jun 2024 10:26:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMTbO-0003M9-Bj for emacs-orgmode@gnu.org; Wed, 26 Jun 2024 10:26:26 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.219]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMTbM-0000Dy-C1 for emacs-orgmode@gnu.org; Wed, 26 Jun 2024 10:26:26 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1719411981; cv=none; d=strato.com; s=strato-dkim-0002; b=rKqeHDEQ7M+4B3btQYc2Gi3dMnUObLrPmF3JASSMWNYJbxcE4rdwZ34EkCa5QOL8Dz oJG2+FzGxLD7yCsjOfAekZGIrrbgLh5wM45q1u0PXcxjJR8O3ql5JOxEY5VbhVcVx8US f+UFWAwfRWHewOwu10YU8UFyZypdhhwOClRlD+A4hBe6uhi6GMJCRvBBvR18Wm+dnIkq xYPjlw1moQ9N2lPIzL0g38wb0VtjdkQsWaPYSi1AP9qKuu5mbQpLnQKdsPH2/SYNmPgi eD6XNv4B5xgLTmeJd813SC8cqwAmfVylxqagxA53h9Nn4KQkfY0vKFvMkTkqSzrf6OWN sIwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1719411981; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:Cc:From:References:To:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=ycDsTS22Pw6r+WtJFar+b7kRDbAtoMuwYRQDICcN5Go=; b=odj4zTTzUzwjOpCbfAugYGfrPQEIFYWERQJGINZzFdCIm8sf2+dCYenp1fLHe1P3L5 lz8reL9dxKheef5xE5RG82qM/RqMYJ1StSFQVhmIZON6UqC8M81ookbXy+nq652Vhd9U HvMrjNtaz42qI/erjwOh2kOuQxpA/tir8dwinwgj7xD2Dk91ygI0rfg68/yJ49qhebwA d7Rs8yVS7mxrdrWsay5B96KuyKfTzmmu0TYrFb+uq9mfJeGTFI8KzoXTn3NU/8Sbm5IH WJTVM/MP7XKhEY6p/IeMm9UWAWIPNGwbwuGd3M/bE7zCliA+mKZ1Zvy2fRqIDZ6NsC5p lRDQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1719411981; s=strato-dkim-0002; d=lukascbossert.de; h=In-Reply-To:Cc:From:References:To:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=ycDsTS22Pw6r+WtJFar+b7kRDbAtoMuwYRQDICcN5Go=; b=SOgd7ResqgU1dJgknyqtzqEGItmq+M7JOPWpUf4MT1OZvEkNEnpOdRt9UHRpX4RBZX Hwf9AbGnlNOGWyQ5NRkBkS1UytfJPVNPBCls8vH8tRHJuqlcRd4j+yGzmK+IubIjAaW6 7rrNSvXjqmfNbjlWhhtkSJKlP3uLnqWdt7FXhusw1BknQ/XR5RPR7NjsfOiyyWMSBQEF Y348cwtweI6hA1r0HZip+uzw4NLM0USYobQ1D4fJ9djLvR9kGMpyaFXqaZCYyeynoPUR D6Mu3biokSbWVH9Bj4Cx9cDl3fDd/sPOuERctcNoo5jaYWHqiGlWifWB+IP+yyUkZ/WH Bweg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1719411981; s=strato-dkim-0003; d=lukascbossert.de; h=In-Reply-To:Cc:From:References:To:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=ycDsTS22Pw6r+WtJFar+b7kRDbAtoMuwYRQDICcN5Go=; b=UaI39aGko8oU1Ve38+wgNX2KFfk2IKb5NbS9+BxiXpHMHFWSqQwg7cyXtu7s825vr3 h9jj1sf8p99dDyqx9OBg== X-RZG-AUTH: ":IW0NeWCkbvRyjlU+jfhDFHqFha4lDEu2vAO5y7uIxm2SCN4GFKpcyjLgI2F+bpeLLwvB/6U6+07rkD4EIBUv6YsKYmbg/GZEmifiLnS/" Received: from [IPV6:2a00:8a60:1:7812:8df3:7c65:a4e4:bcb8] by smtp.strato.de (RZmta 50.5.0 AUTH) with ESMTPSA id e049b605QEQKHij (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 26 Jun 2024 16:26:20 +0200 (CEST) Message-ID: <07e5d3ac-d98b-4b24-8f2f-a18af2c6cacf@lukascbossert.de> Date: Wed, 26 Jun 2024 16:26:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: How to get the right link using org-capture from the second level To: Ihor Radchenko References: <35eaf49a-19a3-494c-a5df-0fefc4201d41@lukascbossert.de> <87o77ndd78.fsf@localhost> From: "Lukas C. Bossert" Content-Language: en-US Autocrypt: addr=mail@lukascbossert.de; keydata= xsDNBGRb6R8BDACvQ8gIYJUOX70gnh6dqlOflXa8hvg/sCIANZeF+jBJaEOm8CWQ6Ztno9e7 yN+Sh5g55Uf45HpAha3y4T1IIqNL9DXzUUu2onTZS1o2v4VBMHl5HT1rZ5Jc+4VWaBvAalAl J+eux1cDlimcAS81H4XCOe2pW577QzJAwIFdBTpuxpi9WjenHrUUelxydSNowY98CE1savMJ IqWXYKhLJahHx5TQ4uzVFFq6Vxuw+z99ynCRvsrxsz9Tm961DhWL7fgakWuAzkR3O4vuLvdN 5HvB7r+mZBOnKVFeYcFY7gWmsuGj9MV6JkXLWuGZN4Q5PAJAtdl0L3dFTQzjyv5YXFd+AlE0 +igSbFEZxguFuJT7FgvL7euaDGs8WQyyBwrqLGh0Me7ZiNfHzYrpZtrvQino1vliz5UAMyox Tz8V7mn3slckdp3YDeMHeK8E1x7YXi/tBlqoRfKX04k48rfQzzFDDgjio13gDRNB/NVsvHKP MBMA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kqQPnf0UeY2ag2j4+5ESLHxxNQAea8Wb3HAGrJuTr+XqZfqh7OIRz/PBg5vmJW8CwuoEWl 4tJ4wCNE/6YYXywv0u7T2UQrZyEFBwQImPoE9i0TTTrpuAWa5kByWf+YUV3mtb5ErRTPeXnE hT1XnLcAEQEAAcLA/AQYAQgAJhYhBBOITrMT+NWS9IN7clxVovjSkn2JBQJkW+khBQkDwmcA AhsMAAoJEFxVovjSkn2JQ3ML+gPy+UL5idmelbB5khKDOblfrsrPjk9p9HY3SHZsVB2mId/j vIJu2iVbalGAlZHRnNvPSZXZ8eAx+XvCiQULMfA65YUc0sIuLKKhkzmnNcS8IMQKEiLiN1CC 25Me8WUAwRZv4dst/j/fqLI8ddC3tyUlfBZHKWK8kxEYXcwfyI5NHA4K9565EijdsLBbWj4p EwYYWwr3U18oBx2h1UcF73owIMS9R+i7K4b8XihrCHktVSsz1/W2y1wEbkIMiVcey2CM1Mbv Ve9NB8NNby1O2tH4wt/Ahr3MMDsJ9yV0SZpGLuG+K+RsOBHkQQ07HyzY8Hm1RN22q1VMkXCB +Kbh9KY+GKsyQUr3oLBmu2y+vGVKXOXFVIZ7aambsZkFhQ9R9SUjFVWCRP2HFEuKZSoUfDaZ vRtdskGSsEmT5rDZCRHcmbhn7SU5k45ThAtpCfgPOPl/LFNAC2dmLrZSIQZh1sl8uuYYl5sj gg/v9HcNBk9UyQGegWdMvzp3bjGhNTVKpw== Cc: emacs-orgmode@gnu.org In-Reply-To: <87o77ndd78.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=81.169.146.219; envelope-from=mail@lukascbossert.de; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: CC2F36C765 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.46 X-Spam-Score: -4.46 X-TUID: aDrpdp+xDvR+ 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" 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