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 cFClF0UWjmK7GAAAbAwnHQ (envelope-from ) for ; Wed, 25 May 2022 13:43:01 +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 0BGeFkUWjmL4EQEAG6o9tA (envelope-from ) for ; Wed, 25 May 2022 13:43:01 +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 EF31117116 for ; Wed, 25 May 2022 13:43:00 +0200 (CEST) Received: from localhost ([::1]:38326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntpPo-0004h2-0M for larch@yhetil.org; Wed, 25 May 2022 07:43:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntpLn-0004ey-Bc for emacs-orgmode@gnu.org; Wed, 25 May 2022 07:38:54 -0400 Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]:46658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntpLj-0005gc-Fz for emacs-orgmode@gnu.org; Wed, 25 May 2022 07:38:51 -0400 Received: by mail-oi1-x236.google.com with SMTP id q8so24640396oif.13 for ; Wed, 25 May 2022 04:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=oPWHkyDVF5FQZfrPVIgdHggTN3WgIQcbBbo49012nxQ=; b=A4i1vsjUVBa/X2zIt2W7wuF61LAU0SYfiJ/FiLtudonFvPBpzuPWUTbOuDgeP5h7z9 71m/bknxHd+3utZHTufmBJrUx7b82cPQpj/lgxIn5g7M/ZNfjyWIRLQWQdqX71Uz49Rq gIBVuNkLHX2l9IV1sdoSZDmgGxEUHKw7TLEgrG14ctoZGgKgHJPt4Ky13A6CJkC8DYcL JweJvQvX5w6NaLuqEzDjG7DeIrt5T5V65UElof8s4Vpwof+Q4CjMUj8liNBgggzjJYXl /1ViqFAcoW4Ca3h1FyDD9/vsAemS0RQKIoRGBig0Fcj39diUshwU3Iux/s6P8IQTqYUB 4dEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=oPWHkyDVF5FQZfrPVIgdHggTN3WgIQcbBbo49012nxQ=; b=SJbOUUw5D4UW/M33otuX+L2R3Cwk/1mvdLCNHEZM7rbX7oO+O11ZM1OTmt3KC5GctH KZ0iUawNoSaAcPVydTGBJWQ+ui8T5R+NzkzD6bX9p9JuZhQWvyd6kOSFl0sXRsT6LKLj 3BtT4ayEYngH2JA+kXdkDiZDN7fIdqND+h9st33uGepKcbLGgIubdgbnuqMIfxItSPEK Fs5JSSA93tUs9gXu6QY4q36TK/JCotWPRz6myfsN/SvvEZpNDKdov1kE1XYtVEYyTjML fMCc1Gr/WpxQWlJ6sKZIhlMdeZlrd/GNBT1NSnFzZ0w8DIPGztQH3m3+pWyW61eCZuZ0 ct2A== X-Gm-Message-State: AOAM530s/dUYJs2WaQ0SkdCE43jV+Now28GLLd5K0AtSdefEsCvP3Jnv 05Va8oO/X6p6MS1wHRtG0ec= X-Google-Smtp-Source: ABdhPJxOi6JJX94kGcDVUE0dlOXcKSu53Lwce6xh3VRiYVANgqqOT62YXc+W2v6lMqPfFjDNwb0hkA== X-Received: by 2002:a05:6808:188b:b0:32a:f4d8:931c with SMTP id bi11-20020a056808188b00b0032af4d8931cmr4788815oib.44.1653478718631; Wed, 25 May 2022 04:38:38 -0700 (PDT) Received: from [10.65.33.48] ([96.44.191.132]) by smtp.gmail.com with ESMTPSA id n3-20020acabd03000000b003264a325ecdsm6087157oif.5.2022.05.25.04.38.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 May 2022 04:38:37 -0700 (PDT) Message-ID: Date: Wed, 25 May 2022 07:38:36 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: Bug in 9.5.3 org--file-default-apps Content-Language: en-US To: Ihor Radchenko , Max Nikulin Cc: emacs-orgmode@gnu.org 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> <87zgj6165o.fsf@localhost> From: Craig STCR In-Reply-To: <87zgj6165o.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::236; envelope-from=craig.stcr1@gmail.com; helo=mail-oi1-x236.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, NICE_REPLY_A=-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=1653478981; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=oPWHkyDVF5FQZfrPVIgdHggTN3WgIQcbBbo49012nxQ=; b=oayRSqiORval1LaXoXN1I0BCmit89T44kIXa0NXec6Y4GRBE0ygIWomA6QypJFCfJn8mgQ PhGzyNxaU5Qp6g201WI/l+HMRpdTBQRnm/rjsgIMVhsU2o/XGTKT1++3BqW2STYs+YVCgG 2spQsKPa7qR4xJh9zlgi4rb3DZFDjiummL5F2dZfbWT0qEE958fqdgdNI5UgqKf2irP8Fu xAirkN9nuA1iLWza0Xk1QB0ufLac9+y3dV6Wuxksy05tqJDQBDikrXRV2EykLMrToNy+H2 h1A54dQw2c/As7t8cveBJgSCHVTrCj58hM0FoyvqsOnbNyt29/bwhRb9SmnosA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653478981; a=rsa-sha256; cv=none; b=oLr3OMt/Wvjfp3WsoheyC7WaiR6uUmMdgI5QXEclf6eL5rJpUzm9kYF8rjSBSCOJ2UeF+g JwtgNbyhXqwWZmq3E1si/fgcHAfgBmuJ9RIBm/G3YPOaUIdRgXJXy5zd5qkM0zY+UjiAhL Y6xV6cmHOp0hb/0ktKMbhe9MOpILtvlViFvb4dr3G+vs/zkD6vhkKt/+mvgokcWXDHnG+5 Bb8v3I6ymd+W8hz1P2wqf7VPZjQxTv74Rfqo+OgqmlRPATk9rdaOTACyWhnadiTKJwSpfP b7JL7wCegUup2Ij6IkpZNxetzNZI9ajeZCEQYekqGVQf4tLtw2ekmIf7e5jUoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=A4i1vsjU; 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: -2.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=A4i1vsjU; 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: EF31117116 X-Spam-Score: -2.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: HTT/KoBBoWAM Yeah I was wondering about that 'test' line.  I was wondering if, like you say, it gets ignored.  Or if the true / false value gets passed to some other logic that would, for example, add a '-nw' to the emacs command line.  I have no idea. On 5/25/22 2:24 AM, Ihor Radchenko wrote: > 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