From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GFKFHxSDFWBcWQAA0tVLHw (envelope-from ) for ; Sat, 30 Jan 2021 16:02: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 mp0 with LMTPS id MLZiGxSDFWAmNQAA1q6Kng (envelope-from ) for ; Sat, 30 Jan 2021 16:02: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 0936D94030E for ; Sat, 30 Jan 2021 16:02:28 +0000 (UTC) Received: from localhost ([::1]:41072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5she-0006Cz-L6 for larch@yhetil.org; Sat, 30 Jan 2021 11:02:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5seM-0005h8-W1; Sat, 30 Jan 2021 10:59:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5seM-0008Rz-0q; Sat, 30 Jan 2021 10:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l5seL-0005o0-WC; Sat, 30 Jan 2021 10:59: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: Maxim Nikulin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Sat, 30 Jan 2021 15:59: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 Received: via spool by 44824-submit@debbugs.gnu.org id=B44824.161202229622231 (code B ref 44824); Sat, 30 Jan 2021 15:59:01 +0000 Received: (at 44824) by debbugs.gnu.org; 30 Jan 2021 15:58:16 +0000 Received: from localhost ([127.0.0.1]:55605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5sdb-0005mU-Lu for submit@debbugs.gnu.org; Sat, 30 Jan 2021 10:58:15 -0500 Received: from mail-lj1-f174.google.com ([209.85.208.174]:44114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5sda-0005mE-Bs for 44824@debbugs.gnu.org; Sat, 30 Jan 2021 10:58:14 -0500 Received: by mail-lj1-f174.google.com with SMTP id f2so14088519ljp.11 for <44824@debbugs.gnu.org>; Sat, 30 Jan 2021 07:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:cc:references:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=rhv2UGXUL/cruE8b2CcCV2xlzpXcL3DyC/5yfLE5Hlw=; b=JHAwfyqw/utJvvV8KyV1nnPC0/QqEYUOEMAp79oIwEwWamByhz994s4VqE8jYqmlYz Ew+BMrgKinJQnpgi6I/34U47TRb1LPCgXmLyuyo0VVRj0ys1VNkW9fsWvzCKMMtjRp1M mEqOtDffCxTK+qkGS17YBo/7c9wnoJGa2UO0wVxSIFvyZtVCQEYA6G9BT2/6IzpKU5HZ vins6iycMLxs19pSrBYfE3nxNBxkCA9U38jeD5SbTxU5xmuZD8fszOXLXqX9tPNEADS7 aZeEWuliuZrjS587Rya88qJlQeO40MZgTKQGWQlTRAaCsTDnZW/2DrVaTucbsFs3bFU5 P1uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rhv2UGXUL/cruE8b2CcCV2xlzpXcL3DyC/5yfLE5Hlw=; b=PDRAxibWhRaSt/5wcxD2POLqifrOngV/Nr1Xr1h2wbXnAchVzqZH6tyETMx674zG2d 6dHRU6R5/K240lQA9vBiRKeuAsxWfujS7LyFr9zzHRbTKkenVh4PpNZHmac8E44+67cB 6as9iyVbaMd9yIxhVXxGhs+Hs3/cCyYs1pzZ9NHybMfPxgj/imbPLBoNYMzWDbkfR59F 9ETaK0AfGpTzMr3bAXdW1MQV+D07NQVP53HY35kA27h2rWGGU6CCxmSAdVilPq3sJHw5 /PIAKkvhU1qjwYLihz6De+Gr74jH4037aOQP8XFukbs4mF6t52lyKpvLuSiPKz0piBsy SqNw== X-Gm-Message-State: AOAM532U0F7gX5ynVdXOvPl5BEb1GM7H71XCQKS3aLOJY8UaM865+R/M dg3bwa/jY/gFmQl4vaSC5rtwAh29fow= X-Google-Smtp-Source: ABdhPJyLGAKImSJXPinOXhjJ06HE+zK36YgonpQoJJFtsZxIxeTAoV5kbsC4xKFiGmKGhNL8Lu0GbQ== X-Received: by 2002:a2e:88c9:: with SMTP id a9mr5159914ljk.107.1612022287820; Sat, 30 Jan 2021 07:58:07 -0800 (PST) Received: from [192.168.0.101] ([5.44.169.181]) by smtp.googlemail.com with ESMTPSA id v21sm2990023ljk.122.2021.01.30.07.58.06 for <44824@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Jan 2021 07:58:07 -0800 (PST) From: Maxim Nikulin X-Google-Original-From: Maxim Nikulin References: <87y2gfcape.fsf_-_@gnus.org> <87a6st7oi1.fsf@gnus.org> <108399a5-66ad-eee6-572b-b3f2181e4e6c@gmail.com> <87lfccxs5a.fsf@gnus.org> <875z3f2bwx.fsf@gnus.org> <838s8aak8j.fsf@gnu.org> <83sg6i8rht.fsf@gnu.org> Message-ID: <5f1a0018-56a4-7f00-68bc-eeb93631f102@gmail.com> Date: Sat, 30 Jan 2021 22:58:06 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <83sg6i8rht.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44824@debbugs.gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=JHAwfyqw; 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: 0936D94030E X-Spam-Score: 0.75 X-Migadu-Scanner: scn1.migadu.com X-TUID: gYaTP0WvDxht On 30/01/2021 20:49, Eli Zaretskii wrote: >> >>> How about asking the xdg-open developers to help us figure out the >>> reason? >> >> I do not think, it is xdg-open problem. It just calls kde-open5 that >> spawns actual handler and immediately exits. > > I didn't say it was their problem, I suggested to ask them to help us > understand why xdg-open doesn't work in those cases, under the > assumption that they are familiar with their code better than us. What kind of help do you expect from xdg-open developers? It is a shell script, you could easily inspect it. I have posted already a command how to trace its execution. However currently I am almost sure that it merely calls 'kde-open5 /tmp/file.pdf'. The problem is that emacs does not expect that kde-open5 and thus xdg-open exits instantly. The question could be addressed to KDE developers, but unlike the issue with temporary files, in my opinion, pty+SIGHUP problem should be fixed in org mode. Some convenience function in emacs core would be nice but org mode is compatible with older emacs releases. Thus the only option is to change the org-open-files function.