emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gerardo Moro <gerardomoro37@gmail.com>
To: Mark Barton <mbarton98@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: How to open a link to a folder/file in Finder, not Dired
Date: Wed, 20 Oct 2021 20:58:25 +0300	[thread overview]
Message-ID: <CAF4Fj9iM0Fxv73a9POO3H=-Y4djfKz2Dsr2hL3gggbEO65LaVw@mail.gmail.com> (raw)
In-Reply-To: <9BD84FB3-4BC5-4A9F-A33C-C2F5C0AA3358@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1638 bytes --]

It works! Thanks so much!

El mié, 20 oct 2021 a las 19:08, Mark Barton (<mbarton98@gmail.com>)
escribió:

>
>
> 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-link-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
>

[-- Attachment #2: Type: text/html, Size: 4374 bytes --]

      reply	other threads:[~2021-10-20 18:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-20  8:36 How to open a link to a folder/file in Finder, not Dired Gerardo Moro
2021-10-20 16:08 ` Mark Barton
2021-10-20 17:58   ` Gerardo Moro [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF4Fj9iM0Fxv73a9POO3H=-Y4djfKz2Dsr2hL3gggbEO65LaVw@mail.gmail.com' \
    --to=gerardomoro37@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mbarton98@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).