From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SKSCHXbSgWI6JgEAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 06:26:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8Ed4HXbSgWJ6egAA9RJhRA (envelope-from ) for ; Mon, 16 May 2022 06:26:30 +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 1CF6013C32 for ; Mon, 16 May 2022 06:26:30 +0200 (CEST) Received: from localhost ([::1]:44244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqSJR-0007BD-Ap for larch@yhetil.org; Mon, 16 May 2022 00:26:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqHQj-0000E3-7A for emacs-orgmode@gnu.org; Sun, 15 May 2022 12:49:17 -0400 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]:33489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqHQh-0002Vq-Mm for emacs-orgmode@gnu.org; Sun, 15 May 2022 12:49:16 -0400 Received: by mail-oi1-x22b.google.com with SMTP id w130so16085405oig.0 for ; Sun, 15 May 2022 09:49:15 -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:content-language:to:from :subject; bh=QHGTYFyM+u1td4iiVN9JkpilIthxUOnQjOXvgiQ22cQ=; b=Gc4JUm9g1+15ZE5F7ehPNfluEdfAektoBbSBtHFrbyl3wv7xylORN3XrmROhgT/NsD sShk5YDVIaJ4I26SUVRTDZCpzns6GHvBX+8BYxULXAtHnoofBesK+LBk4xq4PyuKeNTe TlGdOni8i/RNHwW8ApGkpzvpzLZH483CKF4oaJnup1mcxfK83lxrptvte5LsJu6UEI0t lMaYUCvddO/0XWclFsx0ggeODKnuYVoVBlFruP4XWAUde8w7LH+dPjmk7eBstBISj1LS /QlbARm27f5Jz6w6pUX2u0xdHJmD7opbnsfRFFuD7G5iFydfLiYBpW9qKUCyGZgA80dN KY/g== 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 :content-language:to:from:subject; bh=QHGTYFyM+u1td4iiVN9JkpilIthxUOnQjOXvgiQ22cQ=; b=1A/zpEeyoIla7hTHZ/yrgq6Tv8weQW6pgOMaPiRhT8KGizrnhhZPlqhLcI+Dhl7fJr o44dRMEvXUtIUzV5qSsBATQ74YQGqGh8vJFITqI5PAQ4cvIJkyZZZUo0YeqpT2ZlDwi6 nQkq7MCpegsZzAIM9czRsckBiWHg/U7I+M4Z9taILPkSWUWsGTfl70zEju1M2RWh+nuJ 2D0bj1vBMMOzu1TdyfY0sckhr/wzJMldGV7sFevVr1qzKg0OvFf0EVlLkVREHJxoM3ZV X7RRSj5jl9iqp7zpfRKJXaarL8eOIQfjS8O9hG0SDTMx24MD1j+GnixXIxwwLX2dEedD sxuA== X-Gm-Message-State: AOAM531nxRIeXyBBO4FGwc4mc/TFhrBVwj+vXk2sHpqar+PqLH60zOcx PsXZeqhmdWbHFR9/B+qL8Q1z33GIOBceCA== X-Google-Smtp-Source: ABdhPJwBEB1mRRexz8T5WGlJuE2i1W7c1iFFdJ5cZ1G2cp/QEHqyXNA+pC587py3uDCJN7DvDow7Hw== X-Received: by 2002:a05:6808:114d:b0:328:aaa2:10c9 with SMTP id u13-20020a056808114d00b00328aaa210c9mr6396064oiu.217.1652633353918; Sun, 15 May 2022 09:49:13 -0700 (PDT) Received: from [10.65.33.48] ([96.44.191.132]) by smtp.gmail.com with ESMTPSA id q4-20020acac004000000b00325cda1ffb4sm3078065oif.51.2022.05.15.09.49.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 May 2022 09:49:13 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------5llyNv6xyIcplko8dcS3FN90" Message-ID: <963d5f94-3fdf-a01b-bc91-edc99222cb34@gmail.com> Date: Sun, 15 May 2022 12:49:11 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: en-US To: emacs-orgmode@gnu.org From: Craig STCR Subject: Bug in 9.5.3 org--file-default-apps Received-SPF: pass client-ip=2607:f8b0:4864:20::22b; envelope-from=craig.stcr1@gmail.com; helo=mail-oi1-x22b.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, HTML_MESSAGE=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-Mailman-Approved-At: Mon, 16 May 2022 00:25:51 -0400 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=1652675190; 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=QHGTYFyM+u1td4iiVN9JkpilIthxUOnQjOXvgiQ22cQ=; b=gtppXNQGrEJytZ+nFe+g6nmGvcsNnFwvtmYAkXWxrigywkaLOuppTicclhOVKXUiaKVxi9 lFfpJJ58DBfdMexlERCXb97TwHS01X2LQBcMZFCfnzFgydJnu+yiUiKcuLOHXJbPxqHSBt vF1LUuprTvthUr5meJa0FVT80+uF7kwvhFvoC1oxBTeqdKptcbD5Q/21JKYxC0XuObmN55 lgUvOxK6qIAZZyfKm9x/q4wH/ha7ug9hkjgKMRKtAohT4s4ArX3b7qdj3tFx7NjOrEKGL2 6ArE3zzK8o8ZLex47CnLVPhZm5o+h0pkmeO3fHQCldhKOiaFfJZJNEZcQBj7pA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652675190; a=rsa-sha256; cv=none; b=GJ4WdCAtllu+1RAaQccgszf4SlT6KKad4ccJUR3B1GIzdEpKFrCWd3EvvH1GgtdLkHoc1Y fS+XqCXjtIRb+oWVCij1hh7H4mebwtFxXxuF19zrFal3qj02ZycphUQBMnVlNX2aLKoXgt bEjUVV2ln5r86D+yL+nnD4hcXDb7qOwu3Vnnr0PCxLqMgAeWiiy8uBya8wl1rFpKxeZUhW cKM8ep2i9TH8BpU27b3QFcZ5IHQ46Iabhe9aVaryygezk6atv2JTUUHS43YJU8T7GFg3c/ By+zPHreZKrmz9+ec3liNSpuCPRoutUR8jqH4hwx9O9VNsKeFDv0cryeTZmorQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Gc4JUm9g; 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: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Gc4JUm9g; 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: 1CF6013C32 X-Spam-Score: -4.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8D1keTZhSu2g This is a multi-part message in MIME format. --------------5llyNv6xyIcplko8dcS3FN90 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I believe a change to the last line of org--file-default-apps introduced in 9.5.3 is a bug.  For example, the change prevents shell scripts from being recognized correctly, since the mailcap logic in org-file-apps-gnu is no longer included in org--file-default-apps. Best wishes, -Craig Stcr1 org.el 9.5.2 (defun org--file-default-apps ()   "Return the default applications for this operating system."   (pcase system-type     (`darwin org-file-apps-macos)     (`windows-nt org-file-apps-windowsnt)     ('org-file-apps-gnu))) org.el 9.5.3 (defun org--file-default-apps ()   "Return the default applications for this operating system."   (pcase system-type     (`darwin org-file-apps-macos)     (`windows-nt org-file-apps-windowsnt)     (_ org-file-apps-gnu))) diff 8701c8700 <     ('org-file-apps-gnu))) --- >     (_ org-file-apps-gnu))) --------------5llyNv6xyIcplko8dcS3FN90 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit I believe a change to the last line of org--file-default-apps introduced in 9.5.3 is a bug.  For example, the change prevents shell scripts from being recognized correctly, since the mailcap logic in org-file-apps-gnu is no longer included in org--file-default-apps.

Best wishes,
-Craig Stcr1


org.el 9.5.2
(defun org--file-default-apps ()
  "Return the default applications for this operating system."
  (pcase system-type
    (`darwin org-file-apps-macos)
    (`windows-nt org-file-apps-windowsnt)
    ('org-file-apps-gnu)))

org.el 9.5.3
(defun org--file-default-apps ()
  "Return the default applications for this operating system."
  (pcase system-type
    (`darwin org-file-apps-macos)
    (`windows-nt org-file-apps-windowsnt)
    (_ org-file-apps-gnu)))

diff
8701c8700
<     ('org-file-apps-gnu)))
---
>     (_ org-file-apps-gnu)))

--------------5llyNv6xyIcplko8dcS3FN90--