From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id 7l3WMBwgFmAZYgAA0tVLHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 31 Jan 2021 03:12:28 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id uL5mLBwgFmD6BQAAB5/wlQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 31 Jan 2021 03:12:28 +0000
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 371939403CA
	for <larch@yhetil.org>; Sun, 31 Jan 2021 03:12:28 +0000 (UTC)
Received: from localhost ([::1]:44970 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1l63A3-0007Wl-5V
	for larch@yhetil.org; Sat, 30 Jan 2021 22:12:27 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:52848)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1l5vLm-0003v8-OK; Sat, 30 Jan 2021 13:52:02 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:44257)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1l5vLm-0002H5-HA; Sat, 30 Jan 2021 13:52:02 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1l5vLm-0001cY-G1; Sat, 30 Jan 2021 13:52:02 -0500
X-Loop: help-debbugs@gnu.org
Subject: bug#44824: 27.1; Org export as pdf and open file does not open it
Resent-From: Bhavin Gandhi <bhavin7392@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org
Resent-Date: Sat, 30 Jan 2021 18:52:02 +0000
Resent-Message-ID: <handler.44824.B44824.16120326886189@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 44824
X-GNU-PR-Package: emacs,org-mode
X-GNU-PR-Keywords: moreinfo
To: "gbiotti@gmail.com" <gbiotti@gmail.com>
Received: via spool by 44824-submit@debbugs.gnu.org id=B44824.16120326886189
 (code B ref 44824); Sat, 30 Jan 2021 18:52:02 +0000
Received: (at 44824) by debbugs.gnu.org; 30 Jan 2021 18:51:28 +0000
Received: from localhost ([127.0.0.1]:55803 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1l5vLD-0001bl-SI
 for submit@debbugs.gnu.org; Sat, 30 Jan 2021 13:51:28 -0500
Received: from mail-lf1-f53.google.com ([209.85.167.53]:46875)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bhavin7392@gmail.com>) id 1l5vLA-0001bX-Eg
 for 44824@debbugs.gnu.org; Sat, 30 Jan 2021 13:51:27 -0500
Received: by mail-lf1-f53.google.com with SMTP id e2so13540117lfj.13
 for <44824@debbugs.gnu.org>; Sat, 30 Jan 2021 10:51:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=TXb8hv3nVAPHhkDhMcqTe4H5cUlyncAq11ZJoiR4bHU=;
 b=V4JZ92K7GQqYoRlNF4B56AECrIVjMakfuPSOGPUQf2hzOyVD9VxpgGi6LdJHtlXN6j
 MgTtyzY7Bun6BfvAW9+wjY1KRt0CnzgoVpI0KNRCleQhcD9R7T8hk14Pkj//DStMnVFA
 KEfOYUvG6nYG60sAggfq0PqiHYopb5FV941v5AL+ROq+wtR1eF/U9L1DQUFAu7Ss/NfS
 59+F3gS1TGCPnh8S6zjbKJUmeNd3CHsCOhTvp40jpxBYj5kPbFMQ4MmCRQQXD9ofLRf4
 O4Ny7IEGNraksnqVURppWkJNcXa2AoAktVmoQiSrUcirx1RJdXH2JVCLsqPqein9rB1l
 umOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=TXb8hv3nVAPHhkDhMcqTe4H5cUlyncAq11ZJoiR4bHU=;
 b=HaBuSunJUS+rPRtClZH/E0IS9+9l6KJrBEK0HyIOnygD8Fsc/TNHdN+Iadl+vcrtFl
 zvhD2Sei2u39IW8P7ZrHWjAVW3EprNtdt+1Ujt85iSjSIv7cdUNRZ0/oqoEGSYOYWDWK
 pNOYVof5X8RLnVMujJ8il89Zz5RgOz00ffqRvm9NAW736V/6MPgsdegTjCPloscGSU3o
 /xV4mGoS5SEE+FEsKwHKN6dz+Ng1cZggPnfginITB50OFEsHwolUAZ78Fb5zn4FykBtH
 AKc4Qwmv/8zskLcVpCxUQTMZUVytqjxbz2u9jhhFWFHW6ovHEUyKY2OHbZWdkOtwB+J4
 0Wng==
