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 bDJGJj++iWJiGwAAbAwnHQ (envelope-from ) for ; Sun, 22 May 2022 06:38:23 +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 WDZWJT++iWJVEgAA9RJhRA (envelope-from ) for ; Sun, 22 May 2022 06:38:23 +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 5902225790 for ; Sun, 22 May 2022 06:38:23 +0200 (CEST) Received: from localhost ([::1]:44406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsdMD-00048r-Fc for larch@yhetil.org; Sun, 22 May 2022 00:38:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsdL6-00047O-Ia for emacs-orgmode@gnu.org; Sun, 22 May 2022 00:37:12 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:39456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsdL4-0005C4-9Q for emacs-orgmode@gnu.org; Sun, 22 May 2022 00:37:11 -0400 Received: by mail-pg1-x532.google.com with SMTP id t28so3372770pga.6 for ; Sat, 21 May 2022 21:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=evPnP4FFATTCRbz2QrLe6CBGPdWWsZg2WaVaeMaPtdE=; b=Fnvb5U51jWBme2EURyRcQwGSREzjjgr4ah831oMjf6RT46byl/nIaPYsbFS/XZumUH xoun+BYJewxO7FyFKqnLp5fooEEARaVRNp9p5y0B+mbzvBDRW8rFFFKWqv2h3VOFUSgC VCeIjMc/GTWOj3LwFCjBL3RZy8A96gVp4ulDRlHkYN5z1fe1XOkwPqfQUrzsrGhHwt9D yHiQb/fnoprHL8w/EOcnCvwWrY/t0g2jRmLUXP3Ft2ytnWHJrO9+hfJGqS62bPjWsAtf Up+G4Y+3KXQIQ0GI3BVScN3X2xtKayDPK/ECFB5IjQ6OY54EjDwsTDydKggqywOWw1+3 qU5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=evPnP4FFATTCRbz2QrLe6CBGPdWWsZg2WaVaeMaPtdE=; b=I2DxyWE7Hlbuiuy9csPIpsafjBnNkFRLEdthVAwQE0V6f/zCcc8H7vWnaMGcVLslHQ qp5RfVG5sdXmRIde2lXKXDZznChNe3ahBUBo8HB1OBfgK+NcNXB7jQpD8YqIvZrJ5bv5 seF9HErIq2f9EgjukCgC2Qq1I5NnmPt89URnaGMp4Dzcp0REbbE8DL0XrN3iNexQjsOV AhDqPcP7KGDClfYg0lCFH4Q1C1/M6QYGAnkMGlmqt7GWUbhIs5E2iR8Lh0Vfl9D8rWNz QnXMnAEIOm4Jwmi/m8rI884mFxqkSavZurdFZlVe4AqvG+idn2uMkZ65IPnWtc4AvoQc JASw== X-Gm-Message-State: AOAM5321C5ZQX/q8KxJkx/eJIHHk5Iy6N0DHYWLKSMHCQzCm/ygUmThv LtPmokriExU47ebIZ6C9ZLjuApz5RcHP6g== X-Google-Smtp-Source: ABdhPJzZ4b3Ut/atJESJejyAb0FXC1pacvhmbn+ORZACHoqgf6CNkZGNPIK04syXenUR9HTlAtSkWg== X-Received: by 2002:a65:6e9b:0:b0:3c5:f761:2d94 with SMTP id bm27-20020a656e9b000000b003c5f7612d94mr14889477pgb.79.1653194228545; Sat, 21 May 2022 21:37:08 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id n13-20020a056a0007cd00b0051844a64d3dsm4497442pfu.25.2022.05.21.21.37.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 May 2022 21:37:07 -0700 (PDT) From: Ihor Radchenko To: emacs-orgmode@gnu.org Subject: [BUG] org-open-file immediately termininates when calling xdg-open that calls emacsclient [9.5.3 (release_9.5.3-508-ge268e4 @ /home/yantar92/.emacs.d/straight/build/org/)] Date: Sun, 22 May 2022 12:37:36 +0800 Message-ID: <87ee0mp4hb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=yantar92@gmail.com; helo=mail-pg1-x532.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=1653194303; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=evPnP4FFATTCRbz2QrLe6CBGPdWWsZg2WaVaeMaPtdE=; b=U7OsrZbJJthLSP5qk6prdylH05LPJoKQ60uAtzdg+elPUelKprKtwsyUpc4PZRpP9LDxWt bwMMhU3P/sVSyrvNPu/czfNUuGjz571gpCXH+fSvng+tQ8CWTTGuIVtoRvu+4NenC6iJEj NHPUAZbEH4GVykRlK5qES0OedKCezK96akrH7k0vlJs/1HMZra2GmYXhWshAfrWI97EUT7 gGrrtgIoHTUfer80AB53Usy0jSoplM/kTK6bQf2dLZDVAmpx3n2dkXwUGdhxhkifuL2EId JlZOdzODvKZ/D6khGbrwdY3rJbbFuG0xVTlyqSP20tecZgirwLSqrhCQs20hAQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653194303; a=rsa-sha256; cv=none; b=iVbsdv7pwzs8cCk4VefiR+0KQFg+8iVfr+77DOHcuQ20SSaaXKiaIrKNcp12OX3dg/PuC8 4VjnL/hJAIcIB8TAMjlVXsap4U6rBo5CXjALBOUVGO0orhyJmfiX14p9b1MJewIh4nOJwf EDc/ygjEnQc5xXT2d+oehLvaoIA/jIQyzIMk+1BS2NS9nJOQV4cNpPLuUdsqbWu1cq3HVm sgVutiwA5/aF6aMCT8W2K3/lwIYNLSTCXsKtXDMKLcefmkalPkrsTrebj05qAh1cdSNlUw hOg3oKb9PyNAmWUTJhHKdtw4RBDvUZLuROnLP+vEnGJAX9mlMGYazuqKgZ7m8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Fnvb5U51; 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: -5.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Fnvb5U51; 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: 5902225790 X-Spam-Score: -5.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: bxNIbCwhWJlQ Hi, I have a problem with the following commits: 869b7a21b org-open-file: Avoid make-process for Emacs 24 compatibility 5db61eb0f org.el: Avoid xdg-open silent failure They both set process-connection-type to nil/'pipe. Somehow, this change breaks org-open-file for me when org-open-file calls xdg-open and xdg is confugured to open the file with emacsclient. I only see a flicker and the file does not open. Sometimes, Emacs even crashes. If I change the process type back to default tty value, things work again as expected. While I understand that the original commits intended to solve a similar problem, they clearly caused the same problem with other apps. Best, Ihor Emacs : GNU Emacs 28.1.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2022-05-14 Package: Org mode version 9.5.3 (release_9.5.3-508-ge268e4 @ /home/yantar92/.emacs.d/straight/build/org/) --