From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iBWNIEeCgmL2zAAAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 18:56:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uK6HIEeCgmIgygAA9RJhRA (envelope-from ) for ; Mon, 16 May 2022 18:56:39 +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 1B1E129CF for ; Mon, 16 May 2022 18:56:39 +0200 (CEST) Received: from localhost ([::1]:47436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqe1O-00019i-5y for larch@yhetil.org; Mon, 16 May 2022 12:56:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqdDh-0005jh-Na for emacs-orgmode@gnu.org; Mon, 16 May 2022 12:05:17 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqdDf-0004po-TD for emacs-orgmode@gnu.org; Mon, 16 May 2022 12:05:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id ADF64240109 for ; Mon, 16 May 2022 18:05:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1652717112; bh=pUKsf78apZ/Lm7AgI5kVXQ9OVJEox40auJOYuewCZDM=; h=From:To:Cc:Subject:Date:From; b=YlHUeSxBKyu+iL2vnuYYXfnJOtrf/o6bvsdbv7aOllGqQbkQD2yCElindYU7L+obc SaoCE7THfijUu+fbOFeVPH5/wlt3YQAGQTww70pi6ByYSROPQmSeWNtfsD1SZiYLOa 2kJJJBY7yWz1iGMjqQSIwnM/d86z5WqYuxoQwbnOzack8PUiKvI38UxxduRjvzzGzS 5Cb/6RQUKCatcU5NbhfK0RmAPOTIuV9zW6/ZxkURMpTJhPMvZ/5jQmFMQJYuoPTEbU o/wgB3fUf5lMq7iGBGXwzwuw2pXbmJkvYPFPBDqRu86yME4vYpHpsQgVFgyqThTsRo 5dI/1GOq7bCjg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L23xM4f64z9rxF; Mon, 16 May 2022 18:05:11 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Max Nikulin Cc: Ihor Radchenko , "Eric S. Fraga" , orgmode Subject: Re: [tip] Export and open a PDF in Android via Termux References: <87pmkfnh90.fsf@posteo.net> Date: Mon, 16 May 2022 16:05:09 +0000 In-Reply-To: (Max Nikulin's message of "Mon, 16 May 2022 22:00:43 +0700") Message-ID: <87o7zx8nuy.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@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, 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=1652720199; 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=mi1i0sTyUMs/VVwHEbXBvI7csQt1AVhywTgUaW6w3Oo=; b=Rglx7w6mgrh24aUUFJ64IdJbsOdOzD+VJvmtIHE41/nrf1i6ziDk2uG+H9hhYgX/H7rlCW 3nCZwM90IoU0S08C87vGG5JomX+Msa2QYOHU8rBmeUEUph7Lq/wvZJolh6sko1SAdmcD8s 0M1/UcOLpYziOk+bRRZh3zDms+BeqH/FDvYo8nl9w6DV/tEbkIRIy8bQaj+7UMQo7bHIl/ +MNIdp1zm5dFWy3q2pjkZwJ0oyYn//6m0sPHCnuqmak2+8B3CUEbwu9PFdR1f40RrOQ5k6 Y/g5oTanm779x2W1NBp/DlN+KwedPdAybFU3VihNkM7J+em7kwXOxHCP8Xvs3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652720199; a=rsa-sha256; cv=none; b=UsTPWmvPfGQXFFQ9Z6PWeC6pGPzXxyI6/CP09a0mejkPxU2aSjuHkHJPT6Ua33GcwswU+l HV640kZxAzvbHyPvsY+6YWxtLfZeb8b0Zd8cbXgQd/PvdzrRC5zby5FvnxSQzn3BrDSCso 9zpsjF3o0jaVNPH72jcvtCwBGFS29OES6dxEZON6O++bzzjKgXM6eKJ0cUrssa17sTInhH P2BIDJHtqFSMq/Zesm8YiSTgVQiw07dL20+DFxCqbhL3AbPYUIiO5xE9r4h6nDAkzciCUy jU5KuV7Gyh5xeSOw5fCa0ihSunW7dY79Bnbb7BrbSDZTBuXNTLOMT7ajKC+zFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YlHUeSxB; dmarc=pass (policy=none) header.from=posteo.net; 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: -4.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YlHUeSxB; dmarc=pass (policy=none) header.from=posteo.net; 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: 1B1E129CF X-Spam-Score: -4.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: uk37e0vjVwKz Max Nikulin writes: > 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. I've been playing with Termux for a short time and what you're suggesting hadn't occurred to me. Indeed, it works fine with a ~/.mailcap file! I have done a test with an attachment in Gnus: https://imgur.com/a/g1Auvxp Termux is quite interesting (and addictive :-)). Now I am playing with Termux-api to send notifications from Emacs/Gnus to Android (with gnus-desktop-notifier and the termux-notification command). And also to send sms from Emacs and bbdb... Best regards, Juan Manuel