From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OJdtBAXx5mYqLwAAe85BDQ:P1 (envelope-from ) for ; Sun, 15 Sep 2024 14:36:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OJdtBAXx5mYqLwAAe85BDQ (envelope-from ) for ; Sun, 15 Sep 2024 16:36:53 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IhhkRKSK; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726411013; 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; bh=UWLDknwP0hs+ZFQri/MBNcxFmSiw2CdL88N4cJRSBUk=; b=Mz8VoE6S/7gQpwSrmyte5g/IZRcJ5Q0LYnZEV/GyVPGHPq5dcP6HcSw/iUKroeXyJ6tIuH k1fPdatrKxe7X0B2i0000v32G2Vc8Bzlk3YdlS8p97IdkLGtw+5X8TaFQV8zArUyGn/AkS w5VW0fFniQwmwYSl3zBM201KhDbzCqN0QmcJvoKZoMdT6Al5iRcOeL39zzEp8BZR9dJEa/ tEBdVMScVm8i2+82AFo0vX+A4MK0Lu0mDD/uRW3Pg+Rc7TQbxgTYzJY/woSxYI6oduxPVw pdR3owia41lor7s3QL4SjiaWYzVjTScDEAZbgwOtrO7nH/CrS8MbQe6yoc1uJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IhhkRKSK; 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=1726411013; a=rsa-sha256; cv=none; b=H31yqDLQeedN4QDiMQMtBC00M1Okn4NDwQsm1g5ow8sPub5a4GhMDVOP33JtIYoqhvHxlq TnP28iPSR4/rBt/B5Q7JGy70d0MqW0CE93v4Rg/HFpRt8aRRDqqxwqNRUvnrcUb2Z+y7CW q1CwA6hD5fU1QNRWWvxLvev3EuFTVmC+pEt45TOMFJZw4wZyfVwNg3bG+urmDkb8/7vpWn WnqP9iai80NHlHtZBRkY6e+piUKMod46+BuUzqDtxbh1zrKoGh4GAWYkxhbrtnkFHgUwQT SQ88bH1N89Zy/Csy7N0N/C0VictFuPZjaiAWJtHCJ5kZRUJDJnbYbmbiUt9EiQ== 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 930C5147 for ; Sun, 15 Sep 2024 16:36:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spqLa-0000L0-NN; Sun, 15 Sep 2024 10:35:30 -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 1spqLY-0000Kc-HH for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 10:35:28 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spqLW-0000Qd-CR for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 10:35:28 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7A716240103 for ; Sun, 15 Sep 2024 16:35:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726410922; bh=vMi58/OubUnW++4ZcJJzlL4Zqcnr7aLUpJZME/3lLzo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=IhhkRKSKv7AH1K7qXNqskXhkDMtNIe/JJzjhvPpUa2kluDd+8uYcizfLv/DnKW3iN Jtbv0Fu2OELYzGMWkb3ENY6Yz6BqJq7S1OtQR+7edkqWekE+7ACnwTXJ4jEdZcXU3I J5NDPB0bHNc8l0kwEyDDWAsJV/MS1lnH1fhgSw3khUkxVm7xEFf3fAM3zsT97SX64c Qh509h6H2/Wqi+Mig6uETis9PJ8m2FsT4UqhTLq1qYfidqT4829AYIm5cWhmSdt+2U QM4O1QYXDOPstfHgzWjoYis8pB74V3Y/KAS3UP2/5tZ4gsKwC46UdPXQIqmorK4UVw MBIMMQI2x5/rQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X69Z10kCWz6tx2; Sun, 15 Sep 2024 16:35:21 +0200 (CEST) From: Ihor Radchenko To: =?utf-8?Q?Tor-bj=C3=B6rn?= Claesson Cc: emacs-orgmode@gnu.org Subject: Re: Org-cite: Replace basic follow-processor with transient menu? In-Reply-To: <8734m28l9a.fsf@gmail.com> References: <8734m28l9a.fsf@gmail.com> Date: Sun, 15 Sep 2024 14:36:55 +0000 Message-ID: <874j6h3rw8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 X-Migadu-Queue-Id: 930C5147 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -8.73 X-Migadu-Spam-Score: -8.73 X-TUID: XFwKQDMT6wxI Tor-bj=C3=B6rn Claesson writes: > Since I use org-roam-ref, I initially went with citar and installed > vertico, marginalia and embark, but this felt a bit invasive, > so I went back to the built in basic processors, > which fill all my needs except for the follow-processor. > > To improve following, I made a transient which offers options other than > opening the bibliography entry. This works really well, and can easily > be extended by adding new suffixes. > > In order to make the basic follow processor more useful, would you be > interested in replacing it with a transient menu? I do think that having extended menus for org-open-at-point could be useful. Not by default, but, for example, with a prefix argument. > As an example, I attach my transient, including examples on extensions. > It would obviously need some work on wording and thought as to what > commands should be made available by default. Also I am not used to > elisp, and the code can probably be improved! Your example demonstrates the following options: 1. Plain old opening bibtex entry 2. Copying citation key 3. Opening DOI-derived link in browser 4. Opening PDF (but I am not sure how you want to find the PDF name from bibtex record) I am not sure how useful is copying the citation key, but various extra menus like opening DOI/ISBN/URL links might be of use. PDFs might be useful, but it is not clear how to know where such PDF is located for arbitrary user. Any other suggestions? Maybe from https://github.com/jkitchin/org-ref/blob/fd178abf12a85f8e12005d1df683564bdc= 534124/org-ref-citation-links.el#L525 ? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at