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 IemuE2BZcGGP/gAAgWs5BA (envelope-from ) for ; Wed, 20 Oct 2021 20:01:04 +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 6CTfDmBZcGFiagAAbx9fmQ (envelope-from ) for ; Wed, 20 Oct 2021 18:01:04 +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 55D23C339 for ; Wed, 20 Oct 2021 20:01:03 +0200 (CEST) Received: from localhost ([::1]:49746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdFte-0001Oa-7B for larch@yhetil.org; Wed, 20 Oct 2021 14:01:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdFrN-0000G3-HT for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 13:58:41 -0400 Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]:37481) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdFrL-0004xG-IN for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 13:58:41 -0400 Received: by mail-il1-x129.google.com with SMTP id x1so23039426ilv.4 for ; Wed, 20 Oct 2021 10:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bQmqZzt00KCmqDiiM/qkCfz5vg1oDZN3VK9R1kT38TE=; b=j9yzsAjkM0ykLz8e5E1a4v9nEA0Iu5/YrT50GAS3Juiqgc4TDYHSasQktl5fGZuMBW Yce2n7JbydCRfB7AXD+XyJ6xK7kVpmk599R13VMLtOSnMOkwbHyOsrsCMOc55t43dNkc wH/lJhLYj+FNg9a1w9snKC0s1ADWHY0RKxaJpwYByxGgY2yF5zA035d7Wbi8xo86z0GO Xjd9X7sus9lMBgrKZuet9U/7E/HNfuFQNusr3jw/g3NYp3f/++KHXVvDCFnpF2pkzJC4 x0GAeG9kSLsfxrDd51/qZyoe1CGfU5eUscSPXi8to4ehDIIFq7twHd00CONUM0ReJ6L1 6F7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bQmqZzt00KCmqDiiM/qkCfz5vg1oDZN3VK9R1kT38TE=; b=bgM8mixShSZ1DonLtnRNNzEJJSEwA1h5qyDp2YtfQKaQek16V2oBgkCNcqm5eSD5yU PUdsCFWzV5UJZ8bJufaO4hwb5PjBrS8ilcERwiHvoacQ95lZ+tZBIz3Yc+sSSVU77EJD hDPL96SgM92/KzK35iTQo5NJFzQZ8oZJTZEu85f2/xY7SS6+/IW56RKmYsvzowBirlW1 Ip3jH37dwgo5LZQOzmox+iZ5R9IIlf7WF9/dGZWkjbnTZjKDRxU1Q8fZx9uP4Llmk4B3 YWOoUQ/hyLun9y745tPxS2ORg7N7HG0HIwvvb6zaRIFQbzeU4vCAyZ3luVZHvcN+0hcE 6mHQ== X-Gm-Message-State: AOAM533PT8jD3w9CIIRZ5Kct4BKl23DrQyJnQB/8c0CDvVgqLhRRmn98 cxbVDvipgJ/sy7AelbBQitYDP4jM3kW13/ik+yM= X-Google-Smtp-Source: ABdhPJzjVK7MdQdVhvHmN2IgblpTyoeWjfYglKZA642bHg30Abn3IAux/vBhy024U9+WkBaXt3RAewYk1hDN6VhKf2Y= X-Received: by 2002:a05:6e02:d86:: with SMTP id i6mr385126ilj.272.1634752716145; Wed, 20 Oct 2021 10:58:36 -0700 (PDT) MIME-Version: 1.0 References: <9BD84FB3-4BC5-4A9F-A33C-C2F5C0AA3358@gmail.com> In-Reply-To: <9BD84FB3-4BC5-4A9F-A33C-C2F5C0AA3358@gmail.com> From: Gerardo Moro Date: Wed, 20 Oct 2021 20:58:25 +0300 Message-ID: Subject: Re: How to open a link to a folder/file in Finder, not Dired To: Mark Barton Content-Type: multipart/alternative; boundary="000000000000f1091705cecc8621" Received-SPF: pass client-ip=2607:f8b0:4864:20::129; envelope-from=gerardomoro37@gmail.com; helo=mail-il1-x129.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=1634752864; 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=bQmqZzt00KCmqDiiM/qkCfz5vg1oDZN3VK9R1kT38TE=; b=ny0qDCSNXUYZ/hlNLiFpXLvSETbUSTdjpB8fbA9UJHMcmUjwYY775VfFetlPYXUeOLBYCy OKAY8eRL8+bdGLp37rNwGfC8JqgWszaCEu3Gc+LyiYRqxgUtSneJuxkX8WVQvoQrivaS8D 2wLQWmMaH7Yh/P0op8++Lz4+BcKLhmQBoqx/jkBn6mnvCZyJfBt99XcoCF5oJisGKAzgx6 nZh8aAv2UMzavK9FhnlNomGTcRmiI5vuFpx3Ilte62ZXZUuccmYjfg5w+MMCHmaCz0OMwA 608lnlFrLaMe6AMJFov04qMWTlIvWg5nUEovT8OAldKeBIOwpeWuoU2fAoLqCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634752864; a=rsa-sha256; cv=none; b=IyTaCRm7xbOlgzxSdQr3J1cdmaTbhxF5AfYz2YFQGvNfnfx0/WhgQO3ImCKxi5pMyH+SRz xOwe8XeBgEhKDay6cXrQrS7piVAWAQxTEv4Xl+y2Kd3UgTYmztK64gmtq8K5dI535rLnkj PCmX6tX5BA4e7RGLmRzO/gmK/bFve8eIV2s7xsoTM4sKSKzUhm8FWxYnmhDJ90BhNVr+wa Nlm4LaIvSHT9njWD7UeEuaTo7ei67KKukiQtxYOaiXVBdFIXiSMLQEAvvwtdECEsdb4h2L QwycQRrgWWMwpZ9wzI/Vf+9vQ5IubhGSLWY/AA3+R4moMY7kou98ohS2U853VA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=j9yzsAjk; 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.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=j9yzsAjk; 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: 55D23C339 X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: g2zfPcgY+HU4 --000000000000f1091705cecc8621 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It works! Thanks so much! El mi=C3=A9, 20 oct 2021 a las 19:08, Mark Barton () escribi=C3=B3: > > > On Oct 20, 2021, at 1:36 AM, Gerardo Moro wrote= : > > I am having the same problem as reported here: > https://emacs.stackexchange.com/questions/66593/how-to-open-a-link-to-a-f= older-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 t= o > 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 vario= us > 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 > --000000000000f1091705cecc8621 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It works! Thanks so much!=C2=A0

