From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MBPkN6HRjWK4bgAAbAwnHQ (envelope-from ) for ; Wed, 25 May 2022 08:50:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YHDuNqHRjWJy7QAAG6o9tA (envelope-from ) for ; Wed, 25 May 2022 08:50:09 +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 968F8FACF for ; Wed, 25 May 2022 08:50:09 +0200 (CEST) Received: from localhost ([::1]:38054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntkqO-0003M9-Qi for larch@yhetil.org; Wed, 25 May 2022 02:50:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntkQn-0003Nm-6h for emacs-orgmode@gnu.org; Wed, 25 May 2022 02:23:41 -0400 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]:44842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntkQl-0002Sy-2j for emacs-orgmode@gnu.org; Wed, 25 May 2022 02:23:40 -0400 Received: by mail-oi1-x233.google.com with SMTP id i66so23966881oia.11 for ; Tue, 24 May 2022 23:23:38 -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=4ohjkLa2GZ2K9mN0ZM/HX7rjw4mssjXIZOvOZDWxfks=; b=Cgd4oCZ/vKXbL4DQUkjRfKR4zY2DoTZx1mTjC4EtiozbPUalgJGn7PqWoSekJJM2ww WdBbAaxXBVXCEtvTL70frcnhnDtOE9VP+hI3JCMl+D8TVXx+82LzLnnrBdvBsSY+j7Sc O0Bii6t1f+T3QFzu/dVk1Z8CSyPdby4wGs4xnDc52DEivSA7uRAzgyRJ2RKAOP/Dc4xt ryVJgojBQY9nL5XpY1n2V3zWGy/e06t1DF0TSb4Epf6tJk8ier8YbQHxIfvFCnHFPOcm aSO1WLIO11ijguH9nxTpHUV3+Ez94sHcoZVoV4nj7zMOyI1flXZwu/DhbFFQGtObit37 zgnA== 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=4ohjkLa2GZ2K9mN0ZM/HX7rjw4mssjXIZOvOZDWxfks=; b=U09FbxEYt3k30DqrpCcu1Pn2dB9DLRxpV0uMoZcrX8dz0TlJ0DtSxaTm2xA6IMRQ5B R2X4j+XQv8ZcxAQA3GHHR2MeIi3PMghmzT/mu5HKkLsoDRhP77CjiNvW2VgyXyy6pp9a oONvujzqQvADSM11e7W1ODNUmG6x5h4z8Tduj6q9il2Wb7PcfNrm5fVk7o6jaS7VvnJQ C3UDhy2wg7/yZMN0LUOv09EM8UUEQu1BDrOl5cU4qLC4X3R30/bQvIixUESI7QFGnt5X mkJBCMaat1F0nwzV0mkolAzrM1Vra5QCrRph73a0PXiYB8V3JM+rKxCzEiBxne7WntuF KJEA== X-Gm-Message-State: AOAM530B7jh7I4an3GOLBREFab1sRm5JVAuLTMnrg0SXiae7PpI2mydm lTA7mcikaGsDtB5dKlGn7sU= X-Google-Smtp-Source: ABdhPJweBv9fxYIeIVynUX59ZXVLrGFePfVR34SIK749Z2vXorJQKUphC7b9pe923Wr0rS5+iCT8HQ== X-Received: by 2002:a05:6808:1204:b0:325:73cc:867c with SMTP id a4-20020a056808120400b0032573cc867cmr4221438oil.95.1653459817733; Tue, 24 May 2022 23:23:37 -0700 (PDT) Received: from localhost ([207.126.91.4]) by smtp.gmail.com with ESMTPSA id m2-20020a4aab82000000b0035eb4e5a6bbsm6352958oon.17.2022.05.24.23.23.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 23:23:36 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: Craig STCR , emacs-orgmode@gnu.org Subject: Re: Bug in 9.5.3 org--file-default-apps In-Reply-To: <3e677dda-f822-0f49-add3-e1a9c95084e8@gmail.com> References: <963d5f94-3fdf-a01b-bc91-edc99222cb34@gmail.com> <87czgeaxir.fsf@localhost> <6615610d-93ae-171f-b554-3f4cc79354cc@gmail.com> <87a6bhc1w6.fsf@localhost> <86692975-4d5f-6933-3227-c6b208f76862@gmail.com> <877d6lbsg5.fsf@localhost> <7c75b724-1ea2-5e3e-cbe6-e1895fd35bd3@gmail.com> <877d6j2htv.fsf@localhost> <87ilq14p6p.fsf@localhost> <87v8u0396t.fsf@localhost> <87ilpz3bi0.fsf@localhost> <0d8e9eb3-8b4f-127b-2293-2dfd182cd2cf@gmail.com> <3e677dda-f822-0f49-add3-e1a9c95084e8@gmail.com> Date: Wed, 25 May 2022 14:24:19 +0800 Message-ID: <87zgj6165o.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::233; envelope-from=yantar92@gmail.com; helo=mail-oi1-x233.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=1653461409; 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=4ohjkLa2GZ2K9mN0ZM/HX7rjw4mssjXIZOvOZDWxfks=; b=fDa/cmeUriAPp+3GQkJPJlhfz0Z0X9vwSXmD8eukWwrAWk+T7z0L/KvcbE96mt/kSmIzcL mJxX6tNX+pAACIBfzTSstkJiS+3VeJZcOPDbhr+5FURiQ1D0lIrufBkKk4Gleho2FuSNqf MPL7nrfJuxQ7cb907ltJKEg18XOaRGJAA5jk/apfKyK1f7sqx0AI7XwU9cLJ9iNSxUn4gC 25+4xI/SprD6cDK48FQxDjn5B6BL96pNBoMBfyTqXpXLaQ5UoyfH6C31vo4QlqN/Zxa21I oFWwmFMRUOvBLu2Vt413Oh9/cwXLxD5CzfjmADWCKZrtBQ64r9uqZ0l3M74Trw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653461409; a=rsa-sha256; cv=none; b=rZB22urzs4UTsg//8mPlgSw64N05r+tLTz4CnWSSOu+2C0+Ox5OIZzVjV5JGXdcAMcw19k sReLf7/P/P/q17PUlZxBuRFGd52j+jT/e8xT2JPuM6maRoMvQFJ/ld/xRebTa+a7nhOiGg tR9Bugou6cudNzJGetArBopPesBlBW7bSnKTm3wYuym80xQhFMfbyrpSoOkfVFQy0TjtjD UWnqKRfyMhUAo0YH4vh+SMfllv6lz/p0vPhzK4lvNVHnMHP/AO7FhSqx/Cpgrju4FOhQGi xhm+X2Pag8IH8+JFEpFgae27DAX7Dm/Px9lGfa9gKj1b8hZ8Gf8+PkcKyrCw7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Cgd4oCZ/"; 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: -3.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Cgd4oCZ/"; 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: 968F8FACF X-Spam-Score: -3.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: 42b3sOJ9P5Zq Max Nikulin writes: >> application/x-shellscript; emacs27 %s; test=test -n "$DISPLAY" > > Notice that such entry will be ignored when DISPLAY is not set due to > specified "test" property. You need to pass X socket and pass or set > DISPLAY environment to you "headless" container. Also, note that mailcap.el contains `mailcap-mailcap-entry-passes-test' and that function is ... interesting. At least, it should work fine with the test above, but only very limited number of tests appears to be supported. Best, Ihor