emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tip] Export and open a PDF in Android via Termux


From: Max Nikulin
Subject: Re: [tip] Export and open a PDF in Android via Termux
Date: Mon, 16 May 2022 22:00:43 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

On 15/05/2022 18:54, Juan Manuel Macías wrote:

(setq org-file-apps
       '((auto-mode . emacs)
  (directory . emacs)
  ("\\.mm\\'" . default)
  ("\\.x?html?\\'" . default)
  ("\\.pdf\\'" . "termux-open %s")))

Does termux have a notion of mailcap, e.g. mime-support package or something similar? I have a hope that

    application/pdf; termux-open %s

in /etc/mailcap or in ~/.mailcap might be enough instead of explicit configuration of particular packages.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]