El mi=C3=A9, 20 oct 2021 a = las 19:08, Mark Barton (<mbarton9= 8@gmail.com>) escribi=C3=B3:


=
On Oct 20, 2021, at 1:36 AM, Gerardo Moro &l= t;gerardomoro3= 7@gmail.com> wrote:

I am having the s= ame problem as reported here:=C2=A0https://emacs.stackexchange.com/questions/66593/how-to-o= pen-a-link-to-a-folder-file-in-finder-not-dired=C2=A0

I copy paste:

I used to be able to create links wit= h=C2=A0open-insert-l= ink=C2=A0pointing to folders or files. When I clicked on them, I would = be redirected to Finder. Lately, they are shown within=C2=A0Dired. How to control this beha= viour?=C2=A0When I use either [[file:/user= s/Shared]] or [[file+emacs:/users/Shared]], and click on them, I get the di= red buffer, not the Finder app.=C2=A0

Thanks!
G.M.

According to the help for org-open-at-poi= nt 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 Ke= yboard Maestro to associate H-f to bring the finder to focus in a manner sp= ecific to the current application. So when emacs is the current application= , Keyboard Maestro will send the following keystrokes to emacs to open find= er in the directory associated with the current buffer: =C2=A0 =C2=A0M-! open .

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

Mark
--000000000000f1091705cecc8621--