From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iACCGMpPh2LHDgAAbAwnHQ (envelope-from ) for ; Fri, 20 May 2022 10:22:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oDeTF8pPh2JD1QAAG6o9tA (envelope-from ) for ; Fri, 20 May 2022 10:22:34 +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 13E28C1C6 for ; Fri, 20 May 2022 10:22:33 +0200 (CEST) Received: from localhost ([::1]:38016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrxu4-0002oG-CK for larch@yhetil.org; Fri, 20 May 2022 04:22:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrxtC-0002mr-AN for emacs-orgmode@gnu.org; Fri, 20 May 2022 04:21:38 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:36725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrxtA-0004d0-Tk for emacs-orgmode@gnu.org; Fri, 20 May 2022 04:21:38 -0400 Received: by mail-pg1-x52c.google.com with SMTP id h186so7148326pgc.3 for ; Fri, 20 May 2022 01:21:36 -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=XCS0ct7zxTTpCXwS1fO14hmUp8PNE2HGfZwq22g/Wto=; b=TiJ1IYvvoiM9xmC7OfsiSO4QJY4TC7OzDZ56IaWlqLmy5GZNir34cz6hklru+NbaTy S6CIq2Rt0XZGYa7vKu5uzShmbGealaUGoRXcc9x7LsRpg+dl8e3Cxh6ws+T/dDAWsqSQ oAOHTmxREOdV5ce0huMnMNmgL1slwNnlB2wyJRhtKrd55N5Syv9o1F+oL5BwHjihobpJ eHx051kI570l1ICWucZKKlrMKX4OZg+p448xCUqraI+y2w9xnANSQyp6gos58lQ4Asox ttVhNnPDMNzPobOfOGilTZZfs/MqfQ6X6yqwipd6sTsqFG/MYh4j89pIaO6oSjFV0eCQ oNOQ== 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=XCS0ct7zxTTpCXwS1fO14hmUp8PNE2HGfZwq22g/Wto=; b=vRy0C6cLrXXRV4NqU1wb3coxBZiZdRVZsTmLyUlOUjVlQgQJcbbKAwX/RRm7K2LuFh pmfIJD7NeamIGrSWhuYypUYHQrZRkJhFFhc3nSAveQT6bxmtKOaDi/eOYY91ewdjFUEN +Mvh+bcHvo6rf2DHuJtqzDZHzyRAdk59W++jGQSkjgOJcFQX+OFw/0Gs/Obj9h8dPuZn 59mkX1d7UI3dsyzy/n24N09Om8DOIvU9qw/DeADzBwdIhw9JUmyqlPFeukgSkHmw6doO AnS+/cTXAzxMNMCzaJO6P7FDiq/roTPO/7RIBEi4i1tqwPjvMYOJbvu9BOOS1ye5nkYD zmnw== X-Gm-Message-State: AOAM533kqmtuWcwLo+abYT+KHfXKHsPkRM23weN+ENhz17zs3Ui5l2KV LHIVbMu8aJtiK5iTMjdo0GA= X-Google-Smtp-Source: ABdhPJyJ7WY4QHcWqsuU78rEudIAG0nlkNGZ+CeNkhHMY9sXgl6xk6IHKdL5KnTZUOtgiVRGGixmRA== X-Received: by 2002:a05:6a00:23ce:b0:518:4115:170c with SMTP id g14-20020a056a0023ce00b005184115170cmr7028912pfc.76.1653034895498; Fri, 20 May 2022 01:21:35 -0700 (PDT) Received: from localhost ([134.73.242.163]) by smtp.gmail.com with ESMTPSA id u8-20020a170902714800b0015e8d4eb284sm5078268plm.206.2022.05.20.01.21.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 01:21:34 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Bug in 9.5.3 org--file-default-apps In-Reply-To: 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> Date: Fri, 20 May 2022 16:22:18 +0800 Message-ID: <87v8u0396t.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52c.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=1653034954; 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=XCS0ct7zxTTpCXwS1fO14hmUp8PNE2HGfZwq22g/Wto=; b=HVEPIhIWVlURolSfyHfx+xTYe3p4NCmvh+Az8stJ6nqoa8vmW0U2iiCx5qzgsYMJepoIki bt48C7DtwE1/pCZA0QOjBM6O5JN6iLCUGpl4XCyG4QUJ8Wf5TE3Yel81kI2xtGj7pbWJWP z0BHrppk3DmpkHgZcPdM+JXqcpx2OMBp3PWvYU4iv0o4DvTk8L+ZfIZlnjkxGAGw7+iXJ/ gxi64JJlNDhsqzzhwhFus5mEdRcNFmzYPXOkNHvcsh+17Qt7bmlZJYtVBRe5IMjQOJbCEG Ex/8q/x3ii1x1I9XLreaUVnDREmSz5UNNu1VRdd0Kx94ZyGH7B3yFBgd76DLAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653034954; a=rsa-sha256; cv=none; b=E4FbMsOZHL4P6kR86KxhLPYAa3Tg7b2qa5TmNrUIA9/6mUCAvXDDd72/pHZFNzPDfmeSQt mDQnzcaVNx0Tj7qo3V5zj9GmPxA8KNql45/xt8hsiJR2AAHIQQkMXlBvf2fXtBwjxVJ7Z8 AHbWzPRiFl3lTOLFO0kCsjWz4Yu7A8OaMfvpnt5Y14Vvj+3lVDB9comZjs7uHGCcTwwQfq ExDudwGajBCavzZskK+JhItS2rGIE7ieV9le9Jm7B2SSo1oUsyqGMaTqI5fTNOL0Iw2Ze4 eeHoMbCrAu5g7NMaR7uO2B2jIl78hR/XzicXh0yvg43DR46UDjMiTQl87s+IhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TiJ1IYvv; 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: -7.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TiJ1IYvv; 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: 13E28C1C6 X-Spam-Score: -7.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: iuFsATKT86/q Max Nikulin writes: >>> run-mailcap --norun ~/path/to/script >> >> Note that mailcap.el does _not_ use run-mailcap or anything external. It >> is written purely in elisp. >> >> So, can you please report the output of M-: (mailcap-mime-info nil)? > > view-mode Sorry, I did not consider that you customised mailcap-user-mime-data (I guess). No doubt your Emacs opens the script in other window. What about using emacs -Q? Best, Ihor