From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qDS8FrDrkGJ6dwEAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 17:18:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UEO1FrDrkGKDdwAA9RJhRA (envelope-from ) for ; Fri, 27 May 2022 17:18:08 +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 F41CF82BA for ; Fri, 27 May 2022 17:18:07 +0200 (CEST) Received: from localhost ([::1]:53586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nubj4-0006S9-9q for larch@yhetil.org; Fri, 27 May 2022 11:18:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nubiU-0006Rf-Ej for emacs-orgmode@gnu.org; Fri, 27 May 2022 11:17:30 -0400 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:46766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nubiS-0007gw-QS for emacs-orgmode@gnu.org; Fri, 27 May 2022 11:17:30 -0400 Received: by mail-pg1-x52a.google.com with SMTP id j21so4153802pga.13 for ; Fri, 27 May 2022 08:17:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=cwMulpYwzUAbMmBgEwNo0IhmtJ6LKUJ8D19djM+39cU=; b=FHVj0sIRYbeps4vtTJMZQ3MhcHn1LcaJXhB0Sz46cTsJZxTKAi0TjNcjXX542z1MP9 lT+v+O9XPeAwPaZuWtxoQzv7kg8nu8WBu2XjQayLC8JRHpxQmQpRaY5l9lw1s4pxi1oi N+pgHRk4s5/DOAm6Ige4BEu7ezEdfDSg5J2jEndGgQqbFuH8wdYu35MIha+PvqM0g7MR ljGHZidkH+tHw0ntSxF+jw02hMAq36uEIX4Jab6JGey1yRk8xKA96/Cey4MzjM+ctMpF bPyjBnXBMyDy17EkCpEQc+2nTrb/ritQxbPo4I9iQJso36LkmwK871PwfF+nGSr1EOYU xwlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=cwMulpYwzUAbMmBgEwNo0IhmtJ6LKUJ8D19djM+39cU=; b=WEwEaD92vrL9Ply/CyP3iv5oi5mUBcbFIsZUaSqQYCMQktSs/SDkmGfe881R/+hcHS 1gqK2IcD3/NUxBhoNi1T4enu6q6zW6Inf7FnCVDD+lpn5mUK7d2+TuTSBbJuXGhOm+qe oU+tQu9dYX3SLyy40NvKHv3GX94sEb98Vh4sc7hNJ0rMFb3OPnR2HXgJk/9TyjISA9rO HvTIm99HhqrXSILLTGE0grTwsFpYoKipn9IOXTqsSjdL+fCnLIWPasfDhYpEhQyx/AZ5 rw5rztRFLD5f9SqzOIwHWHABUcBGAYwy0gP83xR3fmAnkD8u1UTFNT93FVnehXbXdWqo rpqg== X-Gm-Message-State: AOAM5320m9YshcPYJNUbXkjyN0V7ukPgt0piR5xpP0DBAhbcc86X0Roe UQL5qBQn6bC2Y9X7drZIKEk= X-Google-Smtp-Source: ABdhPJws7ntTtPVLj7mYtfvb7gYTFLEkH28jU8yl4PdCT761+aG2O4NYsOnHj3AbToEim87xr532Bw== X-Received: by 2002:a63:d849:0:b0:3f5:eb01:ae2 with SMTP id k9-20020a63d849000000b003f5eb010ae2mr37079284pgj.230.1653664647384; Fri, 27 May 2022 08:17:27 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id 19-20020a170902e9d300b0015e8d4eb216sm3929740plk.96.2022.05.27.08.17.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 May 2022 08:17:26 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-open-file immediately termininates when calling xdg-open that calls emacsclient In-Reply-To: References: <87ee0mp4hb.fsf@localhost> <87bkvke5iq.fsf@localhost> <87czfzwl8k.fsf@localhost> Date: Fri, 27 May 2022 23:18:06 +0800 Message-ID: <87bkvj57ip.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52a; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1653664688; 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=cwMulpYwzUAbMmBgEwNo0IhmtJ6LKUJ8D19djM+39cU=; b=q/7yZnnVoQMK9+T9G66s3sE9q6xv6u60FYFHQHc+KCjdMU0QgiVsf9nQ1d7tztI5rSFv5/ JP/PMpKw9GsjjfJsNMxs1fKNohvfenXD+w6iOPCWErPqp/h20KtGBjpfGKUdz3UPGkFDJA K9/HxG5erUkEE2gU7cFDpNVve6X6dr3mmFTM0vEBOxvmrSging66E2tb9P8WT0+vIHj94/ 4XMU/S3+lJGTPWHwef0sr1gGXPmv6meFk1ufwX/2u36q41Um01p5z4mc8hH7aXRjde1/ng /Enb0GbTMU20wFFoSpBmZxYlGt3RyNNgYMfYaT5Dws/cj85AoGxya97auN1PFg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653664688; a=rsa-sha256; cv=none; b=r3pYjYyA650xkj9RE9dje3EWk+LqDuA0Y3Xmw2MwKne6Auce5PWOaqyT5mXZU8k00xqQuZ IVSJbVu9BBbvQmew1+ZldfTwNrTo/Njy8LuENQFTgqjzJzbcYrbtIwOIxdqukou0dYwKvD lGr4aG7pUCS/e0pn5yXfcun5FAF+v+er9mWOO7t3ZBNJw6OkmmhIzmaMERSnx0Pyejbr2u 428H0YWXZ0nJRW1g8JParnz7E5IjKkwA3prkfUTZffgcgNE57sJdGTX/2WH2RFisTy5RKe QoOIWkfzgCc89Y6N4PKySQMRBaRBneHOqjKaokexrCCaFocRqSEsYW8WRqjj0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FHVj0sIR; dmarc=pass (policy=none) header.from=gmail.com; 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: -8.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FHVj0sIR; dmarc=pass (policy=none) header.from=gmail.com; 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: F41CF82BA X-Spam-Score: -8.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: WhhyGEJtW8gs Max Nikulin writes: >> With this exact init.el, trying to run >> (let ((process-connection-type nil)) >> (start-process-shell-command "1" nil "xdg-open ~/.bashrc")) > > Does it mean that you can not reproduce it with emacsclient instead of > xdg-open? Anyway I can not reproduce it with Emacs-27.1 from > Ubuntu-20.04. I have reported this to Emacs. The more precise steps are in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55672 > - emacs & > - switch from some info buffer specific to Debian > - execute the command you provided. > > New frame is open and it seems reliable. >From the discussing in the bug report, it appears that part of the problem is that my Emacs uses cairo build. Best, Ihor