From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uEHRL3GFP2CRSgAA0tVLHw (envelope-from ) for ; Wed, 03 Mar 2021 12:47:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sGWCK3GFP2CoHAAAbx9fmQ (envelope-from ) for ; Wed, 03 Mar 2021 12:47:45 +0000 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 190EB23F75 for ; Wed, 3 Mar 2021 13:47:45 +0100 (CET) Received: from localhost ([::1]:48618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHQuk-0002OX-Tj for larch@yhetil.org; Wed, 03 Mar 2021 07:47:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHQuG-0002J5-5P for emacs-orgmode@gnu.org; Wed, 03 Mar 2021 07:47:12 -0500 Received: from ciao.gmane.io ([116.202.254.214]:33376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHQuE-0006oF-Iv for emacs-orgmode@gnu.org; Wed, 03 Mar 2021 07:47:11 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lHQuC-0003DR-NT for emacs-orgmode@gnu.org; Wed, 03 Mar 2021 13:47:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Maxim Nikulin Subject: Re: greedy substitution in org-open-file Date: Wed, 3 Mar 2021 19:47:03 +0700 Message-ID: References: <874kih92nb.fsf@kyleam.com> <87mtw8fupl.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 In-Reply-To: <87mtw8fupl.fsf@kyleam.com> Content-Language: en-US Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614775665; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=2mXlrXuvtAnhVnTKQFpElFsiKrSYFq2vBb7m9ntX/ss=; b=I69FEpRuXYmY2Dg2c1TTBBaQNRE/gSINV2GnwRpChkaJXYO+bl1uCxzW3qBx3yk7K6rPlZ JxuRdLdvW/ime1dg/xmjZ/X3UGfDvoVC4o+IPkCq0njN/ikWfmUt5DKI9Sk8eSjbh1QiO0 LCI4VaJsXPKf+l2VpQRaY9F5/VhawhCDrauXVaX6d07Obm9rL3KRYbJnAkxdY1+BoW5iWv x2bzcFKtxlYqy2YD+jggIdRpSanSYPVRtF9/Lc5ObSpCVaO3d239hFlKn/a18PVRWCEElH JefWhqLfRqeimqTfb9uPxCGatRGOQLO231cy8+0aUiwSVv21hxmIL0AeVD0Y9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614775665; a=rsa-sha256; cv=none; b=egepp+fO0f1qWfTKjwNHzrfP/WJPqBVw+f7zaZM0uZrWdPJBsdgOpEJhyHQCK+RH2VPdlY R1bnqyqAtmHG3mW+sLjR6FTYbPbtzyXxR49XMfU+I/x3dTNDIEKGoQaxO5tpytgNiemMmq AyQZpk3p2XPnYC53qnRcdWJJsy4NZCu1E0Hz8dKHlDuTsPOhw8VgWQhsCCF/d4nQeikjo9 q6miHksDE79HfPli7kM3DdKa+yuYI6dPrzkoq3c/l7/Rt7ahRKnJDDMDuY0kamUzjEQYCS S9d8TBmBsZQPQUhSXbfgB/1MLmO9KiTBB7sf2sGPp+Rt+oMqfASLFbPGPilK5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.76 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 190EB23F75 X-Spam-Score: -1.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: R+DXRrGmj+RU Discussion of the original patch: https://orgmode.org/list/4B51D104.9090502@jboecker.de/T/#u https://lists.gnu.org/archive/html/emacs-orgmode/2010-01/msg00450.html https://orgmode.org/list/4BB9C078.9050202@jboecker.de/ > The patch may make it a little easier to break things by > misconfiguring org-file-apps.