From: Max Nikulin <manikulin@gmail.com>
To: Alessandro Bertulli <alessandro.bertulli96@gmail.com>,
emacs-orgmode@gnu.org
Subject: Re: Opening org-cite links with different application
Date: Tue, 31 May 2022 21:53:44 +0700 [thread overview]
Message-ID: <21f0a03a-036b-1367-c076-60de1a6772c1@gmail.com> (raw)
In-Reply-To: <87fskxlgwj.fsf@gmail.com>
On 25/05/2022 23:24, Alessandro Bertulli wrote:
>
> P.S. I'm afraid I can't follow you: what's the point with mailcap?
The idea is to keep associations between file types and handlers in a
single place. Emacs does not have support of XDG handlers (at least out
of the box) but pretends to have support of mailcap(5) database,
https://www.rfc-editor.org/rfc/rfc1524.html "RFC 1524 - A User Agent
Configuration Mechanism For Multimedia Mail Format Information". At
least Debian provides a script that extracts supported MIME types from
application .desktop files and adds this info to /etc/mailcap. I do not
consider mailcap as a perfect solution, but there is nothing better
within Emacs. I believe that configuring each Emacs package separately
is even worse. Ideally it should work as a chain of responsibility:
system-wide configuration in /etc/mailcap, emacs-wide adjustments, maybe
package specific configuration.
I agree that is customary to set special PDF viewer to open citations.
Have you considered another approach: to write a script that chooses PDF
viewer based on file directory and make it system-wide handler? Then
sioyek may be launched even by clicking on a file in file manager.
P.S. Alessandro, could you, please, response to mails using "reply"
button. You messages lack of In-Reply-To and References headers, so at
least thunderbird does not group messages into a thread.
next prev parent reply other threads:[~2022-05-31 15:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-25 16:24 Opening org-cite links with different application Alessandro Bertulli
2022-05-31 14:53 ` Max Nikulin [this message]
2022-06-01 10:33 ` Alessandro Bertulli
2022-06-02 15:53 ` Max Nikulin
-- strict thread matches above, loose matches on Subject: below --
2022-05-27 11:15 Alessandro Bertulli
2022-05-25 16:16 Alessandro Bertulli
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 10:52 Alessandro Bertulli
2022-05-25 11:00 ` Bruce D'Arcus
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=21f0a03a-036b-1367-c076-60de1a6772c1@gmail.com \
--to=manikulin@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).