From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OIDLMIcl7mObowAAbAwnHQ (envelope-from ) for ; Thu, 16 Feb 2023 13:45:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QELpL4cl7mM2IwEAG6o9tA (envelope-from ) for ; Thu, 16 Feb 2023 13:45:59 +0100 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 7BA47EEDA for ; Thu, 16 Feb 2023 13:45:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSddI-0005QF-N8; Thu, 16 Feb 2023 07:45:04 -0500 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 1pSddH-0005Q0-F3 for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 07:45:03 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSddF-0008U3-19 for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 07:45:03 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A7EEA2400A3 for ; Thu, 16 Feb 2023 13:44:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676551498; bh=JAUhNcdpeDTEwYGa5M75CRlce5RfXRCBt/daNCLaT+c=; h=From:To:Cc:Subject:Date:From; b=oa5jy0WQkxeuDALRqM3SnHxIHCkfzoeGmArKsVndey8ixWYatWIHUXuICIs6T6FxT w/0+0nu9SLwQPkSv1wn/NMCEK2o80lPTaznSRLb0+/uWyTaFa47zkE6Gqx2LCDUp+W GGFBkkMRcD3muX1ncyqBnDtL+wf7Cdcuk4sKasbcHNrLAJDdTwcinnqZ5pL4vJ1YTC Z0d7DuKyCGf9zJfmGDhs0DXnCFbeowQfD9ptgNTC7Z2Ggc9gCMWCvrYuQ3A8pftKi4 Eira2c0G5rYbnWQwicjubX5bY3mVyYrY0/MFzgmnIlL0/KKJi0/IEXMspthVU+T/oI MCA0gUZ7KABoQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PHZQx5pFXz6tr7; Thu, 16 Feb 2023 13:44:57 +0100 (CET) From: Ihor Radchenko To: Cletip Cletip Cc: Org Mode List Subject: Re: Link type in org-mode, but with org-roam ? In-Reply-To: References: Date: Thu, 16 Feb 2023 12:44:59 +0000 Message-ID: <878rgxwzhw.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676551559; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yR37rWm1Bom3YlFIqsLSUg89AHB5++usQrtMwdGvBw0=; b=md1U/KbCAhRkRvJWrBKmbkwoWpxu8U/HN53Hx4elZCe3RXOIFQ8zwzARSmIaPyw0rDMrl0 pwCTFDQ8cQMbakhHUQoWd/RtH/i4mDd/ULdBvMqvrWLAnGVZdsV4DKeSGLeJ4jHl5+DZOf 5y0XnzM4WQlUabTl7AAmDKGjCP0huEdVQyOEckZ6t1wOP+WanvjDasSFXbT06exZbvXaXt Hgy9IaBZktmKebs7l7BvlOAK2SMR828J0eUcYTEIkYVWDkrAKCoCWRS88n3WIuW5OqoQPN Wdrf/cUogvW9ZdjM5i/soWRYxcNjB057B6YySJIWHWeKdOwprubYPgb2X5ABpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oa5jy0WQ; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676551559; a=rsa-sha256; cv=none; b=Xuwm9hLe7F1Oes4Dfm+OhEprDWoslRHq0Pc+SSS0t9rTlKtOxr626BRd1F8acRHAMWAahw c4vPM5o6ub5OWj7Lo4CEQ58xEsbFHR2u26BveipDrMoLob7ITdTLcBYMQbhkZY5RPv5K2q VvPSQENEkARKP+kOdtOwk5NPGm7fxWKU6aB53K4iPYSDBwB/NaKEAjQ0wpptLtjV4k8IgR N5Kg0kJb3B+l03QNQdZnIufvfSohtHkId3F4FsDL6o4d5LQL6iuxP7EOEIErLWZRbukL3y gNBR/53pB1+xlgMm3piBieXJhXMm/F/t3TvZE9uf/8Jgp9rL4eIgzo7NBg++fg== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oa5jy0WQ; 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=pass (policy=none) header.from=posteo.net X-Migadu-Spam-Score: -3.59 X-Spam-Score: -3.59 X-Migadu-Queue-Id: 7BA47EEDA X-Migadu-Scanner: scn1.migadu.com X-TUID: euoQHSldgJoC Cletip Cletip writes: > As you know, external links can be of the form "X:path", where X equals id, > file, gnus etc. Note: Org-roam stores all types of links. > So we can make the following type of links: > [[A:B][description]] > where > - A is the id of a note known by org-roam > - B is the id of a note, or string, or numeric value, etc > - description is a description (what a precision) Instead of hacking into Org source, you can define a new link type as [[rel:A:B][description]] and set :follow and other parameters are needed. > - is there another solution to my main problem: making my notes queryable ? Try https://github.com/alphapapa/org-ql It provides much more flexible query syntax where you can match against metadata values. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at