From: "Bruce D'Arcus" <bdarcus@gmail.com>
To: Alessandro Bertulli <alessandro.bertulli96@gmail.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: Opening org-cite links with different application
Date: Wed, 25 May 2022 07:00:31 -0400 [thread overview]
Message-ID: <CAF-FPGNUfyuazpX7NjS4jgvBcD_+LGJBTWB-g20PGiKy-cR83g@mail.gmail.com> (raw)
In-Reply-To: <87czg1rij7.fsf@gmail.com>
On Wed, May 25, 2022 at 6:53 AM Alessandro Bertulli
<alessandro.bertulli96@gmail.com> 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
next prev parent reply other threads:[~2022-05-25 11:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-25 10:52 Opening org-cite links with different application Alessandro Bertulli
2022-05-25 11:00 ` Bruce D'Arcus [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-25 14:10 Alessandro Bertulli
2022-05-25 14:49 ` Bruce D'Arcus
2022-05-25 15:21 ` Max Nikulin
2022-05-25 16:00 ` Bruce D'Arcus
2022-05-25 16:46 ` Max Nikulin
2022-05-26 18:45 ` Bruce D'Arcus
2022-05-26 22:17 ` Tim Cross
2022-05-25 16:16 Alessandro Bertulli
2022-05-25 16:24 Alessandro Bertulli
2022-05-31 14:53 ` Max Nikulin
2022-06-01 10:33 ` Alessandro Bertulli
2022-06-02 15:53 ` Max Nikulin
2022-05-27 11:15 Alessandro Bertulli
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAF-FPGNUfyuazpX7NjS4jgvBcD_+LGJBTWB-g20PGiKy-cR83g@mail.gmail.com \
--to=bdarcus@gmail.com \
--cc=alessandro.bertulli96@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).