On Mac OSX, I'm editing a file in an Emacs buffer. I need to conveniently open the directory containing this file in the MAC OSX Finder. What's the best way to do this?
My way wasn't shown in the other thread:
M-! open . RET.
open is a general OS X command which will cause the system to open a file or directory in the default application.
. is the current directory.
I don't do this very often, so I find it faster to type the above incantation than to write a function and map it somewhere.
M-x open-in-finder would take more characters than above.
reveal-in-finderuses the name
finderwithout qualification (in the library name and in the code).
finder.elis a longstanding, standard Emacs library, and its commands, functions and variables use the name
finderto mean something quite different from the "MAC OS X Finder". I wish that the
reveal-in-findermaintainer would consider using a name and name component such as
osx-finder, instead of just