From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uE6wB9IMjmInAAAAbAwnHQ (envelope-from ) for ; Wed, 25 May 2022 13:02:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gCSBB9IMjmJW+AAAauVa8A (envelope-from ) for ; Wed, 25 May 2022 13:02:42 +0200 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 BE18F297A2 for ; Wed, 25 May 2022 13:02:41 +0200 (CEST) Received: from localhost ([::1]:54274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntomm-0007le-GI for larch@yhetil.org; Wed, 25 May 2022 07:02:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntokx-0007Ur-RK for emacs-orgmode@gnu.org; Wed, 25 May 2022 07:00:48 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:33569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntoku-0005N7-Ky for emacs-orgmode@gnu.org; Wed, 25 May 2022 07:00:46 -0400 Received: by mail-wr1-x42e.google.com with SMTP id f2so29638012wrc.0 for ; Wed, 25 May 2022 04:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NhfI99PKfn3f4yc0xvs9igoimM1uF7dZX/arnU9gZH8=; b=NZQK8/UdpXEw22hDgHljO7uuzen/5gTlerSUyieB3ra8ZOnWscq4F02IfY+HgiT35M 25YP82owOkHKHBQtRLnFuXHEZ4E76PzaJdOOJgJT07fPavqobxaDWf7h6jDAGUpCBheU mIYiAcbBJP02wpQmW0lSyzFUrsx6QlR5Vf6g0+3pLkldzpppX5JpUKXdUbJ2JRoTdMSO dIlVPicUXHlAPLFJDfGwI8QVV/RvEBQpm88lyUFR/sA8t+IAPLdSqUoR6oPIAmOcBClV OXa/WiVfQ6Ub4GASNuAzSqKotF0Jhcb5zE5dOR3adCBRv9OYrrzNRIuZ2IWTQt0+Pe5l 0zOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NhfI99PKfn3f4yc0xvs9igoimM1uF7dZX/arnU9gZH8=; b=AeTGftygfiTo6GWitXXq/yBlALIaNFb3/NOlTnEfLBHGFuEyF56GognsESeLUPEfJB qkBB/E18mCVOHDyIsVRzrRuqGMGFTy9MeKVmfh+c6i9yf90VTC+tS5941vo48jib7gi2 0tKrI1lO//CcgIBA40kjTj3KbQMDkfcjHUxfGlQvxga03go3eh+PtJiwPUcyZCPD1fwh BPjoPoarVGyOxB+5fVRSo+uhwQ6YYYjJCnVpUH+vvIw5AENj4dIICkY/sEleYBT/O51C gnvG4ug1tq+G6LVNAhqOMpk9kFXlQglO7o6jpeHWPScPXfdGiNpHjUdG66D/25X3mCCf ZTOw== X-Gm-Message-State: AOAM5326K6UYxkVUL8HO1iPF14F7JyKkVkD24gQ5M7PPRRpiOAFex6aP BqaVRugz7aVysocwvsu34xa65oDzJrsLPJcBuvE= X-Google-Smtp-Source: ABdhPJy44tp1KYy4siYo0KolcVWut4o5JWQXuFr9kNne1jYC2HHrOv6WCpsVTcH/ux3hRTAWPkZWDDwTm9vYllw/ATE= X-Received: by 2002:a05:6000:2ad:b0:20e:796f:cc62 with SMTP id l13-20020a05600002ad00b0020e796fcc62mr21375634wry.200.1653476442417; Wed, 25 May 2022 04:00:42 -0700 (PDT) MIME-Version: 1.0 References: <87czg1rij7.fsf@gmail.com> In-Reply-To: <87czg1rij7.fsf@gmail.com> From: "Bruce D'Arcus" Date: Wed, 25 May 2022 07:00:31 -0400 Message-ID: Subject: Re: Opening org-cite links with different application To: Alessandro Bertulli Cc: org-mode-email Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653476561; 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=NhfI99PKfn3f4yc0xvs9igoimM1uF7dZX/arnU9gZH8=; b=iBr38wShh2o+2R2fUs63mSwszxg/BCDzz2TwIBvGqHkP2Jrd2TmAs6p37Hfdw9TtAC8krz EgsoLHHrvNJ9xuBBwmIkI9e0ZpXqHjI3bB6i1MyBYvVVd3qmQyTDjC4cnqbQWGucWcpGKS SnEW5hHlSlG6rFXai6CVnW5jEaR2k7J3xAwq9+J2xOzZdnQ2cQVFq+GDUzSMXcTzBAOrqG jzmNn2j75T+hbTbO4vBrXhS79OEPrMNPCM9UOtLsY3Z4E5g4DaDgD/qn5oP8EOgiFt2QQA dLFR837Xg9kQjXYA9TAPFS6szYOPUqxxpogD0b/o3PchSquVXto1uluTTuNEIg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653476561; a=rsa-sha256; cv=none; b=Qnhf1slBKYkLnB7mGYT01oSK9XIFa0iy67fTDo8yIYS7tLzUfrcLpxQKHD8Tc4yrYu3Sv+ XRemhGTqJTvDLpd9Wf4LWrBd+9iQq7SBQ8ITRkVbtjRZ8QdgkJlAfj1+YnUZ2wammNwyCP Ar8c+piwmS5qSZs9M7iix8QfZ+NDi2Nf2BF7a7dYKdMCyUbrQExGrJsDCRQAA5lDypyPwC 4Vwpo5OgQnUiC+5Fkeu3GbVkAc6mxmtaiVMCC9Ysjs47WeZ+N2OjTJe5/bxmKQTbyHYqt9 aYDQr3snueHBkC+yrHKhv0WBzjUfTRRXqiyw9Y06Y0bTM4AVjsd+5DmNQvE4dQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="NZQK8/Ud"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -2.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="NZQK8/Ud"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: BE18F297A2 X-Spam-Score: -2.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8hcIUPz0doH5 On Wed, May 25, 2022 at 6:53 AM Alessandro Bertulli wrote: > How can I make Org open the PDF file of a resource, using an external > application? > > Let me explain: with the point on a org-cite link, pressing C-c C-o asks > me for the resource to open. Selecting the PDF file opens it with > DocView. I want instead to open it with an external PDF viewer > (specifically, Sioyek). But I can't make it do so! Changing > org-file-apps works only when I open "file:" type links. Apparently, > org-cite links don't read that value. > > So I'm asking, particularly to org-cite people: is there a way to do so? This is not an org-cite issue per se; it's a citar issue, since that package provides the org-cite "follow" functionality. You just need to set `citar-file-open-function` to your preferred function; say xdg-open. Note that this may change in the future; I'm contemplating making it an alist so you can set different ones for different extensions. Bruce