From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "gbiotti@gmail.com" Newsgroups: gmane.emacs.bugs Subject: bug#44824: 27.1; Org export as pdf and open file does not open it Date: Thu, 28 Jan 2021 12:31:08 +0100 Message-ID: <108399a5-66ad-eee6-572b-b3f2181e4e6c@gmail.com> References: <87y2gfcape.fsf_-_@gnus.org> <87a6st7oi1.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11625"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 Cc: 44824@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 28 12:32:23 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l55XD-0002w8-C9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 12:32:23 +0100 Original-Received: from localhost ([::1]:57426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l55XC-00007f-7B for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 06:32:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l55Ws-00007P-9c; Thu, 28 Jan 2021 06:32:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l55Wr-0002ev-Kx; Thu, 28 Jan 2021 06:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l55Wr-0008EA-IY; Thu, 28 Jan 2021 06:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "gbiotti@gmail.com" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Thu, 28 Jan 2021 11:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44824 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 44824-submit@debbugs.gnu.org id=B44824.161183347831578 (code B ref 44824); Thu, 28 Jan 2021 11:32:01 +0000 Original-Received: (at 44824) by debbugs.gnu.org; 28 Jan 2021 11:31:18 +0000 Original-Received: from localhost ([127.0.0.1]:47396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l55W9-0008DG-RA for submit@debbugs.gnu.org; Thu, 28 Jan 2021 06:31:18 -0500 Original-Received: from mail-ej1-f46.google.com ([209.85.218.46]:40980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l55W8-0008D2-UT for 44824@debbugs.gnu.org; Thu, 28 Jan 2021 06:31:17 -0500 Original-Received: by mail-ej1-f46.google.com with SMTP id g12so7205526ejf.8 for <44824@debbugs.gnu.org>; Thu, 28 Jan 2021 03:31:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id :disposition-notification-to:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=FgCNY015kEadaRxU+ih0CXs/A/LGDkRsaK0HhpACU50=; b=SYxhin83Wlt/Y7uEm1y1+ccIVKjpKwdywT0Cp4xJODlAawmpKKSCh8mnFKoHKmGbch Ij57UKQba1gnyXo6czWyQ2OW6RHnBF5ytz0H/CW9/XGVUjIG1JCKYs2NYR5nQ0yJz5ph 5x0OSh17VkllrpOnnSPtjgO5ocEudEu3vkoROXSzRd9dyNlxvG162unPKbAGbUiMDzf2 5VnX2/O4KI/3R8zGq+wYbLCO/jWAZLslHZwGR+sZZDnUV9fclwTptbdJvAXEJg2kN0lO dmUkd1BA2zGNlwBlveGW/q+nidZoTo3fGnQfYNmmrHxe86h5vTdnuvNwWEhoiklfO7tg JHnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id :disposition-notification-to:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=FgCNY015kEadaRxU+ih0CXs/A/LGDkRsaK0HhpACU50=; b=X4GpeEVUZJeLTi6xXMppH0HsOjdeaslU6I1YaqdhLl/GYFidGZAGyWP/sp5Gwcx+6a Jy8/hMsLtNnsFwJlEX4TjlOA+5UQK1yuyOXzDFvxgk4eLekNh0BDMHJbm0joEexk3vCi M+w6Lbkbwz5brel3vxCCaVB0Qjz8ql8Kz+GOpFMoRBp9oVGXgwgjcL1CzW6FUKohMUhH 1vjCw0qshxb14yTix5W5ptRcqOE4ZjVn734/krX/vqEtUtZpIDl1hFPoyFL3I0rdcvU/ oNSUrweYNr/lCZhrYdMcuHw2Afrnw2I2tyffRZNKgOgUwDYzKIZ9sXqkYjSS1gCis+u/ ZjaQ== X-Gm-Message-State: AOAM531EmUsNRZctD9+NlyOvkQKWmmuQPciHJZNCSKD2CYNVPaerK3qn Q2u6uZ9TDXVY5WKNAspHAqZTWaQm1e0= X-Google-Smtp-Source: ABdhPJxy5dK16on84gzYqeL9KROfornOed1ZFBC5Y/ecMMQl83RjmqaQhAMOljOxhA+CAw9LKB+j9Q== X-Received: by 2002:a17:906:8611:: with SMTP id o17mr10546697ejx.145.1611833471054; Thu, 28 Jan 2021 03:31:11 -0800 (PST) Original-Received: from [192.168.3.50] (host-79-36-126-117.retail.telecomitalia.it. [79.36.126.117]) by smtp.gmail.com with ESMTPSA id b26sm2888224edy.57.2021.01.28.03.31.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Jan 2021 03:31:09 -0800 (PST) In-Reply-To: <87a6st7oi1.fsf@gnus.org> Content-Language: it X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198785 Archived-At: Il 28/01/2021 04:02, Lars Ingebrigtsen writes: > "gbiotti@gmail.com" writes: > >> The same as using C-c C-e l o >> "The default PDF program (okular) appears to open (i see the icon, but not >> the window) and closes without showing anything." > If I do > > $ xdg-open ./doc/lispintro/cons-2.pdf > > after `M-x shell', "Document Viewer" is opened as normal. > > You don't get any output from xdg-open or anything in the shell buffer? > > Glenn Morris writes: > >> Ref eg https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25234#8 >> https://bugzilla.gnome.org/show_bug.cgi?id=652262 >> https://gitlab.gnome.org/GNOME/glib/-/issues/1208 >> and others going back over a decade. >> I think Emacs should have a PROBLEMS entry about this. > Yeah, calling xdg-open (and expecting it not to exit) is a known > problem, but here it seems that xdg-open doesn't even work from *shell*, > which is very odd. > More info: As per bug 25234, using 'M-! xdg-open /tmp/test.pdf', 'M-& xdg-open /tmp/test.pdf' and 'M-& xdg-open /tmp/test.pdf && sleep 3' I get same results as reported. If I try in eshell buffer 'xdg-open /tmp/test.pdf && sleep 3' my cursor blinks with the Okular icon for a few seconds and then nothing happens.