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 ILwLCZdIhmJstwAAbAwnHQ (envelope-from ) for ; Thu, 19 May 2022 15:39:35 +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 yO/vB5dIhmKhGwEAG6o9tA (envelope-from ) for ; Thu, 19 May 2022 15:39:35 +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 B5E71FCD7 for ; Thu, 19 May 2022 15:39:34 +0200 (CEST) Received: from localhost ([::1]:34922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrgNJ-0005D0-H2 for larch@yhetil.org; Thu, 19 May 2022 09:39:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrgMI-0005CA-S8 for emacs-orgmode@gnu.org; Thu, 19 May 2022 09:38:32 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:42551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrgMH-0006yk-D1 for emacs-orgmode@gnu.org; Thu, 19 May 2022 09:38:30 -0400 Received: by mail-pl1-x62f.google.com with SMTP id d22so4810243plr.9 for ; Thu, 19 May 2022 06:38:28 -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=thkU30HV+52oZoaFCL2CNIm0PC2WvFX5xeS/EMWB3Jg=; b=Yi98/E0i5PzyYzYhnaPG8QY4Ed9qrtciI7uRd8poEWgqPSoBv7pZw987xHYFtDMykj vkkdIIamlZped/sZP9tKp7HK8tF5OLQQReHOxbiB6Tb4lJisbqJkygwFVmxKdmw7naTe pavXO74Z9SkUUxh6EBeALCk1tqOkIDnWFi13YcDHxviz2K58KG5CMSah3eR315SZ/yVE 2nfVs8B0MFmTJDTCELIiUOHFmgcath51I11DOCWXfhxXJD8IRLauIz7SJD40lh5XElgo faVB3ovkRh7ftqdkUloaSTcwll+3LfLvhfuOVDu0crYGAcp6U0E9l4hnXqO6ELCTqDn8 DH7A== 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=thkU30HV+52oZoaFCL2CNIm0PC2WvFX5xeS/EMWB3Jg=; b=3jroQU6uy9YIOF3c5O3x9C9CBP9vEQFmUOchZ7f1azrPn3cRtgkm5/1oy+JFD1nUR/ VBR83arUH5Hz8D0WGDZecSOHfHvZ9X0HwNSF0ps4w+dv/mXhPTpnQya6fjVaUaqC1d7n w3rlrcCTupQeSVEl8Ai5uxHWF021A6ih+P7K5HPoQVu5fthJV5tXw8cOIguOvNP8/kby 0WKnITyGuOfpATQ4VVDn8l2vXB1TdVAEfNA9NQGNwymSQ4E8hw6MMBEuwAHfSkUqwVcF TwrGmFdmADvpnFmugPdmFOdeh0ss93l46qa4jY+XiOu/YPWxYJkvkR2n0PNKS8T5Wd35 dfbQ== X-Gm-Message-State: AOAM531m23otjLhaspIG6W+Fk4IP/zuhDjjGcgAqWEhy0xP6vFm2LS9A CyXBCwopx5gvo1g/gKGPGnc= X-Google-Smtp-Source: ABdhPJwZLDbvhbXIcdjMAE6gp43NJ+R0YX1mN+RfhhmK0+IgWJ+Cb0cniDqlO+4paMPDZxSVJPzSDA== X-Received: by 2002:a17:902:8645:b0:15f:2eb5:3d49 with SMTP id y5-20020a170902864500b0015f2eb53d49mr4731876plt.42.1652967507858; Thu, 19 May 2022 06:38:27 -0700 (PDT) Received: from localhost ([104.223.87.12]) by smtp.gmail.com with ESMTPSA id v20-20020a1709028d9400b00161a9df4de8sm3715773plo.145.2022.05.19.06.38.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 May 2022 06:38:27 -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> Date: Thu, 19 May 2022 21:39:10 +0800 Message-ID: <87ilq14p6p.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62f.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=1652967574; 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=thkU30HV+52oZoaFCL2CNIm0PC2WvFX5xeS/EMWB3Jg=; b=YDrfxuEehCVz9M+iRqBoDmjt72sJkEh8pep0cu3YDvj5jDR/Sr+KsztJ7wBjeT/x/5wUyy HbtktXaHmSs24zSdM+rn2/C09VMbr0giu1gAayeIjP24PLy1RmG24GVV/aCJ0UenN1H+5v H8lf4bXI4pgS9hzYkzcEQevFhfLDLKHcJgVQDqyZMhplt1sMT/7W95WaQXxFtn3WEuc63x G0CfjaH3L9Mv/cK/Nwi47JHjt96yjNQnVeGFCu3OY31hCfzfHV46O+yaaYcB4V8JIUxbAG V8MBYxf25ecBuKOvWE9Ry5EDzsrAW1H/q1cpcrsYt/tDnwcH7N3gVJd3RL4UZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652967574; a=rsa-sha256; cv=none; b=ClfZ2Gg1MUA3xPru3jpe46wKKNknMd9I7VYdai2k4Y9fFjXkO8nBmWJNys0c5EMt1IO1Ud U7g3OuGN0LqnxjmtQaObOETO6hqMwSnRBpUonjA7wckN/CJuJA/QwJiAOVjN9gqU/tDAu0 l50N/THJ943wWkdm8jrZEMuUa/kkL+AV2bxP+WvRrGZ7611jOuKBYSbIhTbTt7pzZqOyvi NT4iE26PNLSq5s22LsrFHkpROkFdVBYiWZCKepSqE822fGtd+i8apEBq75YOGfnPb5Ljd8 HWoIPogwVSuK211ILFlOF47ZqX+7x8NZEnwNBb/Oo1mf0xE154ZlQRXGjR3EiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Yi98/E0i"; 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: -5.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Yi98/E0i"; 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: B5E71FCD7 X-Spam-Score: -5.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: UpEKqnjCGrtO Max Nikulin writes: > On 18/05/2022 18:36, Ihor Radchenko wrote: >> Max Nikulin writes: >> >>> Sounds reasonable. However I just have tried a [[file:~/path/to/script]] >>> link running Org main HEAD and the file is opened in emacs (26.3) other >>> window. >> >> The behaviour is dependent on the OS-level mailcap defaults. What does >> (mailcap-mime-info nil) return for you? > > view-mode > > 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)? Best, Ihor