From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 aMEvBtsMgmJ1TwAAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 10:35:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0EH8BdsMgmL0WwEAauVa8A (envelope-from ) for ; Mon, 16 May 2022 10:35:39 +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 B0EED2ABF4 for ; Mon, 16 May 2022 10:35:38 +0200 (CEST) Received: from localhost ([::1]:50946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqWCX-0002Xo-Qb for larch@yhetil.org; Mon, 16 May 2022 04:35:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqWAE-0001iw-N6 for emacs-orgmode@gnu.org; Mon, 16 May 2022 04:33:14 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:33584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqWA6-0002Nk-Sp for emacs-orgmode@gnu.org; Mon, 16 May 2022 04:33:14 -0400 Received: by mail-pl1-x62a.google.com with SMTP id d17so13792661plg.0 for ; Mon, 16 May 2022 01:33:06 -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:content-transfer-encoding; bh=oGM7Vfc5C8OkkRpe1VPTLzwkwUGa5VF5TGHKm/N9E6A=; b=LsB/Uoq/0a8d2THpHd1hRkecW3pyvnX1vCBPpsxnoPhXfzc6apu5jnWYwEXOf2i3xW AloJZ7z3GvArp+Q5JxqzBROPHHviRx7FRQeQenfDUdrrgNy05Va5obcwQvb6YEcdxFq1 9vAKuZ+u/Uba9Zuai85ScQk4hc5RF+cz3BxZKoBNcV645yiwLBi492M6gCUVbwcBg9LP HkGzO5XyQzsBTbDyqNHd6j1T7MNGrir+nk4kWm7/t7IgP9359eyK/DuQbaGfqbPP62iF kf/fznawAU8G4gFDdCx48/l5XdbCcM0reHIH3ep2NTWe8ZpKfHP2xeKWflYYjvGCIpZJ IZXA== 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:content-transfer-encoding; bh=oGM7Vfc5C8OkkRpe1VPTLzwkwUGa5VF5TGHKm/N9E6A=; b=i/Ro45VRYBGfZGulSXNRK32oChez3Eyg0VtM4HNxPmxuA4cxUBMBnVg8hrxqup/Tng e4ZvsjGp6lzvqxDxyJ3r44pF31V1GexlVpiF/kReqv6JVCtvP7X5xKLUJt0RZGC/x4bz JdMDCC6zR65co0POEfBvov6XH9Byk2QEAvpLDOS7y/aeUIAVVZsEndVvStvj5jyKFN1V 4VZG5bZyDE/1Hu5UBKcoxibZ1Y0YemWKemgp5dSlUQrTtbQ80KW+A+tC1sR/ewdEYshf /1U4WRE3gEldbPa4sMYlZ7Nc9Lg235/jOyJtzwxYo8CU0euRmqXmqp6ztg3pSqDid4IJ Kfog== X-Gm-Message-State: AOAM5333VKAzPyO4XKsmi1pc11OZNB2t8qUVGo9qt1sJZEMtsj6RuCS3 8wlAQonwFwbPTUOYrNhWydE= X-Google-Smtp-Source: ABdhPJz7Nt8kBlkvNzzO3wEhh8vN7OSyt1GjxYBHeQ+IC19T8I22+DP7IezWdqcaPcLXETLuNS3ysg== X-Received: by 2002:a17:90b:380f:b0:1dc:596c:bb0 with SMTP id mq15-20020a17090b380f00b001dc596c0bb0mr29688668pjb.212.1652689985399; Mon, 16 May 2022 01:33:05 -0700 (PDT) Received: from localhost ([38.75.137.213]) by smtp.gmail.com with ESMTPSA id z5-20020a170902ccc500b0016152774878sm3994019ple.176.2022.05.16.01.33.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 01:33:04 -0700 (PDT) From: Ihor Radchenko To: Craig STCR Cc: emacs-orgmode@gnu.org Subject: Re: Bug in 9.5.3 org--file-default-apps In-Reply-To: <6615610d-93ae-171f-b554-3f4cc79354cc@gmail.com> References: <963d5f94-3fdf-a01b-bc91-edc99222cb34@gmail.com> <87czgeaxir.fsf@localhost> <6615610d-93ae-171f-b554-3f4cc79354cc@gmail.com> Date: Mon, 16 May 2022 16:33:45 +0800 Message-ID: <87a6bhc1w6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62a.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=1652690138; 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=oGM7Vfc5C8OkkRpe1VPTLzwkwUGa5VF5TGHKm/N9E6A=; b=SO0rMbLIVw1A5NM5i6OBxxJOD9rrbvM97TbvDJEx9KByEThiRGnm5nxiZbqNpJReiAX4VU 0XVaZg3h7OJIGe8tStSGMhIZOG5tO3jFzcULCNyx51fLfmJuG8IwteGoNFBOQNTAuEbwoj PZvorL+RggsAtudKBOyYfw/2bgqlMHZugSWBTJ301qMoYbnJajv+kUDNh0RhaGYuhFqUJt NQg4Y+zGVzcq636wUYKuy7D5CZ/KWTUoHF2xTAxSVOK0xlouikH6jQUAlM+pvhgZiIR43S 6U8SeU9MJWDnphvLkq8x7rnEE9Wk5QAJHQGga+/9C9YYOLFnwivzk05L8C64WQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652690138; a=rsa-sha256; cv=none; b=C1mF4NSHG9NJ2zMsMDvlD8AvGGCgjUkEJ/v0nCrOPQ8IJATXyM9Huj+Wpeb8TA2CTvlopu 3MyX90YwWo8TFPAWoTTRQ10bJx7xeq9SpguvvBD/P4m0vsMmudXrao7Q+icGH9jV98opOu FArRuODwbLFW/2tqA+JPzcUmtrF9//cce5QmRzsBcLon0DJvhFbWaNQ38tyJCWG/2uNSG/ CCH7o5hHCFgF649frL+wJofWRqvfhIcVIdsBHLeM6lN6RBbOIhOWNLC8swolyi5q3ndPBg j6hjiON8U93azaBNYh9jMfWYEtxExx4d7nCEVhEzgC7fDftLyvU7gIT9B/NeYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="LsB/Uoq/"; 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.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="LsB/Uoq/"; 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: B0EED2ABF4 X-Spam-Score: -8.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: jnOhZ0XrSpRV Craig STCR writes: > 9.5.3 does not return org-file-apps-gnu because org-file-apps-gnu is not= =20 > quoted.=C2=A0 Should be (and was in 9.5.2): > > 'org-file-apps-gnu > > but in 9.5.3 it is: > > _ org-file-apps-gnu Please try to run the following form: (pcase 'gnu/linux (`darwin org-file-apps-macos) (`windows-nt org-file-apps-windowsnt) ('org-file-apps-gnu)) ;; =3D> nil =20=20=20 and then (pcase 'gnu/linux (`darwin org-file-apps-macos) (`windows-nt org-file-apps-windowsnt) (_ org-file-apps-gnu)) ;; =3D> ((remote . emacs) (system . mailcap) (t = . mailcap)) The second case is returning a list, which org--file-default-apps supposed to return. The previous behaviour was erroneous. You may refer to M-x describe-function pcase to understand the code. Please, provide more details on the actual error you ran into. The change in the org--file-default-apps is not a bug. Best, Ihor