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 kBD/BZiGYF/iSgAA0tVLHw (envelope-from ) for ; Tue, 15 Sep 2020 09:17:12 +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 sPxcAJiGYF+wcAAA1q6Kng (envelope-from ) for ; Tue, 15 Sep 2020 09:17:12 +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 AB2FC9403C8 for ; Tue, 15 Sep 2020 09:17:11 +0000 (UTC) Received: from localhost ([::1]:34468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kI75K-00021a-LB for larch@yhetil.org; Tue, 15 Sep 2020 05:17:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kI74A-0001zp-Nn for emacs-orgmode@gnu.org; Tue, 15 Sep 2020 05:15:58 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:35204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kI749-0001uK-5n for emacs-orgmode@gnu.org; Tue, 15 Sep 2020 05:15:58 -0400 Received: by mail-wm1-x341.google.com with SMTP id y15so2679753wmi.0 for ; Tue, 15 Sep 2020 02:15:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=4TGHwTbzbyDnpAeLGNHMFpI6eSaWls9fNLuELeVCpKo=; b=CApv9T7W0BAJZeoey3ecpRQqnMvexbkfaYjcl3QqCKvaTNs2i28jeaW4RJwpYtKG5E vPAEm4qQJrsYGHrI1hWPX/Yg+D6S1fWIytG7R2yRHJJ5nM8vYuijrF4ts1YH7z9HeD8o Y3+p+8ENjBhgD+Euotu1aG8AGcyXI2zABrVyIDaE3UtTlECE3AAvdvUkCwIW85/0pb/V e2xXMXVqNdIspzUa6WVTmV9eiWTguzIcFLCaN3U0XpF5IRgee1vxlX6x7aFjvlwQM3E+ ihQn96w5TyY8alrgKxHIzSJFtPzGHepsqA7rDmHhu37aVJf3lqxUaF6LgufdrJTbuHzK qHQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=4TGHwTbzbyDnpAeLGNHMFpI6eSaWls9fNLuELeVCpKo=; b=oMoL9QdJ4snNilidOdLG3xloeK0orINJNam1DvukwNs8F0NzmjCq9L0L1SP8WsUvkl emJlPp3xhGRBxAZehn1NXNSwcED7VxPTsEqofaIqV0qkFy4Wbnc/G4HTgkynIlpYvHMN KVdsPIv6ku8mzHmWWSP9rd2YbW5+4okUMkvEVVFP0Kwd8NnU/t+Tw9CBqIbI/ipIcUe/ etNqk+WyANBsphiwa2G4oVulx3Ga1cyhl7iSdMsSTQJQ1B+RHRGsa8jVu72K7H3xRPQn ZXXDhVzDI6BFvLFjoXwi31uMZLg1lTb0Vqet3j5HE2CMTaxmKk5ztfuVEGEymbF6rWvT mfHA== X-Gm-Message-State: AOAM530lwqCYIfbfBFZ0k8IY/7nTHXqDpnvXKZyNfPv2WIuBeOdWX9Qs cGqNoQgI1TqpUGyF2xbw9i9sAjQeXli36Q== X-Google-Smtp-Source: ABdhPJyT7oExwToe95dWQFqd46j1tyZnYDUfe3uqZDqO/Q7o+o5/QpFDTNmKe9N8wJ0Ekfyl8vGnfg== X-Received: by 2002:a7b:c111:: with SMTP id w17mr3491657wmi.109.1600161354816; Tue, 15 Sep 2020 02:15:54 -0700 (PDT) Received: from pir ([93.184.196.99]) by smtp.gmail.com with ESMTPSA id j14sm26323132wrr.66.2020.09.15.02.15.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 02:15:54 -0700 (PDT) From: Thomas Stenhaug To: Kyle Meyer Subject: Re: Bug: =C-c C-e l o= does not open the pdf anymore [9.3.7 (9.3.7-55-gba2405-elpa @ /home/fsantos/.emacs.d/elpa/org-20200907/)] References: <1353307994.1156413.1600060136105.JavaMail.zimbra@u-bordeaux.fr> <87imcgq1lt.fsf@yandex.com> <87wo0vlnx5.fsf@kyleam.com> Date: Tue, 15 Sep 2020 11:15:48 +0200 In-Reply-To: <87wo0vlnx5.fsf@kyleam.com> (Kyle Meyer's message of "Mon, 14 Sep 2020 23:27:34 -0400") Message-ID: <87k0wvcse3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::341; envelope-from=thomas.stenhaug@gmail.com; helo=mail-wm1-x341.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 13 X-Spam_score: 1.3 X-Spam_bar: + X-Spam_report: (1.3 / 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, FREEMAIL_FROM=0.001, GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Colin Baxter , emacs-orgmode@gnu.org, Frederic Santos Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=CApv9T7W; 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-Spam-Score: 1.39 X-TUID: OKQFgVoHkDUU Kyle Meyer writes: > Colin Baxter writes: > >>>>>>> Frederic Santos writes: >> >> > Hi everyone, After upgrading to Emacs 27, I noticed that, for any >> > org document, =C-c C-e l o= now behaves on my computer as =C-c C-e >> > l p=; i.e., the pdf is correctly produced, but is not displayed >> > anymore on side window. >> >> > Several users (using various operating systems) confirmed the bug >> > on StackExchange: >> > https://emacs.stackexchange.com/questions/60379/c-c-c-e-l-o-does-not-open-the-pdf-anymore >> >> > Is there any simple workaround to solve that? >> >> Does not happen to me. I'm on emacs-27.1 and org-mode from git (version >> 9.3.8 (release_9.3.8-777-g9c31cb). Perhaps try updating your org-mode. > > Thanks for checking. And I can't trigger the issue with Emacs 27 and > the commit reported in the subject (ba2405) on a GNU/Linux system. > > This goes through org-open-file, so it depends on the OS and system > configuration. Frederic, I'd recommend trying to tweak org-file-apps to > see if you can land on something that displays the PDF again. > > And I think Nick's suggestion/question in the SE comment thread is a > good one: > > It's probably not an emacs issue at all: what happens when you run > usr/bin/xdg-open /home/fs/Documents/essai.pdf from the command line? I recently had the same problem, on Arch Linux with Emacs 27.1. If you run xdg-open from an eshell, the problem should be the same. It should also go away if you replace "xdg-open" with "setsid xdg-open". I ended up doing (push '("\\.pdf\\'" . "evince %s") org-file-apps) to solve it for my case. It would have been preferable to change how the default app is being resolved from "xdg-open" to "setsid xdg-open", but I haven't been able to. Thomas