X-Gm-Message-State: AOAM531zLsKszjDzPlzWPpjabnol2nvFEfT4htjEEPXEDk53J9gv4tz5
 Jv+WxL67oh0QLnJOf4wt4gPOJH14DgRxemYvYTM=
X-Google-Smtp-Source: ABdhPJxS2+iGyJuy8SocofKS4HS56dRVtCB6a6Uq/A//sL7asZ0Hn8gXdbeIvhb5/YbpQC2twH6bCCPRHdAYdzurZRI=
X-Received: by 2002:a19:c3cc:: with SMTP id t195mr5050668lff.235.1612032678214; 
 Sat, 30 Jan 2021 10:51:18 -0800 (PST)
MIME-Version: 1.0
References: <CAFbX=UpDN9XtTr3osTC6B=V0trvatayw5WF0gMjGWAWfQQkAXg@mail.gmail.com>
 <f395c79a-c3e3-52c7-3fbb-608e94868e8e@gmail.com> <87y2gfcape.fsf_-_@gnus.org>
 <c108ef5b-a504-4ade-a863-cd2ac82f3ad8@gmail.com> <87a6st7oi1.fsf@gnus.org>
 <108399a5-66ad-eee6-572b-b3f2181e4e6c@gmail.com> <87lfccxs5a.fsf@gnus.org>
 <CAFbX=Ur__E+2gBq41pgdM_tUxktRXr3QJfDQFfwtp4jgLjvX6Q@mail.gmail.com>
 <875z3f2bwx.fsf@gnus.org> <838s8aak8j.fsf@gnu.org>
 <c4c04dff-ab9b-cd9e-5bde-9deb7953e35e@gmail.com>
 <0863e1f7-a265-0df8-3e62-9c36a13cbaa4@gmail.com>
In-Reply-To: <0863e1f7-a265-0df8-3e62-9c36a13cbaa4@gmail.com>
From: Bhavin Gandhi <bhavin7392@gmail.com>
Date: Sun, 31 Jan 2021 00:20:41 +0530
Message-ID: <CAOn=hbfVhQF1edoUazsKvb9jdGWCaVM1uPAbqFxyOXmxydRucA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-Mailman-Approved-At: Sat, 30 Jan 2021 22:11:09 -0500
X-BeenThere: emacs-orgmode@gnu.org
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Cc: 44824@debbugs.gnu.org, Maxim Nikulin <m.a.nikulin@gmail.com>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -1.25
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=V4JZ92K7;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org
X-Migadu-Queue-Id: 371939403CA
X-Spam-Score: -1.25
X-Migadu-Scanner: scn1.migadu.com
X-TUID: YGuFg+99YhWj

On Sat, 30 Jan 2021 at 19:04, Maxim Nikulin <m.a.nikulin@gmail.com> wrote:
> [=E2=80=A6]
>
> Geraldo, "M-x shell" case is rather strange. Could you, please, confirm
> ones more that okular window with the file content does not appear if
> you call xdg-open from an *interactive* emacs shell buffer? The link to
> an emacs-orgmode list message, that I have posted earlier, explains why
> async-shell-command *may* fail while shell-command should work reliably.
> I am really surprised by failure when command is executed in a [e]shell
> buffer.
>

I was expecting something similar, surprisingly here is what I observed
on my system (with emacs -Q, GNOME and Evince =E2=80=94 Document Viewer).

M-x eshell
$ xdg-open ~/Documents/test.pdf
[Nothing happens]

M-x shell
$ xdg-open ~/Documents/test.pdf
[Evince pops up with the PDF]

M-! xdg-open ~/Documents/test.pdf
[Evince pops up with the PDF]

M-& xdg-open ~/Documents/test.pdf
[Nothing happens]

Emacs: 27.1.91
GNOME: 3.38.3
xdg-open 1.1.3+
--=20
Warm Regards,
Bhavin Gandhi (bhavin192) | https://geeksocket.in