From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sLHUNzE/cGG1mQAAgWs5BA (envelope-from ) for ; Wed, 20 Oct 2021 18:09:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cBVvMzE/cGFRIgAAbx9fmQ (envelope-from ) for ; Wed, 20 Oct 2021 16:09:21 +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 5320FA03E for ; Wed, 20 Oct 2021 18:09:21 +0200 (CEST) Received: from localhost ([::1]:46624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdE9X-0003xx-Uf for larch@yhetil.org; Wed, 20 Oct 2021 12:09:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdE8c-0003xm-FH for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 12:08:22 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:40637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdE8a-0004HS-OD for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 12:08:22 -0400 Received: by mail-pf1-x42f.google.com with SMTP id o133so3351138pfg.7 for ; Wed, 20 Oct 2021 09:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=JjnICETjHdAEZL0AQD1+nX6ePzhmSi+zRf6XPs4Hz2g=; b=HE3AV+KSp+rozE7dqAzhD7SCLSKSYn/uGF7LlcuLK6cd4/R0STW8UWAJrm56X8nUAO mHm8WYjeCEBVCt4GbJnLc4G7i934jATkH/vPdCFJNwd/4Mp2rZb50T5DQX6HzWHzMXAD ZataDiyZj/IhbutvhZJs3bBuqODiR8iFTMS5oAbsPBFL8cOR9gRMexCgK+f+3jJ4YEEt 2nHXQqJy+s2Rh1qeoPKN4HzpffhkSIanL3MgUKLKfl0FF51zICVQTWUgeaIcQEDz+wrA hqAqVqn0Ev5ZZQAnkeNKfpMzOuiT3EpBMwAG/PjoJR5HUqo3+/2leamPKN9I+xpVhhD9 qkqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=JjnICETjHdAEZL0AQD1+nX6ePzhmSi+zRf6XPs4Hz2g=; b=Mx+s8hHKOmnDtokmI3OBWqMLBpTPTZKkYPmGHrmbrsVglWTA7AXd5HCPeKcjvtEYvf mgIHGxY+sseAzLvgOvEr7hWehPqzKW5XO5BhxCN19mS660Q1DRkpxrqqEt1Cj0SRwgQn +bFhArrUSBH2EdIR0vhUGi7wXDU8DjI7cEKb3U6aXX5I1JIZmgHAmO5fmPi853z70ApO /mPwQ7iwBu2UmOdW+uRYv+p/vFql0BQmcexexlhhdvSoZAuR8+av9EC7uzqPrP/ajHsS kppeZy2G3IafK5bNByrHNyd5mFjqQgey8Txy9XBRgOcLW9MASxXn0cLM7RQZp+WqM96G ERQQ== X-Gm-Message-State: AOAM530jPF3t65JGdeTxBR3IcswIFCBLxq7Aa5p1RgiF44QWQpyDITBO LG2yYwYlSzygkbJ0BmUFQ+g= X-Google-Smtp-Source: ABdhPJyY/uFjoXVp7usYbYkK8uUD+diyM5i/Nim7Qd0ZIgKmdgN2t3StfaNm/dSSYxy/cQ+ob3MpDA== X-Received: by 2002:a05:6a00:1945:b0:44c:a955:35ea with SMTP id s5-20020a056a00194500b0044ca95535eamr598945pfk.85.1634746098746; Wed, 20 Oct 2021 09:08:18 -0700 (PDT) Received: from smtpclient.apple (2603-8001-7a00-01a0-d522-c35b-6380-a68f.res6.spectrum.com. [2603:8001:7a00:1a0:d522:c35b:6380:a68f]) by smtp.gmail.com with ESMTPSA id k1sm2776415pjj.54.2021.10.20.09.08.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Oct 2021 09:08:18 -0700 (PDT) From: Mark Barton Message-Id: <9BD84FB3-4BC5-4A9F-A33C-C2F5C0AA3358@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_DEACDE1C-B566-4D38-A78F-2CFABCA470A9" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: How to open a link to a folder/file in Finder, not Dired Date: Wed, 20 Oct 2021 09:08:16 -0700 In-Reply-To: To: Gerardo Moro References: X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=mbarton98@gmail.com; helo=mail-pf1-x42f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 autolearn=ham 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: , Cc: emacs-orgmode 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=1634746161; 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=JjnICETjHdAEZL0AQD1+nX6ePzhmSi+zRf6XPs4Hz2g=; b=VZNIes7NLtSugqzP+ImNcmeXJXazqzOy/WwKGU2LnCWSZLSmAbi57yCOpIWsGACcxAnQmD BbPu+ET4PRCFipVysmVo+2PDTIbtP7Qfp6ULBY8iDWRc9/SFOXZrflOw1bZoXCmYyVA+Eo XW85JS0KFo60qb6Tdhl7wDZlt1Nxa80YGV8NnZEHwA3itWMs7Ib1mjx64B9ei73PLq4rtu ITbMWiSVRMhP1Fgf9Ybc0SVNSbFkz53g8XzDglE8w+66o1cZCsQNnwQkvRg9dkISyqJSts svm35YyLci/qI7sTqZZNGUhRZ/FoJRz7JaBJ4vtOfI7di5iGL22c5p9GpGTznA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634746161; a=rsa-sha256; cv=none; b=LzqRpSDNhWIyutmSWSWEWa7usrKNOLUJYtFo+gIbApLnGwCPY5VOKBTBgek0RqJh1uNKQo S61escnIW406u1i0rbnjLm6B3ErAedzr4PRa29qMilN6Zq8+W1xnJOfgl6OrOfptNjU/D/ YJzH1sFNfS1vpVmg9/b43t7ASeHViCLDWh3hsZK0Fc9l+zZpPEkWy4cEH+/i5ZSLhmZ6xo Tqxv9Yd12OVD2AzY5ITNIq8T04zGgNwUph025i9FPoKnVYfVPJA+4hSRq/e6V9jxxynR01 aSvV003KpKVPre2PkfM+UqfqKVKcuqCUwOxTo2aPlrE/V/R2Z7FStGEdnincvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HE3AV+KS; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HE3AV+KS; dmarc=pass (policy=none) header.from=gmail.com; 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: 5320FA03E X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: coJcLD2P9SZ1 --Apple-Mail=_DEACDE1C-B566-4D38-A78F-2CFABCA470A9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Oct 20, 2021, at 1:36 AM, Gerardo Moro = wrote: >=20 > I am having the same problem as reported here: = https://emacs.stackexchange.com/questions/66593/how-to-open-a-link-to-a-fo= lder-file-in-finder-not-dired = =20 >=20 > I copy paste: >=20 > I used to be able to create links with open-insert-link pointing to = folders or files. When I clicked on them, I would be redirected to = Finder. Lately, they are shown within Dired. How to control this = behaviour? When I use either [[file:/users/Shared]] or = [[file+emacs:/users/Shared]], and click on them, I get the dired buffer, = not the Finder app.=20 >=20 > Thanks! > G.M. According to the help for org-open-at-point it should work if you give a = double prefix argument. I tried C-u C-u C-c C-o and it opened a link in = finder. I normally prefer dired, but when I need finder, I use Keyboard Maestro = to associate H-f to bring the finder to focus in a manner specific to = the current application. So when emacs is the current application, = Keyboard Maestro will send the following keystrokes to emacs to open = finder in the directory associated with the current buffer: M-! open = . For the case where other applications other than emacs are the current = application, I can configure the macro to bring up finder using the = various application specific menu options to show file in finder. If = there are no specific configurations for the application, then it just = switches to finder. Mark= --Apple-Mail=_DEACDE1C-B566-4D38-A78F-2CFABCA470A9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Oct 20, 2021, at 1:36 AM, Gerardo Moro <gerardomoro37@gmail.com> wrote:

I am having the same problem as reported here: https://emacs.stackexchange.com/questions/66593/how-to-open-a-l= ink-to-a-folder-file-in-finder-not-dired 

I copy paste:

I used to be able to create links with open-insert-link pointing to folders or files. When I clicked on them, I = would be redirected to Finder. Lately, they are shown = within Dired. How to control this behaviour? When I use either [[file:/users/Shared]] or = [[file+emacs:/users/Shared]], and click on them, I get the dired buffer, = not the Finder app. 

Thanks!
G.M.

According to the = help for org-open-at-point it should work if you give a double prefix = argument. I tried C-u C-u C-c = C-o and it opened a link in finder.

I normally prefer dired, but when I = need finder, I use Keyboard Maestro to associate H-f to bring the finder = to focus in a manner specific to the current application. So when emacs = is the current application, Keyboard Maestro will send the following = keystrokes to emacs to open finder in the directory associated with the = current buffer:    M-! open = .

For the case where other = applications other than emacs are the current application, I can = configure the macro to bring up finder using the various application = specific menu options to show file in finder. If there are no specific = configurations for the application, then it just switches to = finder.

Mark
= --Apple-Mail=_DEACDE1C-B566-4D38-A78F-2CFABCA470A9--